EDIT: The script and template file have been moved to /opt/rtcds/caltech/c1/scripts/general/netgpibdata/
The NEW and IMPROVED script for remotely getting data from Agilent 4395A network analyzer is located at /users/nichin
This script is quite different from the one in Elog 10108 and fetches us both magnitude and phase. There is an added feature of setting the IF Bandwidth.
The network analyzer is located at crocetta.martian (192.168.113.108)
> python NWAG4395A_data_acq.py [filename.yml]
I connected a simple 2MHz Low pass filter between the modulation output and signal input of the NA and ran a scan from 100KHz to 20MHz. The script was run from Ottavia.
The expected plot was obtained and is attached here.
Setting up the RF switch in rack 1Y1 to select between required PDs and scripts to tell it which channel to choose over the Ethernet.