LibTiePie  0.4.4
Library for interfacing TiePie engineering instruments
 All Files Functions Typedefs Macros Groups Pages
Signal type

Functions for controlling the signal type. More...

Functions

uint32_t GenGetSignalTypes (TpDeviceHandle_t hDevice)
 Get supported signal types.
 
uint32_t GenGetSignalType (TpDeviceHandle_t hDevice)
 Get signal type.
 
uint32_t GenSetSignalType (TpDeviceHandle_t hDevice, uint32_t dwSignalType)
 Set signal type.
 

Detailed Description

Functions for controlling the signal type.

By default signal type is set to: Sine (ST_SINE).

Function Documentation

uint32_t GenGetSignalTypes ( TpDeviceHandle_t  hDevice)

Get supported signal types.

Parameters
hDeviceA device handle.
Returns
Supported signal types, a set of ST_* values.
Since
0.4.0
uint32_t GenGetSignalType ( TpDeviceHandle_t  hDevice)

Get signal type.

Parameters
hDeviceA device handle.
Returns
Signal type, a ST_* value.
Since
0.4.0
uint32_t GenSetSignalType ( TpDeviceHandle_t  hDevice,
uint32_t  dwSignalType 
)

Set signal type.

Parameters
hDeviceA device handle.
dwSignalTypeSignal type, a ST_* value.
Returns
Signal type, a ST_* value.
Remarks
When the generator is active, changing the signal type may shortly interrupt the output signal.
Changing the signal type can affect the frequency mode.
Setting certain signal types will make other generator properties unavailable.
Since
0.4.0