Manage a Galil controller
More...
|
| | Data Record |
| | Used to get values from a data record handle.
|
| | Memory |
| | Manage controller firmware, program, and arrays.
|
| | Unsolicited Data |
| | Get unsolicited messages, interrupts, or data records, in blocking or callback mode.
|
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
-
◆ gclib_set_compat()
| void gclib_set_compat |
( |
| ) |
|
◆ gclib_set_timeout()