LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

daqmx continuous digital

I would like to control the blinking of some externally wired LEDs driven by my PXI-6229 card by DAQ mx to be sync'd up with the LEDS on my screen. What is the best way to approach this? Can I setup a continuous pulse train to blink all of the LED drivers to be triggered by when the blinking property is set for my LV objects?
0 Kudos
Message 1 of 5
(3,535 Views)
Thank you for posting your query on the National Instruments discussion forum.

In exercise 9-7 of the LabVIEW Basics 1 course "Digital Example VI" the objective is to control the digital I/O lines on a DAQ device. In this you follows steps to complete a VI that turns on LEDs of port 0 on the DAQ signal Accessory based on the digital value set on the front panel. i.e via LED controls on the front panel.

It may be helpful for me to know what version of LabVIEW you are working with.

If you are using LabVIEW 7.1 you might want to check out the "DAQ Assistant Express VI" that is used in this example and which can be found on the block diagram right click goto: functions > Input palette, to setup data acquisition for instruments that work with DAQ MX driver. This VI makes doing the task that you have outlined quite easy to do. This is because when you put down an express vi {blue background} on the block diagram in Labview 7.1 you will get a popup configuration dialog box that will guide you through easy to follow steps to configure the VI eg select the type of acquisition such as "digital I/O > port output". You can also generate a pulse train of particular frequency, type eg square or sine wave etc using the "Simulate Sig Express VI" alternativly checkout some of the vi's & functions in the All functions > waveform palette of the block diagram.

I hope this helps!

Kind Regards,
Kurt.
0 Kudos
Message 2 of 5
(3,532 Views)
Do not use the blinking property of your panel leds. That will make things quite complicated if you want to know if any led is lighted or not. Instead switch the corresponding boolean state to on or off at the same rate as your actual leds.
Chilly Charly    (aka CC)
0 Kudos
Message 3 of 5
(3,527 Views)

This question is to Charly.

Im giving input to a controller from labview using DAQ and it inturn causes an LED to blink at a frequency decided by the controller. If i am taking back the switching of LED into labview using an digital input module NI9421, how do i configure the DAQ assistant to get its switching rate?

Please explain. Thanks in advance.

0 Kudos
Message 4 of 5
(3,170 Views)

You responded to a question that is 5 years old.  I doubt that Charlie is still around.  Post a new question and state your problem clearly.  Do you want to sync a blinking LED on your screen to a hardware LED?  Don't respond here, post a new question.

 

- tbob

Inventor of the WORM Global
0 Kudos
Message 5 of 5
(3,148 Views)