| |
||||
| |
|
|
|
|
| State | DEV_VOID | DEV_STATE | OPERATOR | This command gets the device state (stored in its device_state data member) and returns it to the caller. |
| Status | DEV_VOID | CONST_DEV_STRING | OPERATOR | This command gets the device status (stored in its device_status data member) and returns it to the caller. |
| Stop | DEV_VOID | DEV_VOID | OPERATOR | Stops operation of the pump. The most important action – stop the PressureControl – power control – go to the measurement mode |
| GetIDN | DEV_VOID | DEV_STRING | OPERATOR | Returns the identification string from the device as a string |
| GetMAC | DEV_VOID | DEV_STRING | OPERATOR | Returns the MAC address from the device as a string |
| GetErrorState | DEV_VOID | DEV_STRING | OPERATOR | Returns the error message from the instrument |
| ClearErrorState | DEV_VOID | DEV_VOID | OPERATOR | Clears the error state for the instrument. This is done by getting the GetErrorState – 5x times to clear the inner error message buffer |
| MakeHWTest | DEV_VOID | DEV_LONG | OPERATOR | Performs a hardware test for the instrument. If the result is positive – device goes to the ON state, else, the device goes to the ALARM state and disallow any SCPI command to go through. |
| WriteSocket | DEV_STRING | DEV_VOID | OPERATOR | Write command to socket |
| WriteReadSocket | DEV_STRING | DEV_STRING | OPERATOR | Send command and return the answer |