02-05-2013 04:32 AM
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
Solved! Go to Solution.
02-05-2013 06:39 AM
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.
02-05-2013 06:50 AM
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
02-05-2013 07:17 AM
I guess I should ask what language you are using in order to do this testing.
02-05-2013 07:22 AM
I think this is the command you are looking for:
:POW:ATT ##;
02-05-2013 07:40 AM
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.
02-05-2013 07:41 AM
Doesn't work 😞
SA displayed "Undefined header"
I tried it with NI GPIB explorer. (no programming)
02-05-2013 09:02 AM
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.
02-06-2013 03:33 AM
Hi
I contacted agilent and they gave the solution: SENS:POW:ATT <val>
Thanks 🙂
Tova
02-06-2013 03:36 AM
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'.