ModuleSignalCount('ModuleNo*', 'SignalType*=0', 'Direction*=0')
Arguments
|
'SignalType*' |
Signal type |
|
|
'SignalType' = 0 |
Analog and digital signals |
|
|
'SignalType' = 1 |
Analog signals only |
|
|
'SignalType' = 2 |
Digital signals only |
|
|
'Direction*' |
Input or output direction or both |
|
|
'Direction'= 0 |
Inputs and Outputs |
|
|
'Direction'= 1 |
Inputs only |
|
|
'Direction'=2 |
Outputs only |
|
Parameters ending with * are only evaluated once at the start of the acquisition.
Description
This function returns the number of active signals in a module with module number 'ModuleNo'. With the parameter 'SignalType' you can determine, which signal types are to be considered. Signals, which are configured in the module but not checked as Active, are not taken into account.