LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Change header information when saving sNp files from Agilent PNAs

I would like to add additional information to the header files of the sNp files.  An extra line or two to add specific testing information would be ideal.  Is this possible?  Currently I'm using the built in CALC:DATA:SNP:PORTS:SAVE command but maybe there is a way to append the document somewhere along the process.  Thanks.

0 Kudos
Message 1 of 6
(2,984 Views)

I think those files are just some txt with some of formatted as tab delimeted data.  You can probably put anything you want to in there.  I think the specification calls for a header.  This is where you would put your custom stuff.  Check out this SnP link.

Bill
CLD
(Mid-Level minion.)
My support system ensures that I don't look totally incompetent.
Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.
Humble author of the CLAD Nugget.
0 Kudos
Message 2 of 6
(2,965 Views)

I know that I'm going to need to put the information into a header.  What I'm looking for is a way to insert the information there.  Since I'm controlling the PNA via GPIB, I'm simply using the command to save the SnP data (which includes the header) and it stores it on the PNA.  I am looking to find a way to edit the header during this step.  I know that if it were a txt file stored on the controlling PC locally, I could use some append file commands to do this but I do not think these capabilities are available over GPIB.

0 Kudos
Message 3 of 6
(2,953 Views)
You'll have to look in the driver, the manual, or Agilent' s forum for a command to transfer the file. It could possibly be transferred straight to the LabVIEW program and you would not have to save to a local file. You haven't mentioned the model number of the pna and that would help. You really have an instrument problem and not LabVIEW related.
0 Kudos
Message 4 of 6
(2,947 Views)

My only thought on how to do this up until now was to use the MMEM:TRAN functions to move the file from the PNA to the local PC and edit it there then transfer back -- but was hoping to avoid the extra time in computation it would take to do that.  I'm operating on a N5230C.

 

Thanks for the suggestions though.

0 Kudos
Message 5 of 6
(2,937 Views)

Isn't that PNA just a Windows PC with network analyzer cards installed?  Maybe you could share the drive and access the file directly through a network connection?

Bill
CLD
(Mid-Level minion.)
My support system ensures that I don't look totally incompetent.
Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.
Humble author of the CLAD Nugget.
0 Kudos
Message 6 of 6
(2,930 Views)