05-31-2011 12:23 PM
Hello
I realize a monitoring interface with the Labview software.
In some stage, I do this:
Microcontroller's I send two variables for each LED.
- A variable to turn off the LED
- A variable to turn on the LED
Problem
When I send a variable to turn on LED_1, for example, it works. But when I send another variable to turn on LED_2 the LED_1 off.
Thank you for your help.
05-31-2011 12:32 PM
which is LED_1 and LED_2 in the image here ?, if possible attach the code in 8.6 and in english caption pls.
05-31-2011 12:51 PM
I think your fundamental problem is not understanding dataflow. The string you are writing is based on a comparison that occurs before the loop executes. The loop receives the outcome of that comparison, but with each loop iteration, it does not matter what you change the string to on the front panel - the VISA Write will always write the same string. If you want to change what gets sent then you need to put the string control and the corresponding comparison inside the loop.
05-31-2011 02:04 PM