LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

N1912A Configuration for Pulsed Measurement over GPIB

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);

0 Kudos
Message 1 of 6
(3,696 Views)

The NI developed driver is 1.1, the 3.5.0.0 is the Agilent developed driver - you might get help from them.

0 Kudos
Message 2 of 6
(3,675 Views)

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

 

0 Kudos
Message 3 of 6
(3,658 Views)

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

0 Kudos
Message 4 of 6
(3,654 Views)

Hi Zik,

 

is your problem solved by using the NI driver?

(http://sine.ni.com/apps/utf8/niid_web_display.download_page?p_id_guid=450A53F8FF014B0DE0440003BA7CCD...

 

If not, could you give a link pointing to the driver you are using?

 

Regards, Topp

0 Kudos
Message 5 of 6
(3,640 Views)

Hi Topp,

 

yes it is. (Exactly the link that you've pasted..)

 

Regards,

 

Zik

0 Kudos
Message 6 of 6
(3,638 Views)