libtiepie-hw 1.3.3
|
Functions that provide information of a generator. More...
Functions | |
TIEPIE_HW_API uint32_t | tiepie_hw_generator_get_connector_type (tiepie_hw_handle handle) |
Get the output connector type for a specified generator. | |
TIEPIE_HW_API tiepie_hw_bool | tiepie_hw_generator_is_differential (tiepie_hw_handle handle) |
Check whether the output of a specified generator is differential. | |
TIEPIE_HW_API double | tiepie_hw_generator_get_impedance (tiepie_hw_handle handle) |
Get the output impedance of a specified generator. | |
TIEPIE_HW_API uint8_t | tiepie_hw_generator_get_resolution (tiepie_hw_handle handle) |
Get the DAC resolution of a specified generator. | |
TIEPIE_HW_API double | tiepie_hw_generator_get_output_value_min (tiepie_hw_handle handle) |
Get the minimum output value of a specified generator. | |
TIEPIE_HW_API double | tiepie_hw_generator_get_output_value_max (tiepie_hw_handle handle) |
Get the maximum output value of a specified generator. | |
Functions that provide information of a generator.
TIEPIE_HW_API uint32_t tiepie_hw_generator_get_connector_type | ( | tiepie_hw_handle | handle | ) |
Get the output connector type for a specified generator.
[in] | handle | A device handle identifying the generator. |
TIEPIE_HW_STATUS_NOT_SUPPORTED | The generator does not support getting the connector type. |
TIEPIE_HW_STATUS_INVALID_HANDLE | The handle is not a valid generator handle. |
TIEPIE_HW_STATUS_OBJECT_GONE | |
TIEPIE_HW_STATUS_LIBRARY_NOT_INITIALIZED | |
TIEPIE_HW_STATUS_SUCCESS |
TIEPIE_HW_API tiepie_hw_bool tiepie_hw_generator_is_differential | ( | tiepie_hw_handle | handle | ) |
Check whether the output of a specified generator is differential.
[in] | handle | A device handle identifying the generator. |
TIEPIE_HW_STATUS_INVALID_HANDLE | The handle is not a valid generator handle. |
TIEPIE_HW_STATUS_OBJECT_GONE | |
TIEPIE_HW_STATUS_LIBRARY_NOT_INITIALIZED | |
TIEPIE_HW_STATUS_SUCCESS |
TIEPIE_HW_API double tiepie_hw_generator_get_impedance | ( | tiepie_hw_handle | handle | ) |
Get the output impedance of a specified generator.
[in] | handle | A device handle identifying the generator. |
TIEPIE_HW_STATUS_NOT_SUPPORTED | The generator does not support getting the output impedance. |
TIEPIE_HW_STATUS_INVALID_HANDLE | The handle is not a valid generator handle. |
TIEPIE_HW_STATUS_OBJECT_GONE | |
TIEPIE_HW_STATUS_LIBRARY_NOT_INITIALIZED | |
TIEPIE_HW_STATUS_SUCCESS |
TIEPIE_HW_API uint8_t tiepie_hw_generator_get_resolution | ( | tiepie_hw_handle | handle | ) |
Get the DAC resolution of a specified generator.
[in] | handle | A device handle identifying the generator. |
TIEPIE_HW_STATUS_NOT_SUPPORTED | The generator does not support getting the resolution. |
TIEPIE_HW_STATUS_INVALID_HANDLE | The handle is not a valid generator handle. |
TIEPIE_HW_STATUS_OBJECT_GONE | |
TIEPIE_HW_STATUS_LIBRARY_NOT_INITIALIZED | |
TIEPIE_HW_STATUS_SUCCESS |
TIEPIE_HW_API double tiepie_hw_generator_get_output_value_min | ( | tiepie_hw_handle | handle | ) |
Get the minimum output value of a specified generator.
[in] | handle | A device handle identifying the generator. |
TIEPIE_HW_STATUS_INVALID_HANDLE | The handle is not a valid generator handle. |
TIEPIE_HW_STATUS_OBJECT_GONE | |
TIEPIE_HW_STATUS_LIBRARY_NOT_INITIALIZED | |
TIEPIE_HW_STATUS_SUCCESS |
TIEPIE_HW_API double tiepie_hw_generator_get_output_value_max | ( | tiepie_hw_handle | handle | ) |
Get the maximum output value of a specified generator.
[in] | handle | A device handle identifying the generator. |
TIEPIE_HW_STATUS_INVALID_HANDLE | The handle is not a valid generator handle. |
TIEPIE_HW_STATUS_OBJECT_GONE | |
TIEPIE_HW_STATUS_LIBRARY_NOT_INITIALIZED | |
TIEPIE_HW_STATUS_SUCCESS |