libtiepie-hw
1.2.0
|
Functions to control demo signals of a demo oscilloscope channel. More...
Modules | |
Amplitude | |
Functions to control the amplitude of a demo signal. | |
Frequency | |
Functions to control the frequency of a demo signal. | |
Offset | |
Functions to control the offset of a demo signal. | |
Symmetry | |
Functions to control the symmetry of a demo signal. | |
Phase | |
Functions for controlling the phase of a demo signal. | |
NoiseEnabled | |
Functions for controlling the optional noise of a demo signal. | |
Functions | |
TIEPIE_HW_API tiepie_hw_bool | tiepie_hw_oscilloscope_is_demo (tiepie_hw_handle handle) |
Check whether the specified oscilloscope is a demo oscilloscope. More... | |
TIEPIE_HW_API tiepie_hw_demosignal | tiepie_hw_oscilloscope_channel_demo_get_signal (tiepie_hw_handle handle, uint16_t ch) |
Get the currently selected demo signal type of a specified demo oscilloscope channel. More... | |
TIEPIE_HW_API tiepie_hw_demosignal | tiepie_hw_oscilloscope_channel_demo_set_signal (tiepie_hw_handle handle, uint16_t ch, tiepie_hw_demosignal value) |
Set the demo signal type of a specified demo oscilloscope channel. More... | |
Functions to control demo signals of a demo oscilloscope channel.
A demo oscilloscope functions identical to a real instrument but it has the additional capability of simulating several different types of signals. Many aspects of these signals can be adjusted.
TIEPIE_HW_API tiepie_hw_bool tiepie_hw_oscilloscope_is_demo | ( | tiepie_hw_handle | handle | ) |
Check whether the specified oscilloscope is a demo oscilloscope.
[in] | handle | A device handle identifying the oscilloscope. |
TIEPIE_HW_STATUS_INVALID_HANDLE | The handle is not a valid oscilloscope handle. |
TIEPIE_HW_STATUS_OBJECT_GONE | |
TIEPIE_HW_STATUS_LIBRARY_NOT_INITIALIZED | |
TIEPIE_HW_STATUS_SUCCESS |
TIEPIE_HW_API tiepie_hw_demosignal tiepie_hw_oscilloscope_channel_demo_get_signal | ( | tiepie_hw_handle | handle, |
uint16_t | ch | ||
) |
Get the currently selected demo signal type of a specified demo oscilloscope channel.
[in] | handle | A device handle identifying the oscilloscope. |
[in] | ch | The channel number identifying the channel, 0 to tiepie_hw_oscilloscope_get_channel_count() - 1 . |
TIEPIE_HW_STATUS_NOT_SUPPORTED | The indicated channel does not support getting the demo signal type. |
TIEPIE_HW_STATUS_INVALID_CHANNEL | |
TIEPIE_HW_STATUS_INVALID_HANDLE | The handle is not a valid oscilloscope handle. |
TIEPIE_HW_STATUS_OBJECT_GONE | |
TIEPIE_HW_STATUS_LIBRARY_NOT_INITIALIZED | |
TIEPIE_HW_STATUS_SUCCESS |
TIEPIE_HW_API tiepie_hw_demosignal tiepie_hw_oscilloscope_channel_demo_set_signal | ( | tiepie_hw_handle | handle, |
uint16_t | ch, | ||
tiepie_hw_demosignal | value | ||
) |
Set the demo signal type of a specified demo oscilloscope channel.
[in] | handle | A device handle identifying the oscilloscope. |
[in] | ch | The channel number identifying the channel, 0 to tiepie_hw_oscilloscope_get_channel_count() - 1 . |
[in] | value | The requested demo signal type, a tiepie_hw_demosignal value. |
TIEPIE_HW_STATUS_NOT_SUPPORTED | The indicated channel does not support setting the demo signal type. |
TIEPIE_HW_STATUS_INVALID_VALUE | The requested signal type is not valid. |
TIEPIE_HW_STATUS_INVALID_CHANNEL | |
TIEPIE_HW_STATUS_INVALID_HANDLE | The handle is not a valid oscilloscope handle. |
TIEPIE_HW_STATUS_OBJECT_GONE | |
TIEPIE_HW_STATUS_LIBRARY_NOT_INITIALIZED | |
TIEPIE_HW_STATUS_SUCCESS |