|
libtiepie
|
| 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 |
1 if enabled, 0 if disabled | uint32_t ScpChGetConnectorType | ( | TpDeviceHandle_t | hDevice, |
| uint16_t | wCh | ||
| ) |
Get channel connector type.
| hDevice | a device handle |
| uint64_t ScpChGetCoupling | ( | TpDeviceHandle_t | hDevice, |
| uint16_t | wCh | ||
| ) |
Get current 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 |
1 if enabled, 0 if disabled. | 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 current 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 |
1 if differential, else 0. | bool8_t ScpChIsDualRateCapable | ( | TpDeviceHandle_t | hDevice, |
| uint16_t | wCh | ||
| ) |
| hDevice | a device handle |
| 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 | ? |
1 if enabled, 0 if disabled | 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 | ? |
1 if enabled, 0 if disabled. | 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 values that must fit within range |
| uint16_t ScpGetChannelCount | ( | TpDeviceHandle_t | hDevice | ) |
Get total number of channels supported by the oscilloscope
| hDevice | a device handle |
| uint32_t ScpGetSharedChannelGroup | ( | TpDeviceHandle_t | hDevice, |
| uint32_t | dwGroupIndex, | ||
| uint16_t * | pChannelNumbers, | ||
| uint32_t | dwLength | ||
| ) |
| hDevice | a device handle |
| uint32_t ScpGetSharedChannelGroupCount | ( | TpDeviceHandle_t | hDevice | ) |
| hDevice | a device handle |