This topic describes the following functions:
int E6651_Init(int PortNum);
Port Num [in]: Is the port number of the local PC = 10000
Success: STATE_SUCCESS(1)
Failure: STATE_ERROR(-1)
This command initializes the Remote API Library.
int E6651_RegisterMachine(BYTE MID, char* IPAddr, int PortNum);
MID [in]: User defined E6651A Machine ID.
char* IPAddr [in]: E6651’s IP address
int PortNum [in]: E6651’s Port Number
Success: STATE_SUCCESS(1)
Failure: STATE_ERROR(-1)
Maps the Machine ID (MID) to the specified IP Address and Port Number. IP Address = E6651A IP Address e.g. 100.100.100.100 and Port Number = 16000 which is the UDP Port Number of the E6651A.
Note that the Port Number is fixed at 16000. This constant for this value is defined in the header file (iwRegisterPortNum) and should be used where applicable.
int E6651_RemoteStart(BYTE MID);
MID [in]: User defined E6651A Machine ID.
Success: STATE_SUCCESS(1)
Failure: STATE_ERROR(-1)
API command to connect to the specified E6651A (Machine ID) and initialize remote control of that E6651A.