LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

I appreciate your help with this problem on LaBVIEW and a NI USD 6009 DAQ card.

Greetings friends, I am trying to design a basic circuit in LabVIEW with the DAQ Assistant in which I can make an LED blink quickly and then slowly, this attached circuit is the one I have so far, it should be noted that I use the P0.0 and GND terminals in my breadboard connection to the NI USB 6009 card (with the use of a LED, resistor and two wires).imge.png

Download All
0 Kudos
Message 1 of 2
(614 Views)

Hi Gustavo,

 


gustavoepn87@gmail.com wrote:

I am trying to design a basic circuit in LabVIEW with the DAQ Assistant in which I can make an LED blink quickly and then slowly, this attached circuit is the one I have so far, it should be noted that I use the P0.0 and GND terminals in my breadboard connection to the NI USB 6009 card (with the use of a LED, resistor and two wires).


It should be noted:

- your DAQAssistent is configured to use ao0, but not P0.0!

- your DAQAssistent is configured as Voltage signal output, but you connect a boolean wire to its input !?

 

I see some improvements:

- connect your LED to ao0 and output either 0V or 5V. (I hope it's a lowpower LED requiring just 2mA…)

- connect yourLED to do0 and output either TRUE or FALSE. Still I would prefer lowpower LEDs…

- use plain DAQmx functions as explained in all those DAQmx example VIs and here! (You really should get rid of DAQAssistent sooner than later!)

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 2
(590 Views)