LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

outputting value from a combo box to a waveform

Hi the problem I'm having is from the combo box on my code I choose which current I want, but now I want this current value that I choose to be plotted in the XY graph in the while loop inside the case structure. How would I do this?

0 Kudos
Message 1 of 2
(1,910 Views)

Hi priyadamico,

 

You can use a case structure to select the value you want to supply to the Y input on the graph. Wire in the Current Combo Box, and make a case for each command you are sending to the instrument ("I/E 0", etc).

 

Please refer to the image attached.

 

Trevor B.
PSE
National Instruments
0 Kudos
Message 2 of 2
(1,855 Views)