Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

USB-8451 DIO lines

Hello, I am fairly new to Labview, and the world of digital design. I have been working with examples and reviewing documentation trying to figure out how the USB-8451 device can be used with Labview. I am having difficulty, however, programming the USB-8451 to wirte/read to multiple DIO lines at a time. I attempted to simply copy the NI Example (basic I/O - Write Line.vi) twice in the same VI and run it, but only one line will write. Could someone please direct me to some documentation that may be helpful in this respect, or perhaps explain how to design a VI that can write to multiple DIO lines at a time. Thanks .

Andre
0 Kudos
Message 1 of 4
(4,038 Views)
Hi Andre,

Here is the NI-845x manual for more information about programming and here is the User Guide and Specifications. The USB-8451 has 8 single ended DIO lines. To write to multiple lines you will want to use the NI-845x DIO Write port.vi. This is a function that you can then add code to. The example you are using had the NI-845x DIO Write line which will only write one line.



Regards
Krista S.
Applications Engineering
National Instruments
0 Kudos
Message 2 of 4
(4,020 Views)
Thank you very much for the reply and the advice. I was wondering, however, where I could find the example VI for digital write port. It was once in my example finder (at least I thought it was) but now it is nowhere to be found. Is there a web resource that contains all the example VI's typically found in the example finder. Thanks again.

Andre
0 Kudos
Message 3 of 4
(4,008 Views)
Hi Andre,

I don't think there is one on the web right now but here is one that I have used before.

Regards
Krista S.
Applications Engineering
National Instruments
0 Kudos
Message 4 of 4
(3,983 Views)