09-13-2012 09:15 AM
Hi, I am new to labview and DAQ. I wish to understand how do I test my DAQ 6008 to have a digital output? I wanted to test one of the digital output with a 5V led connect to a 1k resistor and to ground. Do I use the DAQ assist found in signal express? How do I configure it? For example, I choose a GND and p0.0
The main idea of this is because I got project which need me to have a digital output of binary code and a ground. I must use labview together with the control panel to give command and hence transfer this set of commands to DAQ digital output.
09-13-2012 09:46 AM
The DAQ Assistant is a good place to start. But once you get into the flow of things, look up some examples through the LabVIEW Example Finder (Help->Find Examples...) and do a search for digital output.
09-14-2012 11:21 AM
Hi, i did try to do as you told, but still i could not found good example with usb6008.
09-14-2012 11:30 AM
Define 'Good'. The Write Dig Chan and Write Dig Port are simple and work fine with your device. You also have the test panel in MAX to do some testing with. The DAQ Assistant is also simple to use for such a basic task.
09-14-2012 12:41 PM
09-15-2012 09:35 PM - edited 09-15-2012 09:51 PM
skip the leds all together, do a write/read to the daq itself and all you need is some wires...goto the ni find example>>daqmx>>digital generation>>write digital channel.vi (assign it port0)and then goto>>digital measurements>>read dig chan.vi, but assign it to a different port (port1). put both write and read in the same while loop...NOW YOU HAVE "VIRTUAL LEDS"!
HAVE SOME FUN NOW!!
09-15-2012 10:09 PM - edited 09-15-2012 10:28 PM
and if you dont like that...connect your daq dig output to a ULN2003 low side driver and its output to the cathode side of the led in line with your series resistor and an external power supply. USB 6009 can only drive 8.5 mah per line and use the write dig channel .vi and change the bools to data input.....