Academic Hardware Products (myDAQ, myRIO)

cancel
Showing results for 
Search instead for 
Did you mean: 

I need to output a sample array of boolean values on a single digital line on 6008

Hi
 
I need to output a sample array of boolean values onto one of the port lines on USB 6008.
 
Can someone suggest how i could do this?
 
Thank you
 
Regards
 
Sandy 
0 Kudos
Message 1 of 2
(6,439 Views)

Hi Sandy,

Welcome to the forums! I am assuming that you are programming in LabVIEW. As such, in LabVIEW, there are a number of great examples programs already available. I would suggest looking at the example Write Dig Port.vi, which supports the USB-6008 and seems to meet your desired functionality. The can also be easily modified to address any concerns or specific requirements your future application has.

You can find this example by navigating to the Help Menu>> Find Examples>> expanding the Hardware Input and Output folder>>expanding the DAQmx folder>> expanding the Digital Generation Folder>> and then looking in the Voltage file. When you click on an example VI, a brief description will appear in the Information box to the right of the Example Finder.

Hope this helps, Mallori M.

Mallori M
National Instruments
Sr Group Manager, Education Services

ni.com/training
0 Kudos
Message 2 of 2
(6,421 Views)