Functions for controlling the signal edge times of a generator.
More...
|
TIEPIE_HW_API tiepie_hw_bool | tiepie_hw_generator_has_edge_time (tiepie_hw_handle handle) |
| Check whether the current signal type of a specified generator supports controlling the edge times.
|
|
TIEPIE_HW_API double | tiepie_hw_generator_get_leading_edge_time_min (tiepie_hw_handle handle) |
| Get the minimum leading edge time with the current pulse width and signal frequency, of a specified generator.
|
|
TIEPIE_HW_API double | tiepie_hw_generator_get_leading_edge_time_max (tiepie_hw_handle handle) |
| Get the maximum leading edge time with the current pulse width and signal frequency, of a specified generator.
|
|
TIEPIE_HW_API double | tiepie_hw_generator_get_leading_edge_time (tiepie_hw_handle handle) |
| Get the current leading edge time with the current pulse width and signal frequency, of a specified generator.
|
|
TIEPIE_HW_API double | tiepie_hw_generator_set_leading_edge_time (tiepie_hw_handle handle, double leading_edge_time) |
| Set the leading edge time, of a specified generator.
|
|
TIEPIE_HW_API double | tiepie_hw_generator_get_trailing_edge_time_min (tiepie_hw_handle handle) |
| Get the minimum trailing edge time with the current pulse width and signal frequency, of a specified generator.
|
|
TIEPIE_HW_API double | tiepie_hw_generator_get_trailing_edge_time_max (tiepie_hw_handle handle) |
| Get the maximum trailing edge time with the current pulse width and signal frequency, of a specified generator.
|
|
TIEPIE_HW_API double | tiepie_hw_generator_get_trailing_edge_time (tiepie_hw_handle handle) |
| Get the current trailing edge time with the current pulse width and signal frequency, of a specified generator.
|
|
TIEPIE_HW_API double | tiepie_hw_generator_set_trailing_edge_time (tiepie_hw_handle handle, double value) |
| Set the trailing edge time, of a specified generator.
|
|
Functions for controlling the signal edge times of a generator.
A pulse signal has a leading edge and a trailing edge. The duration of these edges can be set individually between a minimum and a maximum value.
For a positive pulse, the leading edge time is defined as the time it takes for the signal to go from 10% of the pulse height to 90% of the pulse height. And the trailing edge time is defined as the time it takes for the signal to go from 90% of the pulse height to 10% of the pulse height.
For a negative pulse, the leading edge time is defined as the time it takes for the signal to go from 90% of the pulse height to 10% of the pulse height. And the trailing edge time is defined as the time it takes for the signal to go from 10% of the pulse height to 90% of the pulse height.
Controlling the edge times is not available on all instruments and only available for signal type Pulse. Use tiepie_hw_generator_has_edge_time() to check whether your instrument and the current signal type of a specified generator support controlling the edge times. Use tiepie_hw_generator_get_leading_edge_time_min(), tiepie_hw_generator_get_leading_edge_time_max(), tiepie_hw_generator_get_trailing_edge_time_min() and tiepie_hw_generator_get_trailing_edge_time_max() to get the edge time limits. The minimum and maximum edge times depend on the currently set pulse width and signal frequency (period).
The edge times are defined in seconds.
The leading edge time and trailing edge time can be affected by changing the signal frequency or pulse width.
By default the edge times are set to: 8 ns.
◆ tiepie_hw_generator_has_edge_time()
◆ tiepie_hw_generator_get_leading_edge_time_min()
TIEPIE_HW_API double tiepie_hw_generator_get_leading_edge_time_min |
( |
tiepie_hw_handle |
handle | ) |
|
◆ tiepie_hw_generator_get_leading_edge_time_max()
TIEPIE_HW_API double tiepie_hw_generator_get_leading_edge_time_max |
( |
tiepie_hw_handle |
handle | ) |
|
◆ tiepie_hw_generator_get_leading_edge_time()
TIEPIE_HW_API double tiepie_hw_generator_get_leading_edge_time |
( |
tiepie_hw_handle |
handle | ) |
|
◆ tiepie_hw_generator_set_leading_edge_time()
TIEPIE_HW_API double tiepie_hw_generator_set_leading_edge_time |
( |
tiepie_hw_handle |
handle, |
|
|
double |
leading_edge_time |
|
) |
| |
◆ tiepie_hw_generator_get_trailing_edge_time_min()
TIEPIE_HW_API double tiepie_hw_generator_get_trailing_edge_time_min |
( |
tiepie_hw_handle |
handle | ) |
|
◆ tiepie_hw_generator_get_trailing_edge_time_max()
TIEPIE_HW_API double tiepie_hw_generator_get_trailing_edge_time_max |
( |
tiepie_hw_handle |
handle | ) |
|
◆ tiepie_hw_generator_get_trailing_edge_time()
TIEPIE_HW_API double tiepie_hw_generator_get_trailing_edge_time |
( |
tiepie_hw_handle |
handle | ) |
|
◆ tiepie_hw_generator_set_trailing_edge_time()
TIEPIE_HW_API double tiepie_hw_generator_set_trailing_edge_time |
( |
tiepie_hw_handle |
handle, |
|
|
double |
value |
|
) |
| |