LibTiePie
0.5
Library for interfacing TiePie engineering instruments
|
Functions to control the clock output type.
Oscilloscopes can support supplying a clock output signal, use ScpGetClockOutputs() to determine the available clock outputs for an oscilloscope.
When an oscilloscope supports selecting a clock output signal, refer to the instrument manual for the location of the clock output and the specifications of the clock output signal.
By default the clock output is disabled (CO_DISABLED).
Functions | |
uint32_t | ScpGetClockOutputs (TpDeviceHandle_t hDevice) |
Get the supported clock outputs of the specified oscilloscope. More... | |
uint32_t | ScpGetClockOutput (TpDeviceHandle_t hDevice) |
Get the currently selected clock output of the specified oscilloscope. More... | |
uint32_t | ScpSetClockOutput (TpDeviceHandle_t hDevice, uint32_t dwClockOutput) |
Set the clock output of the specified oscilloscope. More... | |
uint32_t ScpGetClockOutputs | ( | TpDeviceHandle_t | hDevice | ) |
Get the supported clock outputs of the specified oscilloscope.
[in] | hDevice | A device handle identifying the oscilloscope. |
0
when unsuccessful. INVALID_HANDLE | The handle is not a valid oscilloscope handle. |
DEVICE_GONE | The device indicated by the device handle is no longer available. |
LIBRARY_NOT_INITIALIZED | The library is not initialized, see LibInit(). |
SUCCESS | The function executed successfully. |
uint32_t ScpGetClockOutput | ( | TpDeviceHandle_t | hDevice | ) |
Get the currently selected clock output of the specified oscilloscope.
[in] | hDevice | A device handle identifying the oscilloscope. |
0
when unsuccessful. INVALID_HANDLE | The handle is not a valid oscilloscope handle. |
DEVICE_GONE | The device indicated by the device handle is no longer available. |
LIBRARY_NOT_INITIALIZED | The library is not initialized, see LibInit(). |
SUCCESS | The function executed successfully. |
uint32_t ScpSetClockOutput | ( | TpDeviceHandle_t | hDevice, |
uint32_t | dwClockOutput | ||
) |
Set the clock output of the specified oscilloscope.
[in] | hDevice | A device handle identifying the oscilloscope. |
[in] | dwClockOutput | The requested clock output, a CO_* value. |
0
when unsuccessful. INVALID_VALUE | The requested value is not valid. |
INVALID_HANDLE | The handle is not a valid oscilloscope handle. |
DEVICE_GONE | The device indicated by the device handle is no longer available. |
LIBRARY_NOT_INITIALIZED | The library is not initialized, see LibInit(). |
SUCCESS | The function executed successfully. |