Channel String Syntax
For most VIs, the input parameters channel, channel name, and channelList have the following options:
- a single channel, such as 0
- a list of channels, such as 0,1 or 3,2,1,0
- a range of channels, such as 0–7 or 0:7
- all channels, which is designated by the empty string
Exceptions for Fetch/Read VIs
If you use an empty string in a fetch or read VI to designate all channels, all of the channels on the device must be enabled. If all channels are not enabled, NI-SCOPE returns an error.
Note The order of channels in a list is important. The attributes are set on the channels in the order they occur in the list. For Fetch and Read VIs, the data for each channel is returned in the order the channels occur in the list. |