05-10-2012 03:03 AM
I'm already doing this.
But it seems that when you are in spectrum analyser mode you can set the sweep-time auto or manual. But from the moment you select channel power mode in the BW/AVG menu there is a selection at the bottom called "sweep type" and this is always placed on FFT. When in this mode you cannot select your own sweep time you have to select the type called "swept" and then you can choose your own sweep-time.
The problem now is that i cannot find a command (or at least a sequence of commands) to set this "sweep type" to swept in the BW/avg menu while in channel power mode.
05-10-2012 09:27 PM
"When in this mode you cannot select your own sweep time you have to select the type called "swept" and then you can choose your own sweep-time."
For your sentence above, do you mean that the sweep time could not be set in CHP mode?
You can follow ACP Measurement example the driver provide(Don't forget to change the mode to CHP), set the 6th parameter(SweepTimeAuto) of agn9320ni_ConfigureSweepCoupling() to be VI_FALSE and the last parameter to be the value you want to set.
I think the sweep time value could be changed this way. For I have no instrument at hands, the method cannot be tested. Do you mind to have a try?
06-06-2012 08:43 AM
Hello FVA,
Have you been able to fix the behaviour with this advice?
06-07-2012 01:51 AM
I recieved from an Agilent Engineer some SCPI commands to set the sweep type to swept instead of FFT.
[:SENSe]:SWEep:TYPE FFT|SWEep
thx to all for the support
06-08-2012 06:12 AM
Hello fva,
Thanks for the feedback !
A lot of succes with the further automation!