These functions read out information from an info field of a data file, a signal or a module.
Note |
|
|---|---|
|
The functions InfoField, ChannelInfoField and ModuleInfoField expect a numerical value. To read out text, use the functions InfoFieldText, ChannelInfoFieldText and ModuleInfoFieldText. See InfoFieldText, ChannelInfoFieldText and ModuleInfoFieldText. |
|
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. |
InfoField
InfoField('FileIndex',"'InfoField'",'Begin'=0,'End'=Text end)
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. This method also works in the input box of the Expression builder. The function will then be inserted at the cursor position. |
|
ChannelInfoField
ChannelInfoField('ChannelIndex',"'InfoField'",'Begin'=0,'End'=Text end)
ModuleInfoField
ModuleInfoField('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. |
|