I wish to extract .s2p files from my HP 8722A Network Analyzer.
I could not find a driver for it. It is connected to my computer over GPIB.
I am quite new to this, so if anyone could explain the overall process to extract .s2p files from a network Analyzer, that would be much appreciated.
I imagine that one takes a measurement, stores it under a certain filename, then a command retrieves it and sends it to the computer?
Thank you so much,
Solved! Go to Solution.
Instead of extracting the .s2p files, which because of the age of the device (manual I found said 1991), could be very difficult, I think we would be better served communicating with the device directly and not using the files it creates. Instead of the process you described, we could set it to take a measurement, send the measurement to the computer, and have the computer do any manipulation/saving it may need.
This manual discusses the basics of communication over GPIB with that device in chapter 12:
GPIB communication is typically pretty simple. The computer will just send the device in question the command or series of commands then wait for the response back, much like the GPIB examples in labview (Example finder>>Hardware IO>>GPIB).
Unfortunately for us, the Agilent website here:
only has the operating and service manuals, and not the programming reference manual. You may want to contact agilent to get the programming reference manual, as that will list all of the commands you need to send the device.
Thank you for your reply.
The reason I want to get the .s2p files directly is that other people will be processing that data afterwards.
After some research, I managed to find the following programming guide which is compatible with the 8722A:
The commands used in the example programs work (I'm currently looking at p155).
I've gone through every single command in the programming reference
but I couldn't find the one command that will output the s parameters measurement.
I'm quite confused right now.
Do you know how I can output the results of a meaurement I just made?
I plan to send "s11" and then read back the results.
I tried "OUTPFORM" but I get strange, seemingly unrelevant numbers back.
Thank you very much,
Could you take the data on the machine then distribute the files in a more easy to handle format, such as a TDMS or CSV?
As for how to directly retreive the s2p files or how to use specific functions via programming, you may want to contact agilent, as they may know the device better.
I attached the VI created to build an S2P file from extracted data out of an HP8722A Network Analyzer.
Hope this comes handy to somebody one day.