libtiepie
0.3.0
|
Functions | |
uint16_t | ScpGetChannelCount (TpDeviceHandle_t hDevice) |
uint32_t | ScpGetSharedChannelGroupCount (TpDeviceHandle_t hDevice) |
uint32_t | ScpGetSharedChannelGroup (TpDeviceHandle_t hDevice, uint32_t dwGroupIndex, uint16_t *pChannelNumbers, uint32_t dwLength) |
bool8_t | ScpChGetAutoRanging (TpDeviceHandle_t hDevice, uint16_t wCh) |
bool8_t | ScpChSetAutoRanging (TpDeviceHandle_t hDevice, uint16_t wCh, bool8_t bEnable) |
uint32_t | ScpChGetConnectorType (TpDeviceHandle_t hDevice, uint16_t wCh) |
uint64_t | ScpChGetCouplings (TpDeviceHandle_t hDevice, uint16_t wCh) |
uint64_t | ScpChGetCoupling (TpDeviceHandle_t hDevice, uint16_t wCh) |
uint64_t | ScpChSetCoupling (TpDeviceHandle_t hDevice, uint16_t wCh, uint64_t qwCoupling) |
bool8_t | ScpChGetEnabled (TpDeviceHandle_t hDevice, uint16_t wCh) |
bool8_t | ScpChSetEnabled (TpDeviceHandle_t hDevice, uint16_t wCh, bool8_t bEnable) |
bool8_t | ScpChIsDifferential (TpDeviceHandle_t hDevice, uint16_t wCh) |
bool8_t | ScpChIsDualRateCapable (TpDeviceHandle_t hDevice, uint16_t wCh) |
double | ScpChGetProbeGain (TpDeviceHandle_t hDevice, uint16_t wCh) |
double | ScpChSetProbeGain (TpDeviceHandle_t hDevice, uint16_t wCh, double dProbeGain) |
uint32_t | ScpChGetRanges (TpDeviceHandle_t hDevice, uint16_t wCh, double *pList, uint32_t dwLength) |
uint32_t | ScpChGetRangesEx (TpDeviceHandle_t hDevice, uint16_t wCh, uint64_t qwCoupling, double *pList, uint32_t dwLength) |
double | ScpChGetRange (TpDeviceHandle_t hDevice, uint16_t wCh) |
double | ScpChSetRange (TpDeviceHandle_t hDevice, uint16_t wCh, double dRange) |
bool8_t ScpChGetAutoRanging | ( | TpDeviceHandle_t | hDevice, |
uint16_t | wCh | ||
) |
Check if 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 if 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 array with supported ranges
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 array with supported ranges
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 | ||
) |
hDevice | a device handle |
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
hDevice | a device handle |
wCh | channel number: 0..ScpGetChannelCount() - 1 |
dRange | ? |
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 |