10-23-2023 11:53 AM
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).
10-23-2023 01:25 PM - edited 10-23-2023 01:26 PM
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!)