Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

E4440A

Solved!
Go to solution

I want to communicate with Spectrum Analyzer E4440A thru GPIB-USB-HS but the driver Agilen ESA PSA series:configure marker search has an error " underdefined header" and the command for the function "Manual N dB Points (-3 dB)  - CALC:BWID:NDB- does not seem to work.

 

Can anyone help me with this issue?

 

Thanks

 

PS: labview 8.6.1

      latest NI-VISA version

0 Kudos
Message 1 of 12
(6,435 Views)
Solution
Accepted by topic author NNA
Are you still having issues with this VI?
0 Kudos
Message 2 of 12
(6,390 Views)

Hi jjp37,

I'm still looking for help from someone. The problem is the driver MARKER SEARCH is not working functionally and the error is " underdefinded header"

 

Thanks

0 Kudos
Message 3 of 12
(6,365 Views)
Have you turned on NI-Spy and gotten a trace of the commands being sent? You can use that data and compare to what the manual says.
0 Kudos
Message 4 of 12
(6,362 Views)

Hi Dennis,

I did turn on the NI-SPY and got :  " VISA Read ("GPIB0::18::INSTR", 256, "-113,"Undefined header".")

I dont know how to get thru this problem

 

Thanks

NNA

0 Kudos
Message 5 of 12
(6,329 Views)
You need to look at the NI-Spy log to see what is written to the instrument prior to the ERR? write/read that returns this code from the instrument. An undefined header indicates that it received some message that it could not parse correctly.
0 Kudos
Message 6 of 12
(6,324 Views)

1.  VISA Get Attribute ("GPIB0::18::INSTR", USER_DATA, 179153943593484288)

2.  VISA Write ("GPIB0::18::INSTR", "CALC:BWID:NDB -3;")
3.  VISA Write ("GPIB0::18::INSTR", ":SYST:ERR?")
4.  VISA Read ("GPIB0::18::INSTR", 256, "-113,"Undefined header".")

These lines were captured by NI-Spy. The cmd :CALC:BWID:NDB" is not the right one. Can you show me how to program N dB point on E4440a ? I want to measure the 3dB bandwidth at the signal out in my project.

 

Thanks

0 Kudos
Message 7 of 12
(6,305 Views)

I can't help right now. I'm not using the instrument right now and don't have the manuals.

 

I would presume that you do have the manuals. Have you looked for the correct command?

0 Kudos
Message 8 of 12
(6,302 Views)

Thanks Dennis!

I looked for that command in E4440a programming manual but I can not find it. I dont know where they got it : CALC:BWID:NDB.

 

http://cp.literature.agilent.com/litweb/pdf/E4440-90139.pdf

0 Kudos
Message 9 of 12
(6,298 Views)
I don't think that's the correct manual. See this.
0 Kudos
Message 10 of 12
(6,294 Views)