When executed, in the initial state, you can check the status of bit 0 (the first input terminal) by ON/OFF of the LED.
Please press [Stop] button to terminate operation.
You can use this sample VI to check the operation of the digital input.
In addition to digital devices, it can also be used with analog devices
and counter devices. Please refer to the following.
To perform digital input/output
with an analog device, select [AIO device] with the [Channel setting]
selector.
Also note that the device name (DeviceName) is [AIOxxx] instead of [DIOxxx].
To perform general-purpose
digital input/output of the counter device, select [CNT device] or [CNT
bus master device] with the selector of [Channel setting].
Also note that the device name (DeviceName) will be [CNTxxx] in this case
too.
In the case of a counter device, the channel number is specified in DiBit.