Giga-tronics 2400/2500 Microwave Synthesizer Series
4. Programming Interfaces
Programming Manual, Part Number 34783, Rev A, July 2009
29
4.3.3.12
DLL Function; GT2400_GetAttenuation
GT2400_GetAttenuation
Purpose
Get the attenuation value.
Syntax
STATUS
GT2400_GetAttenuation
(
const unsigned long
instrumentHandle,
short
*pAttenuation)
Parameter
Description
instrumentHandle Input: The unique identification of the instrument.
pAttenuation
Output: current attenuation in the instrument.
If returned value = -10, it is in AUTO attenuation mode;
Else If returned value = -99, there is no attenuator option installed;
Else attenuation is in MANUAL mode with value = *pAttenuation