LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

daqmx assistant

hi,

 

I have written a simple vi to perform user selectable number of cycles, which will switch on/off a solenoid. I want to be able to read the status of the digital output continuously (i am using USB-6221 hardware) The second true constant to the output vi is inverted in the output vi. See attached image  -the problem I have at the moment is that I am always writing a true constant to the output vi and solenoid indicators (this works for on/off control as the signal is invertedin the 2nd case, but not for indication). I would rather have the one indicator switching on and off as per the digital output channel . I don't want to use the control signals as inidication, I want to use the output from the channel itself. Does this mean I have to wire the output physically to a digital input on the USB-6221 device?

0 Kudos
Message 1 of 2
(2,185 Views)
Then you have to take the output from the digital line and convert it to boolean input to your soenoid vis. What is the output that you are getting?
0 Kudos
Message 2 of 2
(2,180 Views)