User`s guide
Remote Interface (API) Programming Command Reference 6
E6651A User’s Guide 85
General functions
E6651_GetWorkMode
Declaration int E6651_GetWorkMode(BYTE MID, int* Value);
Parameter
MID [in]: E6651’s equipment number to be controlled
remotely.
Value [out]: The current Work Mode value of E6651.
Return Value
Success: STATE_SUCCESS(1)
Failure: STATE_ERROR(- 1)
Description Retrieve Work Mode value of E6651 which is being
controlled remotely.
0: E6651
1: SA
2: SG
E6651_SetWorkMode
Declaration int E6651_SetWorkMode(BYTE MID, int Value);
Parameter
MID [in]: E6651’s equipment number to be controlled
remotely.
Value [in]: E6651’s Work Mode value to be set.
Return Value
Success: STATE_SUCCESS(1)
Failure: STATE_ERROR(- 1)
Description Modify Work Mode value of E6651(MID).
0: E6651
1: SA
2: SG
E6651_GetDLULMode
Declaration int E6651_GetDLULMode(BYTE MID, int* Value);
Parameter
MID [in]: E6651’s equipment number to be controlled
remotely.
Value [out]: The current measure mode information. (DL:
Downlink, UL: Uplink)
Return Value
Success: STATE_SUCCESS(1)
Failure: STATE_ERROR(- 1)
Description Retrieve the measurement mode information of E6651,
downlink or uplink.
0: DL
1: UL