04-05-2010 04:59 AM
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?
04-05-2010 05:11 AM