User`s guide

4-138 Agilent E6432A Microwave Synthesizer User’s Guide
HPE6432_ReadHwState
ViStatus HPE6432_ReadHwState (ViSession instrumentHandle,
ViUInt16 *hardwareState);
Purpose
This function reads the current state of the unleveled and unlocked
bits.
Parameter List
instrumentHandle
Variable Type ViSession
This is the ViSession handle that is obtained from the Initialize
function. The instrumentHandle identifies a particular instrument
session.
hardwareState
Variable Type ViUInt16 (passed by reference)
This parameter returns an integer bit field.
Bit 0 = Fractional-N synthesizer (Paren loop) unlocked error
Bit 1 = uW PLL unlocked error
Bit 2 = Ref unlocked error
Bit 3 = ALC High unleveled error
Bit 4 = ALC Low unleveled error
Bits 5-15 = Not Used
Return Value
This return value always returns VI_SUCCESS.