Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

What's the GPIB for spectrum analyzer amplitude attenuation?

Solved!
Go to solution

Hello
I am writing a test automation, and I need to do the following by GPIB programming:
Press AMPLITUDE Y Scale, Attenuation, 0, dB.
The device is Agilent E4407B spectum analyzer.
I searched the internet and researched and cannot find the GPIB programming string that commands amplitude attenuation.
(I did find all the other commands I need for this automation.)
Actually, the test plan that I am implementing in programming, says that this one is only available via keyboard entry.
Could it be? All the keyboard commands have corresponding GPIB commands besides this one? Why?
Perhaps it is because the same effect can be achieved by a different GPIB command? What is it then?
Thanks!
Tova

0 Kudos
Message 1 of 12
(4,867 Views)

I seriously doubt Agilent left out a commmand.  You just have to figure out where it is.  Have you tried downloading the LabVIEW instrument drivers from NI?  You can often find little gems in those.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 2 of 12
(4,861 Views)

No, I didn't download the labview instrument drivers from NI.

I do have NI drivers and NI GPIB explorer.

Is there a list of all existing GPIB string commands there is labview drivers? Or how could these drivers help me?

Thanks

Tova

 

0 Kudos
Message 3 of 12
(4,859 Views)

I guess I should ask what language you are using in order to do this testing.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 4 of 12
(4,857 Views)

I think this is the command you are looking for:

:POW:ATT ##;


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 5 of 12
(4,856 Views)

I use TCL programming language.

But before using a new GPIB command in programming I try it out first using NI GPIB explorer which does not invlove any programming or programming language.

0 Kudos
Message 6 of 12
(4,849 Views)

Doesn't work  😞

SA displayed "Undefined header"

I tried it with NI GPIB explorer. (no programming)

0 Kudos
Message 7 of 12
(4,848 Views)

Add the correct SCPI header. I think it's UNIT:

 

In any case, you should be able to quickly look up this command in the manual. And, if you continue to have problems with the command, you should contact Agilent. This board is for NI hardware/software and you are not having problems with either. Agilent makes the instrument and they can help you better than anyone else.

0 Kudos
Message 8 of 12
(4,839 Views)

Hi

I contacted agilent and they gave the solution:  SENS:POW:ATT <val>

Thanks  🙂

Tova

 

0 Kudos
Message 9 of 12
(4,807 Views)

Now I realize that in your reply above an emoticon "ate" ':' and 'P'  !

As in my reply.

You were right then. But I tried without the 'P'.

0 Kudos
Message 10 of 12
(4,805 Views)