LibTiePie
0.9.8
Library for interfacing TiePie engineering instruments
|
Functions for controlling burst mode.
In burst mode, the generator generates a specified number of periods of the selected signal, a specified number of samples from the waveform buffer or a segement from the waveform buffer and then stops automatically.
Starting the generator is done using GenStart() and via an external trigger signal on a selected generator trigger input. For all burst modes except GM_BURST_COUNT a generator trigger input must be enabled.
The following burst modes are supported:
By default burst count, burst sample count and burst segment count are set to their minimum values.
Functions | |
bool8_t | GenIsBurstActive (LibTiePieHandle_t hDevice) |
Check whether a burst is active, of a specified generator. More... | |
uint64_t | GenGetBurstCountMin (LibTiePieHandle_t hDevice) |
Get the minimum burst count for the current generator mode of a specified generator. More... | |
uint64_t | GenGetBurstCountMax (LibTiePieHandle_t hDevice) |
Get the maximum burst count for the current generator mode of a specified generator. More... | |
uint64_t | GenGetBurstCount (LibTiePieHandle_t hDevice) |
Get the current burst count for the current generator mode of a specified generator. More... | |
uint64_t | GenSetBurstCount (LibTiePieHandle_t hDevice, uint64_t qwBurstCount) |
Set the burst count for the current generator mode of a specified generator. More... | |
uint64_t | GenGetBurstSampleCountMin (LibTiePieHandle_t hDevice) |
Get the minimum burst sample count for the current generator mode of a specified generator. More... | |
uint64_t | GenGetBurstSampleCountMax (LibTiePieHandle_t hDevice) |
Get the maximum burst sample count for the current generator mode of a specified generator. More... | |
uint64_t | GenGetBurstSampleCount (LibTiePieHandle_t hDevice) |
Get the current burst sample count for the current generator mode of a specified generator. More... | |
uint64_t | GenSetBurstSampleCount (LibTiePieHandle_t hDevice, uint64_t qwBurstSampleCount) |
Set the burst sample count for the current generator mode of a specified generator. More... | |
uint64_t | GenGetBurstSegmentCountMin (LibTiePieHandle_t hDevice) |
Get the minimum burst segment count for the current settings of a specified generator. More... | |
uint64_t | GenGetBurstSegmentCountMax (LibTiePieHandle_t hDevice) |
Get the maximum burst segment count for the current settings of a specified generator. More... | |
uint64_t | GenGetBurstSegmentCount (LibTiePieHandle_t hDevice) |
Get the current burst segment count of a specified generator. More... | |
uint64_t | GenSetBurstSegmentCount (LibTiePieHandle_t hDevice, uint64_t qwBurstSegmentCount) |
Set the burst segment count of a specified generator. More... | |
bool8_t GenIsBurstActive | ( | LibTiePieHandle_t | hDevice | ) |
Check whether a burst is active, of a specified generator.
[in] | hDevice | A device handle identifying the generator. |
NOT_SUPPORTED | The current generator mode does not support getting the burst status. |
INVALID_HANDLE | The handle is not a valid generator handle. |
OBJECT_GONE | The object indicated by the handle is no longer available. |
LIBRARY_NOT_INITIALIZED | The library is not initialized, see LibInit(). |
SUCCESS | The function executed successfully. |
uint64_t GenGetBurstCountMin | ( | LibTiePieHandle_t | hDevice | ) |
Get the minimum burst count for the current generator mode of a specified generator.
[in] | hDevice | A device handle identifying the generator. |
NOT_SUPPORTED | The generator does not support burst count in the current generator mode. |
INVALID_HANDLE | The handle is not a valid generator handle. |
OBJECT_GONE | The object indicated by the handle is no longer available. |
LIBRARY_NOT_INITIALIZED | The library is not initialized, see LibInit(). |
SUCCESS | The function executed successfully. |
uint64_t GenGetBurstCountMax | ( | LibTiePieHandle_t | hDevice | ) |
Get the maximum burst count for the current generator mode of a specified generator.
[in] | hDevice | A device handle identifying the generator. |
NOT_SUPPORTED | The generator does not support burst count in the current generator mode. |
INVALID_HANDLE | The handle is not a valid generator handle. |
OBJECT_GONE | The object indicated by the handle is no longer available. |
LIBRARY_NOT_INITIALIZED | The library is not initialized, see LibInit(). |
SUCCESS | The function executed successfully. |
uint64_t GenGetBurstCount | ( | LibTiePieHandle_t | hDevice | ) |
Get the current burst count for the current generator mode of a specified generator.
[in] | hDevice | A device handle identifying the generator. |
NOT_SUPPORTED | The generator does not support burst count in the current generator mode. |
INVALID_HANDLE | The handle is not a valid generator handle. |
OBJECT_GONE | The object indicated by the handle is no longer available. |
LIBRARY_NOT_INITIALIZED | The library is not initialized, see LibInit(). |
SUCCESS | The function executed successfully. |
uint64_t GenSetBurstCount | ( | LibTiePieHandle_t | hDevice, |
uint64_t | qwBurstCount | ||
) |
Set the burst count for the current generator mode of a specified generator.
[in] | hDevice | A device handle identifying the generator. |
[in] | qwBurstCount | The requested burst count, GenGetBurstCountMin() to GenGetBurstCountMax() . |
VALUE_CLIPPED | The requested burst count is outside the valid range and clipped to that range. |
INVALID_VALUE | The requested burst count is invalid. |
NOT_SUPPORTED | The generator does not support burst count in the current generator mode. |
INVALID_HANDLE | The handle is not a valid generator handle. |
OBJECT_GONE | The object indicated by the handle is no longer available. |
LIBRARY_NOT_INITIALIZED | The library is not initialized, see LibInit(). |
SUCCESS | The function executed successfully. |
uint64_t GenGetBurstSampleCountMin | ( | LibTiePieHandle_t | hDevice | ) |
Get the minimum burst sample count for the current generator mode of a specified generator.
[in] | hDevice | A device handle identifying the generator. |
NOT_SUPPORTED | The generator does not support burst sample count in the current generator mode. |
INVALID_HANDLE | The handle is not a valid generator handle. |
OBJECT_GONE | The object indicated by the handle is no longer available. |
LIBRARY_NOT_INITIALIZED | The library is not initialized, see LibInit(). |
SUCCESS | The function executed successfully. |
uint64_t GenGetBurstSampleCountMax | ( | LibTiePieHandle_t | hDevice | ) |
Get the maximum burst sample count for the current generator mode of a specified generator.
[in] | hDevice | A device handle identifying the generator. |
NOT_SUPPORTED | The generator does not support burst sample count in the current generator mode. |
INVALID_HANDLE | The handle is not a valid generator handle. |
OBJECT_GONE | The object indicated by the handle is no longer available. |
LIBRARY_NOT_INITIALIZED | The library is not initialized, see LibInit(). |
SUCCESS | The function executed successfully. |
uint64_t GenGetBurstSampleCount | ( | LibTiePieHandle_t | hDevice | ) |
Get the current burst sample count for the current generator mode of a specified generator.
[in] | hDevice | A device handle identifying the generator. |
NOT_SUPPORTED | The generator does not support burst sample count in the current generator mode. |
INVALID_HANDLE | The handle is not a valid generator handle. |
OBJECT_GONE | The object indicated by the handle is no longer available. |
LIBRARY_NOT_INITIALIZED | The library is not initialized, see LibInit(). |
SUCCESS | The function executed successfully. |
uint64_t GenSetBurstSampleCount | ( | LibTiePieHandle_t | hDevice, |
uint64_t | qwBurstSampleCount | ||
) |
Set the burst sample count for the current generator mode of a specified generator.
[in] | hDevice | A device handle identifying the generator. |
[in] | qwBurstSampleCount | The requested burst sample count, GenGetBurstSampleCountMin() to GenGetBurstSampleCountMax() . |
VALUE_CLIPPED | The requested burst sample count is outside the valid range and clipped to that range. |
INVALID_VALUE | The requested burst sample count is invalid. |
NOT_SUPPORTED | The generator does not support burst sample count in the current generator mode. |
INVALID_HANDLE | The handle is not a valid generator handle. |
OBJECT_GONE | The object indicated by the handle is no longer available. |
LIBRARY_NOT_INITIALIZED | The library is not initialized, see LibInit(). |
SUCCESS | The function executed successfully. |
uint64_t GenGetBurstSegmentCountMin | ( | LibTiePieHandle_t | hDevice | ) |
Get the minimum burst segment count for the current settings of a specified generator.
[in] | hDevice | A device handle identifying the generator. |
NOT_SUPPORTED | The generator does not support burst segment count in the current generator mode. |
INVALID_HANDLE | The handle is not a valid generator handle. |
OBJECT_GONE | The object indicated by the handle is no longer available. |
LIBRARY_NOT_INITIALIZED | The library is not initialized, see LibInit(). |
SUCCESS | The function executed successfully. |
uint64_t GenGetBurstSegmentCountMax | ( | LibTiePieHandle_t | hDevice | ) |
Get the maximum burst segment count for the current settings of a specified generator.
[in] | hDevice | A device handle identifying the generator. |
NOT_SUPPORTED | The generator does not support burst segment count in the current generator mode. |
INVALID_HANDLE | The handle is not a valid generator handle. |
OBJECT_GONE | The object indicated by the handle is no longer available. |
LIBRARY_NOT_INITIALIZED | The library is not initialized, see LibInit(). |
SUCCESS | The function executed successfully. |
uint64_t GenGetBurstSegmentCount | ( | LibTiePieHandle_t | hDevice | ) |
Get the current burst segment count of a specified generator.
[in] | hDevice | A device handle identifying the generator. |
NOT_SUPPORTED | The generator does not support burst segment count in the current generator mode. |
INVALID_HANDLE | The handle is not a valid generator handle. |
OBJECT_GONE | The object indicated by the handle is no longer available. |
LIBRARY_NOT_INITIALIZED | The library is not initialized, see LibInit(). |
SUCCESS | The function executed successfully. |
uint64_t GenSetBurstSegmentCount | ( | LibTiePieHandle_t | hDevice, |
uint64_t | qwBurstSegmentCount | ||
) |
Set the burst segment count of a specified generator.
[in] | hDevice | A device handle identifying the generator. |
[in] | qwBurstSegmentCount | The requested burst segment count, GenGetBurstSegmentCountMin() to GenGetBurstSegmentCountMax() . |
VALUE_CLIPPED | The requested burst segment count is outside the valid range and clipped to that range. |
VALUE_MODIFIED | The requested burst sample count is inside the valid range but not available. The closest valid value is set. |
INVALID_VALUE | The requested burst segment count is invalid. |
NOT_SUPPORTED | The generator does not support burst segment count in the current generator mode. |
INVALID_HANDLE | The handle is not a valid generator handle. |
OBJECT_GONE | The object indicated by the handle is no longer available. |
LIBRARY_NOT_INITIALIZED | The library is not initialized, see LibInit(). |
SUCCESS | The function executed successfully. |