LibTiePie  0.4.5
Library for interfacing TiePie engineering instruments
 All Files Functions Typedefs Macros Modules Pages

Description

Functions for controlling the phase.

By default the phase is set to: 0.

Functions

double GenGetPhaseMin (TpDeviceHandle_t hDevice)
 Get minimum signal phase. More...
 
double GenGetPhaseMax (TpDeviceHandle_t hDevice)
 Get maximum signal phase. More...
 
double GenGetPhase (TpDeviceHandle_t hDevice)
 Get signal phase. More...
 
double GenSetPhase (TpDeviceHandle_t hDevice, double dPhase)
 Set signal phase. More...
 

Function Documentation

double GenGetPhaseMin ( TpDeviceHandle_t  hDevice)

Get minimum signal phase.

Parameters
hDeviceA device handle.
Returns
Minimum signal phase, 0 to 1.
Since
0.4.3
double GenGetPhaseMax ( TpDeviceHandle_t  hDevice)

Get maximum signal phase.

Parameters
hDeviceA device handle.
Returns
Maximum signal phase, 0 to 1.
Since
0.4.3
double GenGetPhase ( TpDeviceHandle_t  hDevice)

Get signal phase.

Parameters
hDeviceA device handle.
Returns
Signal phase, 0 to 1.
Since
0.4.0
double GenSetPhase ( TpDeviceHandle_t  hDevice,
double  dPhase 
)

Set signal phase.

Parameters
hDeviceA device handle.
dPhaseSignal phase, 0 to 1.
Returns
Signal phase, 0 to 1.
Remarks
When the generator is active, changing the phase will shortly interrupt the output signal.
When signal type DC or Noise is active, setting phase is not available.
Since
0.4.0