LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to control a digital output signal using the DAQ assistant?

I am using a USB 6251 DAQ board and would like to control a switch. I am gathering airflow, pressure, and acoustic data on the same board (analog input) and would like the switch to trigger when the airflow value is within a pre-determined range. Finally, I would like to reverse the polarity of the switch (to off) about a second after the initial digital signal, all of which is during continuous data acquisition.

 

I am able to actuate the switch only when pressing the "run" button in the DAQ assistant window. I am proficient with data acquisition but have never tried programming an output... Please help!

 

Thanks!

-a troubled researcher

 

P.S. I am running LabVIEW 8.5 as well.

 

0 Kudos
Message 1 of 2
(3,294 Views)

blsmith4,

 

You probably won't get the control of the digital port on your card by only using the DAQ Assistant. One of the following examples should provide you the functionality that you would like out of the box:

 

Digital - SW - Timed Output (Simple)

Digital - Continuous Output (More Complex)

Continuous Write Digital Port - External Clock - Non Regeneration (Most Complex)

 

Let me know if these work better for you.

 

Best,

Jason M.
Applications Engineer
National Instruments
0 Kudos
Message 2 of 2
(3,264 Views)