Add counter input channel
addCounterInputChannel(s,deviceID,channelID)
ch = addCounterInputChannel(s,deviceID,channelID,measurementType)
[ch,idx]
= addCounterInputChannel(s,deviceID,channelID,measurementType)
The properties of the channel object are:
ActiveEdge | Rising or falling edges of EdgeCount signals |
ActivePulse | Active pulse measurement of PulseWidth counter channel |
CountDirection | Specify direction of counter channel |
Device | Channel device information |
EncoderType | Encoding type of counter channel |
ID | ID of channel in session |
InitialCount | Specify initial count point |
MeasurementType | Channel measurement type |
Name | Specify descriptive name for the channel |
Terminal | PFI terminal of counter subsystem |
ZResetCondition | Reset condition for Z-indexing |
ZResetEnable | Enable reset for Z-indexing |
ZResetValue | Reset value for Z-indexing |
addCounterOutputChannel
| inputSingleScan
| removeChannel
| resetCounters
| startBackground
| startForeground