Quantcast
Channel: Instrument Control (GPIB, Serial, VISA, IVI) topics
Viewing all articles
Browse latest Browse all 5565

List box to pass test parameter to Instrument

$
0
0

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 :-)


Viewing all articles
Browse latest Browse all 5565

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>