06-03-2013 10:23 PM
I am trying to save SnP files from Agilent PNA N5224A to a PC. I need to save the data in the instrument harddrive then transfer the files to PC harddrive. Is there is a commands sequence I need to follow?. Agilent or NI don't have a driver for this 4-port network analyzer.
06-04-2013 12:38 AM - edited 06-04-2013 12:40 AM
There is a Online help for this device. Have you allready seen this example there?
06-04-2013 08:29 AM
Thanks for reply, I still have errors.
I was able to communicate @ query IDN?. Then I created a s2p file in the instrument C drive. Using a Visa Write I send the following command. CALCulate1:DATA:SNP:PORTs:SAVE'1,2','C:/Balan/mytestdata.s2p;OPC. I received the following error
Error -1073807339 occurred at VISA Read in Agilent_ N5224A_1.viVISA: (Hex 0xBFFF0015) Timeout expired before operation completed.
Please help.
Thank you
06-04-2013 08:48 AM
Did you allready play with the Visa timeout value ( changing the attribute to a higher value) ? Creating the s2p file might take longer than default value for that setting ( IIRC 5s).
06-04-2013 10:56 AM
How do I change the Visa time out value?. I increased the byte count for Visa read and it did not help. I also tried a timer between Write and Read.
06-04-2013 12:47 PM
VISA Advanced palette
06-05-2013 08:07 AM
I still having time out error. I have attached the VI (Labview 12) and word document.
06-05-2013 08:24 AM
How is reading the Timeout value going to help you?
06-05-2013 08:34 AM
There is no use for it, I just want to see the value. The value received is 10000.
Thanks.
06-05-2013 09:06 AM
And is 10sec enough for what you want to do?