We want to transfer the saved calibration files from the network analyzer(E5080A) to PC memory in ascii format.
We used the below command from LabVIEW to save the calibration to a user-defined file name. We thought the file will be saved with extension *.cal or *.csa. But we found the file with extension *.pcs in program data folder (C:\ProgramData\Keysight\Network Analyzer\UserCalSets\Mycal.pcs)
:SENS:CORR:COLL:GUID:SAVE:CSET "Mycal";
Then, we used :MMEM:TRAN? "Mycal.pcs"; command to fetch the calibration file data. But the instrument returns error "Query uninterrupted". We even tried with different file extensions(pcs, cal, csa) in the query command. Still the same error. Sometimes, we get 'File not found "D:\Mycal.pcs"'. It seems by default, the analyzer is searching for the given filename in D:\ drive.
Is there anyway to programmatically transfer the cal file from instrument memory to PC memory? ":MMEM:TRAN?" command simply fetches the content of the calibration file with some header length.
Also, do we have any command to transfer the file from PC memory to instrument memory?
Hello sandhiya,
The command :SENS:CORR:COLL:GUID:SAVE:CSET saves the calibration to a specified "Cal Set."
Use this link to learn more about Cal Sets.
It looks like what you are trying to do is archive Cal Sets using .cal or .csa files.
Follow this link to see when archiving Cal Sets would be used and then this link to learn how to do it.
Since you are using SCPI commands, then this link will also be helpful.
I think it would also be beneficial to learn about using :MMEM:TRAN
Best