NI-SCOPE LabVIEW VIs

Content Type
Programming Language
Current manual
Table of Contents

Channel String Syntax

Channel String Syntax

For most VIs, the input parameter channels has 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, " "
  • a combination of channels from multiple instruments, such as "PXI1Slot3/0,PXI1Slot3/2-3,PXI1Slot4/2-3"
Notes  
  • If you are using a version of NI-SCOPE prior to 3.5, the input parameter channels may be named channel, channel name, or channelList.
  • 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 functions, the data for each channel is returned in the order the channels occur in the list.

Exceptions for Fetch/Read VIs

If you use an empty string in a fetch or read VI to designate all channels, NI-SCOPE returns an error.

Was this information helpful?