GPIB_get_power - Lecture de la puissance (dBm) sur une sonde de wattmètre.
type : Langage GPIB du wattmètre. Actuellement, 2 types d'instrutions sont pris en charge :
Wattmètre HP => type = 1
Wattmètre Anritsu => type = 2
channel : La valeur '1' correspond au canal 'A'. La valeur '2', au canal 'B'.
ch=x_choose(['A';'B'],['Choose a measurement channel';'to get mean power']) if (ch~=0) then typ=1; // 1=HP id=10; // Adresse GPIB p=GPIB_get_power(id,typ,ch); // 1=A ; 2=B if (p~=[]) then x_message('Measured mean power : '+string(p)+' dBm'); end; end;
GPIB_set_power_freq , GPIB_set_power_message ,