40m QIL Cryo_Lab CTN SUS_Lab TCS_Lab OMC_Lab CRIME_Lab FEA ENG_Labs OptContFac Mariner WBEEShop
  40m Log  Not logged in ELOG logo
Entry  Fri Jun 27 18:07:38 2014, Nichin, Update, Computer Scripts / Programs, Updated script for acquiring data from Agilent 4395A network analyzer 
    Reply  Mon Jun 30 00:18:15 2014, Nichin, Update, Computer Scripts / Programs, Updated script for acquiring data from Agilent 4395A network analyzer 
Message ID: 10108     Entry time: Fri Jun 27 18:07:38 2014     Reply to this: 10111
Author: Nichin 
Type: Update 
Category: Computer Scripts / Programs 
Subject: Updated script for acquiring data from Agilent 4395A network analyzer 

The updated script for remotely getting data from Agilent 4395A network analyzer is located at /users/nichin

This network analyzer device is located at crocetta.martian (192.168.113.108)

How to run the script:

> python NWAG4395A_modified.py [filename.yml]

  1. The script accepts sweep parameters and output options via a .yml file that is written following a template that can be found at /users/nichin/NWAG4395template.yml
  2. The data obtained is stored as a .dat file and the corresponding details regarding the acquired data is in a .par parameter file
  3. You can choose to get a plot of the data obtained by specifying it in the .yml file. The plots are automatically stored as PDF.
  4. Plots, data and parameter files are all stored in a new folder that is created with a timestamp in its name.
  5. NOTE: Plotting options are only available in computers running numpy versions of 1.6.0 or above. The plotting sections of the code worked on Chiara, which has a 1.6.1 numpy, but did not work on Rossa which only had 1.3.0 numpy. Anyway, I have added an extra function that checks the version and skips the plotting part if needed.

Test Run:

I connected a simple 2MHz Low pass filter between the modulation output and signal input of the NA and ran a scan from 0Hz to 20MHz. The script was run from Chiara.

The expected plot was obtained and is attached here.

Further work:

I now have to work on setting up the RF switch in rack 1Y1 to select between required PDs and also on the code that chooses which channel is being selected.

There is also a problem of 2 8x1 RF switches being present, instead of one 16x1. Alex's code for RF switching does not take this into account.

RXA: I've deleted your plot because it didn't meet the minimal Bode plot standards. Please look up "Bode Plot" using Google/Wikipedia and try to follow some good example. Bode plot should contain Phase as well as magnitude. Also, the axes must be labeled with some physical units.

ELOG V3.1.3-