10-12-2023 02:05 PM
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.
10-12-2023 03:16 PM
Wire the True/False value to the DAQmx Write VI
10-12-2023 03:53 PM
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.
10-12-2023 05:55 PM
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
10-13-2023 02:01 AM
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…