User`s guide
88 E6651A User’s Guide
6 Remote Interface (API) Programming Command Reference
E6651_GetRFSwitch
Declaration int E6651_GetRFSwitch(BYTE MID, int * Value);
Parameter
MID [in]: E6651’s equipment number to be controlled
remotely.
Value [out]: Current E6651’s RF Switch operational
information
0: OFF
1: ON
Return Value
Success: STATE_SUCCESS(1)
Failure: STATE_ERROR(- 1)
Description Retrieve RF Switch’s ON/OFF information.
E6651_SetRFSwitch
Declaration int E6651_SetRFSwitch(BYTE MID, int Value);
Parameter
MID [in]: E6651’s equipment number to be controlled
remotely.
Value [in]: E6651’s RF Switch value to be set.
Return Value
Success: STATE_SUCCESS(1)
Failure: STATE_ERROR(- 1)
Description Turn On or Turn Off RF Switch of E6651(MID).
E6651_GetMODSwitch
Declaration int E6651_GetMODSwitch(BYTE MID, int * Value);
Parameter
MID [in]: E6651’s equipment number to be controlled
remotely.
Value [out]: Current Modulation Switch On/Off
information of E6651
0:OFF
1:ON
Return Value
Success: STATE_SUCCESS(1)
Failure: STATE_ERROR(- 1)
Description Retrieve Modulation Switch’s operational information.