|
LibTiePie
0.4.0
Library for interfacing TiePie engineering instruments
|
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 | 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 | ScpChGetConnectorType (TpDeviceHandle_t hDevice, uint16_t wCh) |
| Get channel connector type. | |
| uint64_t | ScpChGetCouplings (TpDeviceHandle_t hDevice, uint16_t wCh) |
| Get supported couplings. | |
| uint64_t | ScpChGetCoupling (TpDeviceHandle_t hDevice, uint16_t wCh) |
| Get coupling. | |
| uint64_t | ScpChSetCoupling (TpDeviceHandle_t hDevice, uint16_t wCh, uint64_t qwCoupling) |
| Set coupling. | |
| bool8_t | ScpChGetEnabled (TpDeviceHandle_t hDevice, uint16_t wCh) |
| Check whether channel is enabled. | |
| bool8_t | ScpChSetEnabled (TpDeviceHandle_t hDevice, uint16_t wCh, bool8_t bEnable) |
| Set channel enable. | |
| bool8_t | ScpChIsDifferential (TpDeviceHandle_t hDevice, uint16_t wCh) |
| Check whether the channel has a differential input. | |
| double | ScpChGetProbeGain (TpDeviceHandle_t hDevice, uint16_t wCh) |
| Get channel probe gain. | |
| double | ScpChSetProbeGain (TpDeviceHandle_t hDevice, uint16_t wCh, double dProbeGain) |
| Set channel probe gain. | |
| uint32_t | ScpChGetRanges (TpDeviceHandle_t hDevice, uint16_t wCh, double *pList, uint32_t dwLength) |
| Get supported ranges for current coupling. | |
| uint32_t | ScpChGetRangesEx (TpDeviceHandle_t hDevice, uint16_t wCh, uint64_t qwCoupling, double *pList, uint32_t dwLength) |
| Get supported ranges by coupling. | |
| double | ScpChGetRange (TpDeviceHandle_t hDevice, uint16_t wCh) |
| Get range. | |
| double | ScpChSetRange (TpDeviceHandle_t hDevice, uint16_t wCh, double dRange) |
| Set range. | |
| bool8_t ScpChGetAutoRanging | ( | TpDeviceHandle_t | hDevice, |
| uint16_t | wCh | ||
| ) |
Check whether auto ranging is enabled.
| hDevice | A device handle. |
| wCh | Channel number, 0..ScpGetChannelCount() - 1. |
| uint32_t ScpChGetConnectorType | ( | TpDeviceHandle_t | hDevice, |
| uint16_t | wCh | ||
| ) |
Get channel connector type.
| hDevice | A device handle. |
| wCh | Channel number, 0..ScpGetChannelCount() - 1. |
| uint64_t ScpChGetCoupling | ( | TpDeviceHandle_t | hDevice, |
| uint16_t | wCh | ||
| ) |
Get coupling.
| hDevice | A device handle. |
| wCh | Channel number, 0..ScpGetChannelCount() - 1. |
| uint64_t ScpChGetCouplings | ( | TpDeviceHandle_t | hDevice, |
| uint16_t | wCh | ||
| ) |
Get supported couplings.
| hDevice | A device handle. |
| wCh | Channel number, 0..ScpGetChannelCount() - 1. |
| bool8_t ScpChGetEnabled | ( | TpDeviceHandle_t | hDevice, |
| uint16_t | wCh | ||
| ) |
Check whether channel is enabled.
| hDevice | A device handle. |
| wCh | Channel number, 0..ScpGetChannelCount() - 1. |
| double ScpChGetProbeGain | ( | TpDeviceHandle_t | hDevice, |
| uint16_t | wCh | ||
| ) |
Get channel probe gain.
| hDevice | A device handle. |
| wCh | Channel number, 0..ScpGetChannelCount() - 1. |
| double ScpChGetRange | ( | TpDeviceHandle_t | hDevice, |
| uint16_t | wCh | ||
| ) |
Get range.
| hDevice | A device handle. |
| wCh | Channel number, 0..ScpGetChannelCount() - 1. |
| 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..ScpGetChannelCount() - 1. |
| pList | Pointer to array. |
| dwLength | Number of elements in array. |
| uint32_t ScpChGetRangesEx | ( | TpDeviceHandle_t | hDevice, |
| uint16_t | wCh, | ||
| uint64_t | qwCoupling, | ||
| double * | pList, | ||
| uint32_t | dwLength | ||
| ) |
Get supported ranges by coupling.
| hDevice | A device handle. |
| wCh | Channel number, 0..ScpGetChannelCount() - 1. |
| qwCoupling | Coupling: a CK_* value. |
| pList | Pointer to array. |
| dwLength | Number of elements in array. |
| bool8_t ScpChIsDifferential | ( | TpDeviceHandle_t | hDevice, |
| uint16_t | wCh | ||
| ) |
Check whether the channel has a differential input.
| hDevice | A device handle. |
| wCh | Channel number, 0..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..ScpGetChannelCount() - 1. |
| bEnable | BOOL8_TRUE to enable or BOOL8_FALSE to disable. |
| uint64_t ScpChSetCoupling | ( | TpDeviceHandle_t | hDevice, |
| uint16_t | wCh, | ||
| uint64_t | qwCoupling | ||
| ) |
Set coupling.
| hDevice | A device handle. |
| wCh | Channel number, 0..ScpGetChannelCount() - 1. |
| qwCoupling | Coupling: a CK_* value. |
| bool8_t ScpChSetEnabled | ( | TpDeviceHandle_t | hDevice, |
| uint16_t | wCh, | ||
| bool8_t | bEnable | ||
| ) |
Set channel enable.
| hDevice | A device handle. |
| wCh | Channel number, 0..ScpGetChannelCount() - 1. |
| bEnable |
| double ScpChSetProbeGain | ( | TpDeviceHandle_t | hDevice, |
| uint16_t | wCh, | ||
| double | dProbeGain | ||
| ) |
Set channel probe gain.
| hDevice | A device handle. |
| wCh | Channel number, 0..ScpGetChannelCount() - 1. |
| dProbeGain | Probe gain. |
| double ScpChSetRange | ( | TpDeviceHandle_t | hDevice, |
| uint16_t | wCh, | ||
| double | dRange | ||
| ) |
Set range.
Example:
| hDevice | A device handle. |
| wCh | Channel number, 0..ScpGetChannelCount() - 1. |
| dRange | Maximum value that must fit within range. |
| uint16_t ScpGetChannelCount | ( | TpDeviceHandle_t | hDevice | ) |
| uint32_t ScpGetSharedChannelGroup | ( | TpDeviceHandle_t | hDevice, |
| uint32_t | dwGroupIndex, | ||
| uint16_t * | pChannelNumbers, | ||
| uint32_t | dwLength | ||
| ) |
Get channel number list for channel group.
| hDevice | A device handle. |
| dwGroupIndex | Group index, 0..ScpGetSharedChannelGroupCount() - 1. |
| pChannelNumbers | Pointer to channel number buffer or NULL. |
| dwLength | Channel number buffer length. |
| uint32_t ScpGetSharedChannelGroupCount | ( | TpDeviceHandle_t | hDevice | ) |
Get number of shared channel groups.
| hDevice | A device handle. |