Raritan PX2/PX3 JSON-RPC API
|
test routines for Raritan Aux Serial interface (RS485 on pins 3 and 6 of RJ45) Require TestMode to be ON. More...
import"testrpc.idl";
Public Member Functions | |
int | getNumberOfPorts (out int numPorts) |
returns number of ports More... | |
int | testLoop (in int portNum, out string errstr) |
Performs a loop test with special test adapter. More... | |
Public Attributes | |
constant int | OK = 0 |
No error. | |
constant int | ERR_NO_TEST_MODE = 1 |
Not in test mode. | |
constant int | ERR_INVAL_PORT_NUM = 2 |
Invalid port number. | |
constant int | ERR_TEST_FAILED = 3 |
Test failed. | |
test routines for Raritan Aux Serial interface (RS485 on pins 3 and 6 of RJ45) Require TestMode to be ON.
int test::AuxSerial::getNumberOfPorts | ( | out int | numPorts | ) |
returns number of ports
int test::AuxSerial::testLoop | ( | in int | portNum, |
out string | errstr | ||
) |
Performs a loop test with special test adapter.