Digital I/O

cancel
Showing results for 
Search instead for 
Did you mean: 

How do I perform 16-bit I/O (handshake and non-handshake) using DIO-24

I am using Microsoft Visual C++ and want to output a 16-bit word.
0 Kudos
Message 1 of 3
(3,426 Views)
Hello;

The best way to get stated is by using the NI-DAQ shipping examples for Visual C++.
If you go to C:\Program Files\National Instruments\NI-DAQ\examples\VisualC\DI; you can find some usefull examples that you can use as start points for your development. The one that you might want to look at is the one named "DIsingleBufHandshke8255.*".

Hope this helps.
Filipe A.
Applications Engineer
National Instruments
0 Kudos
Message 2 of 3
(3,426 Views)
I found out from a National Instruments applications engineer that the DIO-24 does not support grouping. Also, in Labview the PortConfig vi does not actually group multiple ports. It simply makes the PortWrite vi perform writes to each port in succession.

Paul Phillips
Linear Technology Corporation
Message 3 of 3
(3,426 Views)