LibTiePie  0.4.3
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.
 

Detailed Description

Function Documentation

uint16_t ScpGetChannelCount ( TpDeviceHandle_t  hDevice)

Get number of channels.

Parameters
hDeviceA device handle.
Returns
Number of channels.
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
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