Advanced Function
Set Channel to Be Used/Unused [AioSetAiChannel_i.vi]

 

For Z series, set the analog input channels for conversion

Please execute before starting sampling

 


Layout of IN/OUT terminal

 


IN terminal

AiChannel

Initial value: 0 : 0

[Essential]
  Specify the channels to be used with an array with 2-element

Element 1: Channel No. (Ch)

  Specify the channel No.

Element 2: Use/Not use (0 or 1)

  Specify whether to use/not use the channel

0: Not use
1: Use

e.g.) Use Ch1 and Ch3
  Element 1: 1, 3
  Element 2: 1, 1

*This setting can only be used for Z series (AI-1204Z-PE, AI-1204Z-PCI)

*For Z series, the channel to be used can be set by this VI or terminal [AiChannelNum] in [Setting Channel].
  By this VI, you can set the particular channels which is not continuous from 0Ch

*If the channels to be used were set by this VI, the value of AiChannelNum which is set in VI [Setting Channel] is ignored

*For Z series, sampling for multiple channels are performed at the same time,
  So, AioSetAiChannelSequence_i.vi is not supported to set the conversion sequence