LibTiePie
0.4.5
Library for interfacing TiePie engineering instruments
|
Functions for controlling the signal type.
The generator supports several standard signal types. Depending on the signal type that is set, other properties of the generator are available:
Signal type | Amplitude | Offset | Frequency | Phase | Symmetry | Data |
---|---|---|---|---|---|---|
Sine | yes | yes | yes | yes | yes | no |
Triangle | yes | yes | yes | yes | yes | no |
Square | yes | yes | yes | yes | yes | no |
DC | no | yes | no | no | no | no |
Noise | yes | yes | yes | no | no | no |
Arbitrary | yes | yes | yes | yes | no | yes |
By default signal type is set to: Sine (ST_SINE).
Functions | |
uint32_t | GenGetSignalTypes (TpDeviceHandle_t hDevice) |
Get supported signal types. More... | |
uint32_t | GenGetSignalType (TpDeviceHandle_t hDevice) |
Get signal type. More... | |
uint32_t | GenSetSignalType (TpDeviceHandle_t hDevice, uint32_t dwSignalType) |
Set signal type. More... | |
uint32_t GenGetSignalTypes | ( | TpDeviceHandle_t | hDevice | ) |
Get supported signal types.
hDevice | A device handle. |
uint32_t GenGetSignalType | ( | TpDeviceHandle_t | hDevice | ) |
uint32_t GenSetSignalType | ( | TpDeviceHandle_t | hDevice, |
uint32_t | dwSignalType | ||
) |
Set signal type.
hDevice | A device handle. |
dwSignalType | Signal type, a ST_* value. |