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

Modules

 Info
 
 Coupling
 
 Enabled
 
 Probe
 
 Range
 
 Trigger
 This section contains all channel trigger related functions.
 

Functions

uint16_t ScpGetChannelCount (TpDeviceHandle_t hDevice)
 Get number of channels.
 
uint32_t ScpGetSharedChannelGroupCount (TpDeviceHandle_t hDevice)
 Get number of shared channel groups.
 
uint32_t ScpGetSharedChannelGroup (TpDeviceHandle_t hDevice, uint32_t dwGroupIndex, uint16_t *pChannelNumbers, uint32_t dwLength)
 Get channel number list for channel group.
 
bool8_t ScpChIsAvailable (TpDeviceHandle_t hDevice, uint16_t wCh)
 Check whether the channel is available.
 

Detailed Description

Function Documentation

uint16_t ScpGetChannelCount ( TpDeviceHandle_t  hDevice)

Get number of channels.

Parameters
hDeviceA device handle.
Returns
Number of channels.
Since
0.4.0
uint32_t ScpGetSharedChannelGroupCount ( TpDeviceHandle_t  hDevice)

Get number of shared channel groups.

Parameters
hDeviceA device handle.
Returns
Number of shared channel groups.
See Also
ScpGetSharedChannelGroup
Since
0.4.0
uint32_t ScpGetSharedChannelGroup ( TpDeviceHandle_t  hDevice,
uint32_t  dwGroupIndex,
uint16_t *  pChannelNumbers,
uint32_t  dwLength 
)

Get channel number list for channel group.

Parameters
hDeviceA device handle.
dwGroupIndexGroup index, 0 to ScpGetSharedChannelGroupCount() - 1.
pChannelNumbersPointer to channel number buffer or NULL.
dwLengthChannel number buffer length.
Returns
Number of channels in group.
See Also
ScpGetSharedChannelGroupCount
Since
0.4.0
bool8_t ScpChIsAvailable ( TpDeviceHandle_t  hDevice,
uint16_t  wCh 
)

Check whether the channel is available.

Parameters
hDeviceA device handle.
wChChannel number, 0 to ScpGetChannelCount() - 1.
Returns
BOOL8_TRUE if available, BOOL8_FALSE otherwise.
Since
0.4.4