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

Functions

uint64_t ScpChGetCouplings (TpDeviceHandle_t hDevice, uint16_t wCh)
 Get supported couplings.
 
uint64_t ScpChGetCoupling (TpDeviceHandle_t hDevice, uint16_t wCh)
 Get coupling.
 
uint64_t ScpChSetCoupling (TpDeviceHandle_t hDevice, uint16_t wCh, uint64_t qwCoupling)
 Set coupling.
 

Detailed Description

By default the coupling is set to: Volt DC (CK_DCV).

Function Documentation

uint64_t ScpChGetCouplings ( TpDeviceHandle_t  hDevice,
uint16_t  wCh 
)

Get supported couplings.

Parameters
hDeviceA device handle.
wChChannel number, 0 to ScpGetChannelCount() - 1.
Returns
Supported couplings, a set of OR-ed CK_* values.
Since
0.4.0
uint64_t ScpChGetCoupling ( TpDeviceHandle_t  hDevice,
uint16_t  wCh 
)

Get coupling.

Parameters
hDeviceA device handle.
wChChannel number, 0 to ScpGetChannelCount() - 1.
Returns
Coupling, a CK_* value.
Since
0.4.0
uint64_t ScpChSetCoupling ( TpDeviceHandle_t  hDevice,
uint16_t  wCh,
uint64_t  qwCoupling 
)

Set coupling.

Parameters
hDeviceA device handle.
wChChannel number, 0 to ScpGetChannelCount() - 1.
qwCouplingCoupling, a CK_* value.
Returns
Coupling, a CK_* value.
Since
0.4.0