| 
    LibTiePie
    0.4.3
    
   Library for interfacing TiePie engineering instruments 
   | 
 
Functions | |
| bool8_t | ScpChGetAutoRanging (TpDeviceHandle_t hDevice, uint16_t wCh) | 
| Check whether auto ranging is enabled.   | |
| bool8_t | ScpChSetAutoRanging (TpDeviceHandle_t hDevice, uint16_t wCh, bool8_t bEnable) | 
| Set auto ranging.   | |
| uint32_t | ScpChGetRanges (TpDeviceHandle_t hDevice, uint16_t wCh, double *pList, uint32_t dwLength) | 
| Get supported ranges for current coupling.   | |
| double | ScpChGetRange (TpDeviceHandle_t hDevice, uint16_t wCh) | 
| Get range.   | |
| double | ScpChSetRange (TpDeviceHandle_t hDevice, uint16_t wCh, double dRange) | 
| Set range.   | |
By default the highest available range is selected and auto ranging is enabled.
| bool8_t ScpChGetAutoRanging | ( | TpDeviceHandle_t | hDevice, | 
| uint16_t | wCh | ||
| ) | 
Check whether auto ranging is enabled.
| hDevice | A device handle. | 
| wCh | Channel number, 0 to ScpGetChannelCount() - 1.  | 
| bool8_t ScpChSetAutoRanging | ( | TpDeviceHandle_t | hDevice, | 
| uint16_t | wCh, | ||
| bool8_t | bEnable | ||
| ) | 
Set auto ranging.
| hDevice | A device handle. | 
| wCh | Channel number, 0 to ScpGetChannelCount() - 1.  | 
| bEnable | BOOL8_TRUE to enable or BOOL8_FALSE to disable. | 
| uint32_t ScpChGetRanges | ( | TpDeviceHandle_t | hDevice, | 
| uint16_t | wCh, | ||
| double * | pList, | ||
| uint32_t | dwLength | ||
| ) | 
Get supported ranges for current coupling.
Example:
| hDevice | A device handle. | 
| wCh | Channel number, 0 to ScpGetChannelCount() - 1.  | 
| pList | Pointer to array. | 
| dwLength | Number of elements in array. | 
| double ScpChGetRange | ( | TpDeviceHandle_t | hDevice, | 
| uint16_t | wCh | ||
| ) | 
Get range.
| hDevice | A device handle. | 
| wCh | Channel number, 0 to ScpGetChannelCount() - 1.  | 
| double ScpChSetRange | ( | TpDeviceHandle_t | hDevice, | 
| uint16_t | wCh, | ||
| double | dRange | ||
| ) | 
Set range.
Example:
| hDevice | A device handle. | 
| wCh | Channel number, 0 to ScpGetChannelCount() - 1.  | 
| dRange | Maximum value that must fit within range. |