LibTiePie  0.7.4
Library for interfacing TiePie engineering instruments

Description

Functions to retrieve information from an oscilloscope channel.

Functions

uint32_t ScpChGetConnectorType (LibTiePieHandle_t hDevice, uint16_t wCh)
 Get the channel connector type. More...
 
bool8_t ScpChIsDifferential (LibTiePieHandle_t hDevice, uint16_t wCh)
 Check whether the channel has a differential input. More...
 
double ScpChGetImpedance (LibTiePieHandle_t hDevice, uint16_t wCh)
 Get the channel input impedance. More...
 

Function Documentation

uint32_t ScpChGetConnectorType ( LibTiePieHandle_t  hDevice,
uint16_t  wCh 
)

Get the channel connector type.

Parameters
[in]hDeviceA device handle identifying the oscilloscope.
[in]wChThe channel number identifying the channel, 0 to ScpGetChannelCount() - 1.
Returns
Channel connector type.
Status values
NOT_SUPPORTED The channel does not support reading the connector type.
INVALID_CHANNEL The requested channel number is invalid.
INVALID_HANDLE The handle is not a valid oscilloscope handle.
OBJECT_GONE The object indicated by the handle is no longer available.
LIBRARY_NOT_INITIALIZEDThe library is not initialized, see LibInit().
SUCCESS The function executed successfully.
Since
0.4.0
bool8_t ScpChIsDifferential ( LibTiePieHandle_t  hDevice,
uint16_t  wCh 
)

Check whether the channel has a differential input.

Parameters
[in]hDeviceA device handle identifying the oscilloscope.
[in]wChThe channel number identifying the channel, 0 to ScpGetChannelCount() - 1.
Returns
BOOL8_TRUE if differential, BOOL8_FALSE otherwise.
Status values
INVALID_CHANNEL The requested channel number is invalid.
INVALID_HANDLE The handle is not a valid oscilloscope handle.
OBJECT_GONE The object indicated by the handle is no longer available.
LIBRARY_NOT_INITIALIZEDThe library is not initialized, see LibInit().
SUCCESS The function executed successfully.
Since
0.4.0
double ScpChGetImpedance ( LibTiePieHandle_t  hDevice,
uint16_t  wCh 
)

Get the channel input impedance.

Parameters
[in]hDeviceA device handle identifying the oscilloscope.
[in]wChThe channel number identifying the channel, 0 to ScpGetChannelCount() - 1.
Returns
Channel input impedance in Ohm.
Status values
NOT_SUPPORTED The channel does not support reading the input impedance.
INVALID_CHANNEL The requested channel number is invalid.
INVALID_HANDLE The handle is not a valid oscilloscope handle.
OBJECT_GONE The object indicated by the handle is no longer available.
LIBRARY_NOT_INITIALIZEDThe library is not initialized, see LibInit().
SUCCESS The function executed successfully.
Since
0.4.5