These functions read out information from an info field of a data file, a signal or a module available as a text channel.
Arguments
|
'Index' |
Index of the data file, the signal or module |
|
'InfoField' |
Info field to read; put in quotation marks. |
|
'Begin' |
Optional: First character of the field content to be read. If you do not specify a value, the entire content is read. |
|
'End' |
Optional: Last character of the field content to be read. If you do not specify a value, the content is read from 'Begin' to the last character. |
InfoFieldText
InfoFieldText('FileIndex',"'InfoField'",'Begin'=0,'End'=Text end)
Description
This function returns the content of an info field as a text signal.
Tip |
|
|---|---|
|
If you double-click on the desired info field, ibaAnalyzer automatically inserts the corresponding function as new signal into the signal table. If required, you then only have to customize the signal name and beginning or end. If you want to read out the content of an info field as numerical value, use the InfoField function. |
|
ChannelInfoFieldText
ChannelInfoFieldText('ChannelIndex',"'InfoField'",'Begin'=0,'End'=Text end)
Description
This function returns the content of an info field of a signal as text.
ModuleInfoFieldText
ModuleInfoFieldText('FileIndex','ModuleIndex',"'InfoField'",'Begin'=0,'End'=Text end)
Note |
|
|---|---|
|
You have to specify 2 indices for this function: The index of the data file as the first argument and the index of the module as the second. All other arguments remain the same. |
|
Arguments
|
'FileIndex' |
Index of the data file to which the module belongs |
|
'ModuleIndex' |
The index of the module |
|
'InfoField' |
Info field to read from the module; put in quotation marks. |
|
'Begin' |
Optional: First character of the field content to be read. If you do not specify a value, the entire content is read. |
|
'End' |
Optional: Last character of the field content to be read. If you do not specify a value, the content is read from 'Begin' to the last character. |
Description
This function works as the InfoFieldText and ChannelInfoFieldText functions, however, it refers to the info fields of a module and not the data file or signal. The function returns a text signal with the content of the specified info field.