Read
⑬ Analog Input Multiple Ch (Binary Value) [read_ai_Nch.vi]

 

Select when analog input from multiple channels for one time and get the binary value

 

 


Layout of IN/OUT terminal

 


IN terminal

AiChannelNum

Initial value: 1

[Essential]
Specify the number of channels to perform analog input

The channel is specified from Ch 0 with consecutive number of channels
For example, if 2 is specified, the setting will be Ch 0, Ch 1

 

Mode

Initial value: 0

Normally not connected or specified as 0
The following settings are available only for wireless I/O devices

0: Refers to the input data of the slave stored in the Gatway
1: Directly access the Terminal and refer to the input data
2: Refer to the input data of the Terminal stored in the Gatway and the elapsed time (ElapsedTime)

 

OUT terminal

AiData

Acquires analog input data into array wiAcquires analog input data into array with binary value

 

ElapsedTime

Gets the elapsed time (seconds) after data is stored in the Gatway when Mode=2 is set in the wireless I/O device