I create a while loop. Within the loop, I have a list box and a event structure. Inside the event structure, I have put code to control a DC source.
I config the event structure to detect changes in list box.
When I run the program, it is always passing previous selection to the event.structure.
E.g. My list box has Voltage, Current. When select Current, the Voltage is always passed. When select Voltage, the current is passed.
Am I doing the right thing?
Can u please recommend me the right way to pass current parameter from List box to event structure.
You may also recommend a completely different solution too :-)