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

Functions

double ScpChGetProbeGain (TpDeviceHandle_t hDevice, uint16_t wCh)
 Get channel probe gain.
 
double ScpChSetProbeGain (TpDeviceHandle_t hDevice, uint16_t wCh, double dProbeGain)
 Set channel probe gain.
 
double ScpChGetProbeOffset (TpDeviceHandle_t hDevice, uint16_t wCh)
 Get channel probe offset.
 
double ScpChSetProbeOffset (TpDeviceHandle_t hDevice, uint16_t wCh, double dProbeOffset)
 Set channel probe offset.
 

Detailed Description

By default probe gain is set to: 1x.

Function Documentation

double ScpChGetProbeGain ( TpDeviceHandle_t  hDevice,
uint16_t  wCh 
)

Get channel probe gain.

Parameters
hDeviceA device handle.
wChChannel number, 0 to ScpGetChannelCount() - 1.
Returns
Probe gain.
Since
0.4.0
double ScpChSetProbeGain ( TpDeviceHandle_t  hDevice,
uint16_t  wCh,
double  dProbeGain 
)

Set channel probe gain.

Parameters
hDeviceA device handle.
wChChannel number, 0 to ScpGetChannelCount() - 1.
dProbeGainProbe gain.
Returns
Probe gain.
Since
0.4.0
double ScpChGetProbeOffset ( TpDeviceHandle_t  hDevice,
uint16_t  wCh 
)

Get channel probe offset.

Parameters
hDeviceA device handle.
wChChannel number, 0 to ScpGetChannelCount() - 1.
Returns
Probe offset.
Since
0.4.4
double ScpChSetProbeOffset ( TpDeviceHandle_t  hDevice,
uint16_t  wCh,
double  dProbeOffset 
)

Set channel probe offset.

Parameters
hDeviceA device handle.
wChChannel number, 0 to ScpGetChannelCount() - 1.
dProbeOffsetProbe offset.
Returns
Probe offset.
Since
0.4.4