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

The enabled state of a channel trigger determines whether a channel is selected as trigger source. More...

Functions

bool8_t ScpChTrGetEnabled (TpDeviceHandle_t hDevice, uint16_t wCh)
 Check whether channel trigger is enabled.
 
bool8_t ScpChTrSetEnabled (TpDeviceHandle_t hDevice, uint16_t wCh, bool8_t bEnable)
 To select a channel as trigger source, set channel trigger enable.
 

Detailed Description

The enabled state of a channel trigger determines whether a channel is selected as trigger source.

By default channel 1 is enabled, all other channels are disabled.

Function Documentation

bool8_t ScpChTrGetEnabled ( TpDeviceHandle_t  hDevice,
uint16_t  wCh 
)

Check whether channel trigger is enabled.

Parameters
hDeviceA device handle.
wChChannel number, 0 to ScpGetChannelCount() - 1.
Returns
BOOL8_TRUE if enabled, BOOL8_FALSE otherwise.
See Also
ScpChTrSetEnabled
bool8_t ScpChTrSetEnabled ( TpDeviceHandle_t  hDevice,
uint16_t  wCh,
bool8_t  bEnable 
)

To select a channel as trigger source, set channel trigger enable.

Parameters
hDeviceA device handle.
wChChannel number, 0 to ScpGetChannelCount() - 1.
bEnableBOOL8_TRUE or BOOL8_FALSE.
Returns
BOOL8_TRUE if enabled, BOOL8_FALSE otherwise.
See Also
ScpChTrGetEnabled