LibTiePie  0.4.1
Library for interfacing TiePie engineering instruments
 All Files Functions Typedefs Groups Pages
Resolution

Functions

uint32_t ScpGetResolutions (TpDeviceHandle_t hDevice, uint8_t *pList, uint32_t dwLength)
 Get array with supported resolutions.
 
uint8_t ScpGetResolution (TpDeviceHandle_t hDevice)
 Get resolution.
 
uint8_t ScpSetResolution (TpDeviceHandle_t hDevice, uint8_t byResolution)
 Set resolution.
 
bool8_t ScpIsResolutionEnhanced (TpDeviceHandle_t hDevice)
 Check whether current resolution is enhanced.
 
bool8_t ScpIsResolutionEnhancedEx (TpDeviceHandle_t hDevice, uint8_t byResolution)
 Check whether resolution is enhanced.
 

Detailed Description

Function Documentation

uint8_t ScpGetResolution ( TpDeviceHandle_t  hDevice)

Get resolution.

Parameters
hDeviceA device handle.
Returns
Resolution.
uint32_t ScpGetResolutions ( TpDeviceHandle_t  hDevice,
uint8_t *  pList,
uint32_t  dwLength 
)

Get array with supported resolutions.

Parameters
hDeviceA device handle.
pListPointer to array.
dwLengthNumber of elements in array.
Returns
Total number of resolutions.
bool8_t ScpIsResolutionEnhanced ( TpDeviceHandle_t  hDevice)

Check whether current resolution is enhanced.

Parameters
hDeviceA device handle.
Returns
BOOL8_TRUE if current resolution is enhanced, BOOL8_FALSE otherwise.
bool8_t ScpIsResolutionEnhancedEx ( TpDeviceHandle_t  hDevice,
uint8_t  byResolution 
)

Check whether resolution is enhanced.

Parameters
hDeviceA device handle.
byResolutionResolution in bits.
Returns
BOOL8_TRUE if resolution is enhanced, BOOL8_FALSE otherwise.
uint8_t ScpSetResolution ( TpDeviceHandle_t  hDevice,
uint8_t  byResolution 
)

Set resolution.

Parameters
hDeviceA device handle.
byResolutionResolution in bits.
Returns
Resolution.