Digital I/O

cancel
Showing results for 
Search instead for 
Did you mean: 

How can I use 4 DIO lines as digital input in a E series-SC 2050-ER8 set up ?

I have a DAQ system with an E series DAQ card that is connected to SC-2050 and ER8. I want to use 4 DIO lines (out of 😎 for digital input. How can I do this?
0 Kudos
Message 1 of 3
(3,473 Views)
Hello Suresh,

There are a variety of ways to accomplish this. If you are using LabVIEW, you will use the DIO Port Config VI and the DIO Port Read VI. You will use the line direction map input of the DIO Port Config VI to setup which 4 lines you want to be the input lines. The LabVIEW shipping example entitled 'Dig Multi-line Direction (E) VI' shows how to use the lines of the digital port on an E-Series device for input and output.

If you are using NI-DAQ function calls, you can use the Dig_Line_Config and Dig_In_Line calls to configure a digital line for input and then read from that line.

I hope this helps.

Regards,

Todd D.
NI Applications Engineer
Message 2 of 3
(3,473 Views)
Hello Todd,

Thank you very much for the answer. I still have one more difficulty-all the 8 DIO lines terminate on the ER8 board and I believe are not accessible for input..? Do I use a second SC-2050 board and a SC-2060 board?

Thanks,

Suresh
0 Kudos
Message 3 of 3
(3,473 Views)