| 
    libtiepie-hw
    1.2.1
    
   | 
 
Functions to communicate with TPISS Instrument Sharing servers. More...

Functions | |
| TIEPIE_HW_API tiepie_hw_bool | tiepie_hw_server_connect (tiepie_hw_handle handle, tiepie_hw_bool asynchronous) | 
| Connect to a specified Instrument Sharing Server. This gives access to the instruments connected to and shared by that server.  More... | |
| TIEPIE_HW_API tiepie_hw_bool | tiepie_hw_server_disconnect (tiepie_hw_handle handle, tiepie_hw_bool force) | 
| Disconnect from a specified Instrument Sharing Server. This will close all opened instruments shared by that server.  More... | |
| TIEPIE_HW_API tiepie_hw_bool | tiepie_hw_server_remove (tiepie_hw_handle handle, tiepie_hw_bool force) | 
| Remove a specified Instrument Sharing Server from the list of servers.  More... | |
| TIEPIE_HW_API uint32_t | tiepie_hw_server_get_status (tiepie_hw_handle handle) | 
| Retrieve the status of a specified Instrument Sharing Server.  More... | |
| TIEPIE_HW_API uint32_t | tiepie_hw_server_get_last_error (tiepie_hw_handle handle) | 
| Get the last error from a specified Instrument Sharing Server.  More... | |
| TIEPIE_HW_API uint32_t | tiepie_hw_server_get_url (tiepie_hw_handle handle, char *buffer, uint32_t length) | 
| Get the URL of the specified Instrument Sharing Server.  More... | |
| TIEPIE_HW_API uint32_t | tiepie_hw_server_get_id (tiepie_hw_handle handle, char *buffer, uint32_t length) | 
| Get the id of the specified Instrument Sharing Server.  More... | |
| TIEPIE_HW_API uint32_t | tiepie_hw_server_get_ip_address (tiepie_hw_handle handle, char *buffer, uint32_t length) | 
| Get the IP address of the specified Instrument Sharing Server.  More... | |
| TIEPIE_HW_API uint16_t | tiepie_hw_server_get_ip_port (tiepie_hw_handle handle) | 
| Get the IP port number of the specified Instrument Sharing Server.  More... | |
| TIEPIE_HW_API uint32_t | tiepie_hw_server_get_name (tiepie_hw_handle handle, char *buffer, uint32_t length) | 
| Get the name of the specified Instrument Sharing Server.  More... | |
| TIEPIE_HW_API uint32_t | tiepie_hw_server_get_description (tiepie_hw_handle handle, char *buffer, uint32_t length) | 
| Get the description of the specified Instrument Sharing Server.  More... | |
| TIEPIE_HW_API uint32_t | tiepie_hw_server_get_version (tiepie_hw_handle handle, char *buffer, uint32_t length) | 
| Get the software version number of the specified Instrument Sharing Server.  More... | |
Functions to communicate with TPISS Instrument Sharing servers.
| TIEPIE_HW_API tiepie_hw_bool tiepie_hw_server_connect | ( | tiepie_hw_handle | handle, | 
| tiepie_hw_bool | asynchronous | ||
| ) | 
Connect to a specified Instrument Sharing Server. This gives access to the instruments connected to and shared by that server.
| [in] | handle | A server handle identifying the server. | 
| [in] | asynchronous | Connect asynchronously. | 
| TIEPIE_HW_API tiepie_hw_bool tiepie_hw_server_disconnect | ( | tiepie_hw_handle | handle, | 
| tiepie_hw_bool | force | ||
| ) | 
Disconnect from a specified Instrument Sharing Server. This will close all opened instruments shared by that server.
| [in] | handle | A server handle identifying the server. | 
| [in] | force | If TIEPIE_HW_BOOL_TRUE all open devices are closed, if TIEPIE_HW_BOOL_FALSE remove only succeeds if no devices are open. | 
| TIEPIE_HW_API tiepie_hw_bool tiepie_hw_server_remove | ( | tiepie_hw_handle | handle, | 
| tiepie_hw_bool | force | ||
| ) | 
Remove a specified Instrument Sharing Server from the list of servers.
| [in] | handle | A server handle identifying the server. | 
| [in] | force | If TIEPIE_HW_BOOL_TRUE all open devices are closed, if TIEPIE_HW_BOOL_FALSE remove only succeeds if no devices are open. | 
| TIEPIE_HW_API uint32_t tiepie_hw_server_get_status | ( | tiepie_hw_handle | handle | ) | 
Retrieve the status of a specified Instrument Sharing Server.
| [in] | handle | A server handle identifying the server. | 
| TIEPIE_HW_API uint32_t tiepie_hw_server_get_last_error | ( | tiepie_hw_handle | handle | ) | 
Get the last error from a specified Instrument Sharing Server.
| [in] | handle | A server handle identifying the server. | 
| TIEPIE_HW_API uint32_t tiepie_hw_server_get_url | ( | tiepie_hw_handle | handle, | 
| char * | buffer, | ||
| uint32_t | length | ||
| ) | 
Get the URL of the specified Instrument Sharing Server.
| [in] | handle | A server handle identifying the server. | 
| [out] | buffer | A pointer to a buffer for the URL. | 
| [in] | length | The length of the buffer, in bytes. | 
| TIEPIE_HW_API uint32_t tiepie_hw_server_get_id | ( | tiepie_hw_handle | handle, | 
| char * | buffer, | ||
| uint32_t | length | ||
| ) | 
Get the id of the specified Instrument Sharing Server.
| [in] | handle | A server handle identifying the server. | 
| [out] | buffer | A pointer to a buffer for the id. | 
| [in] | length | The length of the buffer, in bytes. | 
| TIEPIE_HW_API uint32_t tiepie_hw_server_get_ip_address | ( | tiepie_hw_handle | handle, | 
| char * | buffer, | ||
| uint32_t | length | ||
| ) | 
Get the IP address of the specified Instrument Sharing Server.
| [in] | handle | A server handle identifying the server. | 
| [out] | buffer | A pointer to a buffer for the IP address. | 
| [in] | length | The length of the buffer, in bytes. | 
| TIEPIE_HW_API uint16_t tiepie_hw_server_get_ip_port | ( | tiepie_hw_handle | handle | ) | 
Get the IP port number of the specified Instrument Sharing Server.
| [in] | handle | A server handle identifying the server. | 
| TIEPIE_HW_API uint32_t tiepie_hw_server_get_name | ( | tiepie_hw_handle | handle, | 
| char * | buffer, | ||
| uint32_t | length | ||
| ) | 
Get the name of the specified Instrument Sharing Server.
| [in] | handle | A server handle identifying the server. | 
| [out] | buffer | A pointer to a buffer for the name. | 
| [in] | length | The length of the buffer, in bytes. | 
| TIEPIE_HW_API uint32_t tiepie_hw_server_get_description | ( | tiepie_hw_handle | handle, | 
| char * | buffer, | ||
| uint32_t | length | ||
| ) | 
Get the description of the specified Instrument Sharing Server.
| [in] | handle | A server handle identifying the server. | 
| [out] | buffer | A pointer to a buffer for the description. | 
| [in] | length | The length of the buffer, in bytes. | 
| TIEPIE_HW_API uint32_t tiepie_hw_server_get_version | ( | tiepie_hw_handle | handle, | 
| char * | buffer, | ||
| uint32_t | length | ||
| ) | 
Get the software version number of the specified Instrument Sharing Server.
| [in] | handle | A server handle identifying the server. | 
| [out] | buffer | A pointer to a buffer for the description. | 
| [in] | length | The length of the buffer, in bytes. |