| 
    libtiepie-hw
    1.2.1
    
   | 
 
Data Structures | |
| struct | tiepie_hw_date | 
| struct | tiepie_hw_demo_info | 
Typedefs | |
| typedef uint32_t | tiepie_hw_handle | 
| Generic handle.  More... | |
| typedef uint8_t | tiepie_hw_bool | 
| Boolean value one byte wide.  More... | |
| typedef uint8_t | tiepie_hw_tristate | 
| TriState value one byte wide.  More... | |
| typedef void ** | tiepie_hw_pointerarray | 
| Pointer array.  More... | |
| typedef void(* | tiepie_hw_devicelist_callback) (void *data, uint32_t device_types, uint32_t serial_number) | 
| typedef void(* | tiepie_hw_handle_callback) (void *data, tiepie_hw_handle handle) | 
| typedef void(* | tiepie_hw_event_callback) (void *data, tiepie_hw_event event, uint32_t value) | 
| typedef uint32_t tiepie_hw_handle | 
Generic handle.
| typedef uint8_t tiepie_hw_bool | 
Boolean value one byte wide.
| typedef uint8_t tiepie_hw_tristate | 
TriState value one byte wide.
| typedef void** tiepie_hw_pointerarray | 
Pointer array.
| typedef void(* tiepie_hw_devicelist_callback) (void *data, uint32_t device_types, uint32_t serial_number) | 
| typedef void(* tiepie_hw_handle_callback) (void *data, tiepie_hw_handle handle) | 
| typedef void(* tiepie_hw_event_callback) (void *data, tiepie_hw_event event, uint32_t value) | 
| enum tiepie_hw_status | 
Status code.
These codes show the status of the last called LibTiePie function.
0 means ok
 <0 means error
 >0 means ok, but with a side effect
| Enumerator | |
|---|---|
| TIEPIE_HW_STATUS_VALUE_MODIFIED | One of the parameters of the last called function was within the valid range but not available. The closest valid value is set.  | 
| TIEPIE_HW_STATUS_VALUE_CLIPPED | One of the parameters of the last called function was outside the valid range and clipped to the closest limit.  | 
| TIEPIE_HW_STATUS_SUCCESS | The function executed successfully.  | 
| TIEPIE_HW_STATUS_UNSUCCESSFUL | An error occurred during execution of the last called function.  | 
| TIEPIE_HW_STATUS_NOT_SUPPORTED | The requested functionality is not supported by the hardware.  | 
| TIEPIE_HW_STATUS_INVALID_HANDLE | The handle to the device is invalid.  | 
| TIEPIE_HW_STATUS_INVALID_VALUE | The requested value is invalid.  | 
| TIEPIE_HW_STATUS_INVALID_CHANNEL | The requested channel number is invalid.  | 
| TIEPIE_HW_STATUS_INVALID_TRIGGER_SOURCE | The requested trigger source is invalid.  | 
| TIEPIE_HW_STATUS_INVALID_DEVICE_TYPE | The device type is invalid.  | 
| TIEPIE_HW_STATUS_INVALID_DEVICE_INDEX | The device index is invalid, must be < LstGetCount().  | 
| TIEPIE_HW_STATUS_INVALID_PRODUCT_ID | There is no device with the requested product ID.  | 
| TIEPIE_HW_STATUS_INVALID_DEVICE_SERIALNUMBER | There is no device with the requested serial number.  | 
| TIEPIE_HW_STATUS_OBJECT_GONE | The object indicated by the handle is no longer available.  | 
| TIEPIE_HW_STATUS_INTERNAL_ADDRESS | The requested I2C address is an internally used address in the device.  | 
| TIEPIE_HW_STATUS_NOT_CONTROLLABLE | The generator is currently not controllable, see tiepie_hw_generator_is_controllable.  | 
| TIEPIE_HW_STATUS_BIT_ERROR | The requested I2C operation generated a bit error.  | 
| TIEPIE_HW_STATUS_NO_ACKNOWLEDGE | The requested I2C operation generated "No acknowledge".  | 
| TIEPIE_HW_STATUS_INVALID_CONTAINED_DEVICE_SERIALNUMBER | A device with the requested serial number is not available in the combined instrument, see tiepie_hw_devicelistitem_get_contained_serial_numbers.  | 
| TIEPIE_HW_STATUS_INVALID_INPUT | The requested trigger input is invalid.  | 
| TIEPIE_HW_STATUS_INVALID_OUTPUT | The requested trigger output is invalid.  | 
| TIEPIE_HW_STATUS_NOT_AVAILABLE | With the current settings, the requested functionality is not available.  | 
| TIEPIE_HW_STATUS_INVALID_FIRMWARE | The currently used firmware is not supported.  | 
| TIEPIE_HW_STATUS_INVALID_INDEX | The requested index is invalid.  | 
| TIEPIE_HW_STATUS_INVALID_EEPROM | The instrument's EEPROM content is damaged, please contact TiePie engineering support.  | 
| TIEPIE_HW_STATUS_INITIALIZATION_FAILED | The instrument's initialization failed, please contact TiePie engineering support.  | 
| TIEPIE_HW_STATUS_LIBRARY_NOT_INITIALIZED | The library is not initialized, see tiepie_hw_init().  | 
| TIEPIE_HW_STATUS_NO_TRIGGER_ENABLED | The current setup requires a trigger input to be enabled.  | 
| TIEPIE_HW_STATUS_SYNCHRONIZATION_FAILED | Synchronization of the instruments has failed.  | 
| TIEPIE_HW_STATUS_INVALID_HS56_COMBINED_DEVICE | At least one Handyscope HS6 (DIFF) / WiFiScope WS6 (DIFF) must be located at the beginning or end of the CMI daisy chain.  | 
| TIEPIE_HW_STATUS_MEASUREMENT_RUNNING | A measurement is already running.  | 
| TIEPIE_HW_STATUS_WIRELESSTRIGGERMODULENOTCONNECTED | |
| TIEPIE_HW_STATUS_INITIALIZATION_ERROR_10001 | Initialization error 10001.  | 
| TIEPIE_HW_STATUS_INITIALIZATION_ERROR_10002 | Initialization error 10002.  | 
| TIEPIE_HW_STATUS_INITIALIZATION_ERROR_10003 | Initialization error 10003.  | 
| TIEPIE_HW_STATUS_INITIALIZATION_ERROR_10004 | Initialization error 10004.  | 
| TIEPIE_HW_STATUS_INITIALIZATION_ERROR_10005 | Initialization error 10005.  | 
| TIEPIE_HW_STATUS_INITIALIZATION_ERROR_10006 | Initialization error 10006.  | 
| TIEPIE_HW_STATUS_INITIALIZATION_ERROR_10007 | Initialization error 10007.  | 
| enum tiepie_hw_productid | 
ProductID IDs for products.
| enum tiepie_hw_event | 
Event IDs for events that can be used by LibTiePie to notify the calling application of changes with the instrument.
See also object callbacks.
| Enumerator | |
|---|---|
| TIEPIE_HW_EVENT_INVALID | This event ID value should not occur.  | 
| TIEPIE_HW_EVENT_OBJECT_REMOVED | Event ID for the event indicating that an object was removed.  | 
| TIEPIE_HW_EVENT_OSCILLOSCOPE_DATA_READY | Event ID for the event indicating that the oscilloscope measurement is ready.  | 
| TIEPIE_HW_EVENT_OSCILLOSCOPE_DATA_OVERFLOW | Event ID for the event indicating that the data overflow occurred during a streaming measurement.  | 
| TIEPIE_HW_EVENT_OSCILLOSCOPE_SURE_CONNECT_COMPLETED | Event ID for the event indicating that the connection test is ready.  | 
| TIEPIE_HW_EVENT_OSCILLOSCOPE_TRIGGERED | Event ID for the event indicating that the oscilloscope has triggered.  | 
| TIEPIE_HW_EVENT_GENERATOR_BURST_COMPLETED | Event ID for the event indicating that the generator burst is completed.  | 
| TIEPIE_HW_EVENT_GENERATOR_CONTROLLABLE_CHANGED | Event ID for the event indicating that the generator controllable state has changed.  | 
| TIEPIE_HW_EVENT_SERVER_STATUS_CHANGED | XXX.  | 
| TIEPIE_HW_EVENT_OSCILLOSCOPE_SAFEGROUND_ERROR | Event ID for the event indicating that the oscilloscope channel SafeGround was disabled because of a too large ground current. The value parameter of the event contains the channel number (  | 
| TIEPIE_HW_EVENT_DEVICE_BATTERY_STATUS_CHANGED | XXX.  | 
| TIEPIE_HW_EVENT_OSCILLOSCOPE_WIRELESS_SYNCHRONIZATION_ERROR | XXX.  | 
| enum tiepie_hw_demosignal | 
Demo signal type IDs, for demo oscilloscope channels. See Demo signals.