Manage a Galil controller
◆ gclib_revision_information()
Get revision information (^R^V) from controller.
- Parameters
-
| h | Handle to an open connection. |
| rev_info | Output buffer for revision information. |
| len | Size of output buffer. |
- Returns
-
◆ gclib_serial_number()
Get serial number from controller.
- Parameters
-
| h | Handle to an open connection. |
| serial_number | Will be set to the serial number of the controller, or 0 on failure. |
- Returns
- GCLIB_INTERNAL_ERROR if serial number could not be retrieved.
◆ gclib_command()
Issues a command to the controller and provides the response.
Note that a single command cannot be longer than 80 characters, similar to a program line.
- Parameters
-
| h | Handle to an open connection. |
| command | Command to be sent to the controller. Will be terminated with a carriage return. |
| buf | Output buffer for controller response. |
| len | Length of output buffer. |
- Returns
-