07-11-2011 10:51 AM
Hello,
I am trying to configure Agilent's N1912A power meter for pulsed power measurements over GPIB. For this I am using the IVI latest driver (3.5.0.0).
While adjusting the channel offsets, for example, was successfully achieved using the command
AgRFPowerMeter_ConfigureOffset (session, "PwrMeterChannel1", Offset);
, trying to adjust the time-gate start to 1.5us and the length of the time-gate to 3us using
AgRFPowerMeter_ChannelsItemTimeGatesItemConfigure (session, "PwrMeterChannel1", 0.0000015, 0.000003);
is failing.
Any idea?
About the function AgRFPowerMeter_ChannelsItemTimeGatesItemConfigure:
Configures the time-gate. Start - the time at which the time-gate starts relative to the delayed trigger in seconds. Length - the length of the time-gate in seconds.
/*-------------------- Prototype ---------------------*
/ViStatus AgRFPowerMeter_ChannelsItemTimeGatesItemConfigure (ViSession Vi, ViConstString repCapIdentifier, ViReal64 Start, ViReal64 Length);
07-13-2011 12:00 PM
The NI developed driver is 1.1, the 3.5.0.0 is the Agilent developed driver - you might get help from them.
07-21-2011 09:27 AM
Hi Zik,
in what way is it failing? Does your program fail or is the instrument not responding properly? Do you get some error code or message?
Regards, Topp
07-21-2011 09:45 AM
Hi Topp,
In contrast to the offsets setting command, the instrument is not responding to the time-gate adjusting command: manually checking the gates timing after executing this (error-free execution) shows that no change to them has occured (i.e. still at the preset value 0).
The instrument responded however to the corresponding command from NIs driver (got to search for this driver thx to the hint from jjp377).
Regards,
Zik
07-26-2011 10:26 AM
Hi Zik,
is your problem solved by using the NI driver?
If not, could you give a link pointing to the driver you are using?
Regards, Topp
07-26-2011 10:40 AM
Hi Topp,
yes it is. (Exactly the link that you've pasted..)
Regards,
Zik