12-21-2011 04:07 AM
Hi,
I'm a newbie to labview programming and so as in communicating with any lab instruments using labview.
To help me get started and become familiar with the Labview programming environment, I was asked to study and create an individual program for each of our Lab Instrument.
And one of my task is to create a program for our LCR Meter (E4980A) that can graph impedance vs frequency for a given DUT and will allow the user to set the sweep frequency using text boxes and a button to start/stop the test.I have found an example from NI and have it as my reference in doing the program. But my problem now is how to graph/plot the measured impedance & frequency . Kindly see the attached VI.
Thank you.
Geng
12-21-2011 08:32 AM
Your question is more of a LabVIEW programming question rather a question about instrument control, so you'd probably get bettter visibility by posting in the LabVIEW forum. But, since we're here... In order to graph something vs something you need an XY graph. Right now you have a waveform graph and are only graphing your (presumably) frequency points. With a waveform graph this will simply graph frequency vs point#, and thus will simply show your frequency values. There's an example that ships with LabVIEW showing you the various types of graphs and how to build data for them.
A few tips regarding the code: