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

Functions

bool8_t ScpChGetEnabled (TpDeviceHandle_t hDevice, uint16_t wCh)
 Check whether channel is enabled.
 
bool8_t ScpChSetEnabled (TpDeviceHandle_t hDevice, uint16_t wCh, bool8_t bEnable)
 Set channel enable.
 

Detailed Description

By default all channels are enabled (BOOL8_TRUE).

Function Documentation

bool8_t ScpChGetEnabled ( TpDeviceHandle_t  hDevice,
uint16_t  wCh 
)

Check whether channel is enabled.

Parameters
hDeviceA device handle.
wChChannel number, 0 to ScpGetChannelCount() - 1.
Returns
BOOL8_TRUE if enabled, BOOL8_FALSE if disabled.
Since
0.4.0
bool8_t ScpChSetEnabled ( TpDeviceHandle_t  hDevice,
uint16_t  wCh,
bool8_t  bEnable 
)

Set channel enable.

Parameters
hDeviceA device handle.
wChChannel number, 0 to ScpGetChannelCount() - 1.
bEnableBOOL8_TRUE or BOOL8_FALSE.
Returns
BOOL8_TRUE if enabled, BOOL8_FALSE if disabled.
Remarks
Changing the channel enable may affect the sample frequency and/or record length.
Since
0.4.0