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

Functions for controlling the phase. More...

Functions

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

Detailed Description

Functions for controlling the phase.

By default the phase is set to: 0.

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