LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how to plot waveform using gpib read data

How do I plot a waveform using a gpib read data.
the instrument i am using is a Keithley 6517A .
I am able to read the measured voltage but unable to plot it..
0 Kudos
Message 1 of 3
(2,749 Views)
Are you using a driver in which the measurement is being returned as a number or are you doing a VISA/GPIB read in which case the data is being returned as a string? You can't plot a string. You would have to convert to a number. You would also want to use a chart to plot data as it's acquired. Use a grpah to plot an array of acquisitions.
0 Kudos
Message 2 of 3
(2,749 Views)
You will need to use the string functions (String Subset, Search and Replace String, etc.) to parse the string you receive from the gpib read. After you have parsed the data properly you can use the Scan From String Function or the functions on the .. String >> String/Number Conversion pallette.
0 Kudos
Message 3 of 3
(2,749 Views)