Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

"how to modify the power meter settings of hp816x by using the s/w drivers"

"In the lamdascan function for HP816X instrument driver how do you set the range mode of the power meter (pwm) channel.It sets itself to 0dbm according to the laser power . I have tried using the setinitialrange subvi and also the setpwm parameter subvi.But the program makes no change but sets the range to 0dbm and setting manual of the pwm. So you can't measure power beoynd -40dbm."
0 Kudos
Message 1 of 3
(3,350 Views)
Hello,

About this instrument driver it would be a good idea to contact Agilent since they are the once who built the driver. Now, I downloaded the driver and went to the setpwrm parameter subVI. Those values can be changed in LabVIEW by creating a constant to their inputs or controls. I believe you have done that, so probably you are missing one thing. This subVI has a note that it says that in order to have the changes applied you need to have no value applied to the instrument and the Force Transaction VI must be switched off.
I hope this helps.

Ricardo S.
National Instruments
0 Kudos
Message 2 of 3
(3,350 Views)
Hi,
Can you be more specific :"you need to have no value applied to the instrument ", what does it mean,because when you initially switch on the instrument the PWM sets according to laser power that is 0dbm and the setting is manual.
Also I have tried to put the subvi setpwmparameter in the initialise subvi , that is where it gets the pwm channels,is that correct?
Also do both the subvi's are needed the setpwm parameter and the setinitial range?.
Thanks.
Madhu
0 Kudos
Message 3 of 3
(3,350 Views)