LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

parsing a number array from a GPIB voltmeter string

Hello all,

I am a Labview newbie and I am trying to plot values read in from an old Keithley DMM. I have figured out how to use the Instument I/O Assistant to read in the measurement from the voltmeter but the value read in is a string ("abc") of the form "NVDC2.0001" for a voltage measurement of 2.001v. I would like to be able to plot and analyze the voltage reading but I can't fihure out how to parse the string into an array of numbers suitable to be ploted. Any help would be greatly appreciated!

0 Kudos
Message 1 of 3
(2,834 Views)

NVDC2.0001 represents a scalar and not an array. You could use a Scan From String function with NVDC%f as a format string. Wire the output to a chart.

 

Have you looked for a driver for the DMM (Tools>Search for Instument Drivers)? Have you taken the LabVIEW 101 tutorial?

0 Kudos
Message 2 of 3
(2,833 Views)

Thank you for your help Dennis. I have not taken the tutorial but I have been working through the LabVIEW 2009 student edition book. I will go through the tutorial and then try the Scan From String function that you mentioned. Thanks again.

0 Kudos
Message 3 of 3
(2,809 Views)