LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

DAQ digital output in sequence

I am trying to add a digital output to my sequence. I have Boolean lights put in place and they are working, but I can not get the DAQ functioning. I have tried local and global references and I can not get it to work. "Valve" will be DO0 and "Solenoid" will be DO1.

 

Dfturner42_0-1697137544630.png

 

0 Kudos
Message 1 of 5
(652 Views)

Wire the True/False value to the DAQmx Write VI

-------------------------------------------------------
Control Lead | Intelline Inc
0 Kudos
Message 2 of 5
(637 Views)

I tried to wire the "write" to a local and global reference with no success. I am struggling to figure out what to wire to the true/false. 

0 Kudos
Message 3 of 5
(613 Views)

Refer to the shipping example, Help >> Find Examples... >> Hardware Input and Output >> DAQmx >> Digital Output

And read Learn 10 Functions in NI-DAQmx and Handle 80 Percent of Your Data Acquisition Applications

-------------------------------------------------------
Control Lead | Intelline Inc
0 Kudos
Message 4 of 5
(601 Views)

Hi dfturner,

 

each time you write to a local variable in your sequence you need to write to a DAQmxWrite function!

 

You have been told to implement a simple statemachine, but until now you refused to do so.

Once you implement a statemachine your task would become much more simple - but it's your decision to stick with sequences…

Best regards,
GerdW


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