Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Agilent PNA N5224A

I need about 60 secs.

0 Kudos
Message 11 of 25
(3,425 Views)

balan12, 

 

where did you get the instrument drivers from? I have a N5227A PNA, and I could not find Labview drivers anywhere. Agilent technical support was of little help.

0 Kudos
Message 12 of 25
(3,397 Views)

I don't have the driver. I am using VISA Read and Write and communicating via the LAN port.

 

The error, " Visa Read timing out" which I had is due to I am sending write command and expecting to read the response from the analyzer.

0 Kudos
Message 13 of 25
(3,388 Views)

 

 

When I programmed the N5224A over LAN, I used COM which is actually more flexible. Some commands are not available in SCPI.

 

http://na.tm.agilent.com/pna/help/latest/Programming/Learning_about_COM/COM_versus_SCPI.htm

 

However, if you want to do SCPI over LAN, then read http://na.tm.agilent.com/pna/help/latest/Programming/COM_Reference/Objects/SCPIStringParser_Object.h...

 

0 Kudos
Message 14 of 25
(3,379 Views)

Thanks. I'm still getting used to it. Where can I find a list of all the necessary commands required for communicating with the N533xA series using VISA?

0 Kudos
Message 15 of 25
(3,348 Views)

That was N522xA, not 533x.

0 Kudos
Message 16 of 25
(3,346 Views)

I get a timeout error for any operation other than *IDN? . My timeout is set to 20 seconds. Help needed.

0 Kudos
Message 17 of 25
(3,305 Views)

@elf_esteem wrote:

I get a timeout error for any operation other than *IDN? . My timeout is set to 20 seconds. Help needed.


Hijacking someone else's thread is not a good thing.

Stick to your own post http://forums.ni.com/t5/Instrument-Control-GPIB-Serial/SCPI-Command-to-make-S-Param-measurement-Agil...

0 Kudos
Message 18 of 25
(3,296 Views)

Make sure you are not trying to read something that is not there. Example writing *CLS\n" and then trying to read will give you "timeout error". 

0 Kudos
Message 19 of 25
(3,283 Views)

I am able to display an S parameter measurement on the PNA window using the following commands.

 

CALC1:PAR:DEF:EXT 'measurement1', S11

DISP:WIND1:STAT ON

DISP:WIND1:TRAC1:FEED 'measurement1'

CALC1:PAR:SEL 'measurement1'

CALC1:MARK:STAT ON

 

However, when I use the CALC:DATA:SNP:PORT:SAVE command to write SNP data to a file immediately after the above commands, it doesn't save to file. Any help/suggestions?

 

Thanks.

0 Kudos
Message 20 of 25
(3,217 Views)