Extracting Data from HP4194A Analyzer with Agilent VEE

HP4194A Impedance/Gain-Phase Analyzer.

VEE Program Overview.

This document describes how to control the Hewlett Packard 4194A Impedance/Gain-Phase
Analyzer with the software Agilent VEE Pro 8.5 running on a PC. IHK has two analyzers in room X1.18.

Download VEE project example: HP4194A_Gain-phase_Analyzer_Data_Extractor.vee.
Download MATLAB import and plot example: HP4194A_import_and_plot.m.

1. Connecting and Controlling Analyzer

  1. Install Agilent IO Libraries from the file »IOLibSuite_15_0_11221.zip«.
    (NB: Older version of the libraries will not work with VEE 8.5).
  2. Install Agilent VEE Pro 8.5 from the file »VEE_PRO_85_eval.zip«.
    (NB: A license for IHK students can be obtained from Lars Maack in room X2.53).
  3. Connect the analyzer with your PC with the USB-GPIB cable permanently connected with the instrument. Your operating system might ask several times to install drivers for the USB-GPIB cable: accept all.
  4. Download and start the VEE example program from the link above.

2. Running the Program and Saving Data

  1. Make your preferred settings of the analyzer and run a sweep using the buttons on the analyzer as usual.
  2. If you want to change the name of the output text file click the »HP4194A_Measurement.txt« button in the »To File« object in VEE and enter a new name.
    If the filename does not exist, the checkbox »Clear File At PreRun & Open« should not be checked. If the file already exists, select the checkbox to overwrite the content for each run - otherwise the data is appended to the existing file content.
  3. When ready to save the data, click the »Start or resume the program (Ctrl+G)« in VEE.
  4. Afterwards the data file can be found where you chose, or if you did not change the filename, the file is saved in the same folder as the VEE project file or sometimes in the default VEE programs folder (usually Documents/VEE_programs).
  5. The data file can now be imported into MATLAB for further analysis. See link to example MATLAB file above.