10-07-2008 03:35 AM
Hello,
Trying to control R3131A spectrum analyzer connected through GPIB-USB-B and my laptop using Labview8.5.
I want to read frequency(Hz) from R3131A,and i want to send my measurments to an exel file ...
I have install the labview 8.5,the Measurment and Automation for finding my instrument and i have download the Advantest R3131A Drivers-libraries from that page .... http://sine.ni.com/apps/utf8/niid_web_display.model_page?p_model_id=82 and then i install it in Instrument I/O>Instrument Drivers palette. I have read the examples code who coming with the drivers but i don't know which example can help me... If someone knows something,or have an example code who doing that or other help,please send a message.. thanks!..
10-07-2008 06:47 AM
The typical way to make a measurement on any instrument is as follows:
1. setup the instrument for the measurement.
2. carry out the measurement.
3. store result in a file
1. In this case, you want to setup the instrument to carry out a frequency measurement. Although I am not familiar with the Advantest SA, I'm sure it should be similar to the Agilent or Rohde & Schwarz SA. So you first need to set the span wide enough to find the Center Frequency that you want to measure. Then place a peak marker and set the center to the peak value. You then narrow the span in order to improve your measurement. Most likely adjust your resolution (BW) and place a peak marker. You have now setup the instrument for the measurement. The example should contain what you need to accomplish this. Otherwise the user manual should give you the instructions on how to create the commands.
2. You can read the values associated with the marker which will give you the frequency and amplitude. There should be seperate instructions for these. So you can read the frequency by itself. There should be an example of this as it is a very basic measurement.
3. Storing the results... to Excel.. -sigh- Most people refer to Excel, but end up needing to use a different function. In any case, are you writing to an existing Excel Spreadsheet which already has information in it? If not, you can use the "Write to Spreadsheet File.vi".
R