03-13-2017 02:28 PM
Hello all
NI USB 8452- I need to control multiple dio ports to actuate solenoids. I used the example vi and instead of having only one port configuration at the line direction map property node i made a case structure with selector as boolean to switch between the ports. My problem is the digital signal does not switch using the boolean. If i run the vi with boolean at true the signal goes to the port associated with the true case structure and when the boolean switches to false it still actuates the port associated with true signal. Its vice versa when i start the vi with false statement of the boolean.
Attaching my vi for reference. Thank you in advance
Solved! Go to Solution.
03-13-2017 02:47 PM - edited 03-13-2017 02:47 PM
Data flow. The case structure is complete before the loop and then the tunnel is basically a constant at that point. You should just configure both and move the button into the loop.

03-14-2017 01:47 AM
Thank you. I understood the mistake. The vi works now.