LibTiePie
0.4.2
Library for interfacing TiePie engineering instruments
|
Functions | |
double | GenGetAmplitudeMax (TpDeviceHandle_t hDevice) |
Get maximum signal amplitude. | |
double | GenGetAmplitudeMin (TpDeviceHandle_t hDevice) |
Get minimum signal amplitude. | |
double | GenGetAmplitude (TpDeviceHandle_t hDevice) |
Get signal amplitude. | |
double | GenSetAmplitude (TpDeviceHandle_t hDevice, double dAmplitude) |
Set signal amplitude. | |
bool8_t | GenGetAmplitudeAutoRanging (TpDeviceHandle_t hDevice) |
Get auto ranging. | |
bool8_t | GenSetAmplitudeAutoRanging (TpDeviceHandle_t hDevice, bool8_t bEnable) |
Set auto ranging. | |
uint32_t | GenGetAmplitudeRanges (TpDeviceHandle_t hDevice, double *pList, uint32_t dwLength) |
Get supported ranges. | |
double | GenGetAmplitudeRange (TpDeviceHandle_t hDevice) |
Get range. | |
double | GenSetAmplitudeRange (TpDeviceHandle_t hDevice, double dRange) |
Set range. | |
By default the amplitude is set to: 1 V and auto ranging is enabled (BOOL8_TRUE).
double GenGetAmplitude | ( | TpDeviceHandle_t | hDevice | ) |
bool8_t GenGetAmplitudeAutoRanging | ( | TpDeviceHandle_t | hDevice | ) |
Get auto ranging.
hDevice | A device handle. |
double GenGetAmplitudeMax | ( | TpDeviceHandle_t | hDevice | ) |
double GenGetAmplitudeMin | ( | TpDeviceHandle_t | hDevice | ) |
double GenGetAmplitudeRange | ( | TpDeviceHandle_t | hDevice | ) |
uint32_t GenGetAmplitudeRanges | ( | TpDeviceHandle_t | hDevice, |
double * | pList, | ||
uint32_t | dwLength | ||
) |
Get supported ranges.
Example:
hDevice | A device handle. |
pList | Pointer to array. |
dwLength | Number of elements in array. |
double GenSetAmplitude | ( | TpDeviceHandle_t | hDevice, |
double | dAmplitude | ||
) |
Set signal amplitude.
hDevice | A device handle. |
dAmplitude | Signal amplitude. |
bool8_t GenSetAmplitudeAutoRanging | ( | TpDeviceHandle_t | hDevice, |
bool8_t | bEnable | ||
) |
Set auto ranging.
hDevice | A device handle. |
bEnable | BOOL8_TRUE to enable or BOOL8_FALSE to disable. |
double GenSetAmplitudeRange | ( | TpDeviceHandle_t | hDevice, |
double | dRange | ||
) |
Set range.
Example:
hDevice | A device handle. |
dRange | Maximum value that must fit within range. |