I found the "write to data chan.VI" which seems to work fairly well in switching the digital outputs on(high) and off(low) . The problem that I am having right now is that I want to switch three digital outputs on and off according to a specific input voltage. Example:
Input Voltage: 4-5 V, Digital Out 1: On (5V), Digital Out 1: Off (0V) , Digital Out 1: Off (0V)
Input Voltage: 2-4 V, Digital Out 1: On (5V), Digital Out 1: On (5V) , Digital Out 1: Off (0V)
Input Voltage: 0-2V, Digital Out 1: On (5V), Digital Out 1: On (5V) , Digital Out 1: On (5V)
I was thinking of using a case structure to conditional disable parts of the VI but I have not been successful.
In the attached VI i am trying to switch the outputs on and off using a boolean switch placed in the frontpanel. Sadly it doesn't work as i hoped it would work.I would greatly appreciate itIf anybody could help. Thanks !