libtiepie-hw 1.3.3
|
Obtain information of a device trigger input. More...
Functions | |
TIEPIE_HW_API tiepie_hw_bool | tiepie_hw_device_trigger_input_is_available (tiepie_hw_handle handle, uint16_t input) |
Check whether a device trigger input is available. | |
TIEPIE_HW_API uint32_t | tiepie_hw_device_trigger_input_get_id (tiepie_hw_handle handle, uint16_t input) |
Get the id of a specified device trigger input. | |
TIEPIE_HW_API uint32_t | tiepie_hw_device_trigger_input_get_name (tiepie_hw_handle handle, uint16_t input, char *buffer, uint32_t length) |
Get the name of a specified device trigger input. | |
Obtain information of a device trigger input.
The following information of a device trigger input is available:
TIEPIE_HW_API tiepie_hw_bool tiepie_hw_device_trigger_input_is_available | ( | tiepie_hw_handle | handle, |
uint16_t | input | ||
) |
Check whether a device trigger input is available.
Depending on other settings of a device, a device trigger input may be not available. E.g. when the measure mode of an oscilloscope is set to streaming, device trigger inputs are not available.
[in] | handle | A device handle identifying the device. |
[in] | input | The trigger input index identifying the trigger input, 0 to Dev_trIn_get_count() - 1 . |
TIEPIE_HW_API uint32_t tiepie_hw_device_trigger_input_get_id | ( | tiepie_hw_handle | handle, |
uint16_t | input | ||
) |
Get the id of a specified device trigger input.
[in] | handle | A device handle identifying the device. |
[in] | input | The trigger input index identifying the trigger input, 0 to Dev_trIn_get_count() - 1 . |
TIEPIE_HW_API uint32_t tiepie_hw_device_trigger_input_get_name | ( | tiepie_hw_handle | handle, |
uint16_t | input, | ||
char * | buffer, | ||
uint32_t | length | ||
) |
Get the name of a specified device trigger input.
[in] | handle | A device handle identifying the device. |
[in] | input | The trigger input index identifying the trigger input, 0 to Dev_trIn_get_count() - 1 . |
[out] | buffer | A pointer to a buffer for the name. |
[in] | length | The length of the buffer, in bytes. |