Functions to control the clock source of the oscilloscope.
Oscilloscopes can support multiple clock sources, use ScpGetClockSources() to determine the available clock sources for an oscilloscope.
When an oscilloscope supports selecting an external clock source, refer to the instrument manual for the location of the external clock input and the specifications of the required external clock signal.
By default the clock source is set to: Internal (CS_INTERNAL).
Get the supported clock sources of the specified oscilloscope.
- Parameters
-
- Returns
- The supported clock sources, a set of OR-ed CS_* values, or
0
when unsuccessful.
- Status values
-
- See also
- ScpGetClockSource
-
ScpSetClockSource
- Since
- 0.4.0
Get the currently selected clock source of the specified oscilloscope.
- Parameters
-
- Returns
- The current clock source, a CS_* value, or
0
when unsuccessful.
- Status values
-
- See also
- ScpGetClockSources
-
ScpSetClockSource
- Since
- 0.4.0
Set the clock source of the specified oscilloscope.
- Parameters
-
[in] | hDevice | A device handle identifying the oscilloscope. |
[in] | dwClockSource | The requested clock source, a CS_* value. |
- Returns
- The actually set clock source, a CS_* value, or
0
when unsuccessful.
- Status values
-
- See also
- ScpGetClockSources
-
ScpGetClockSource
- Since
- 0.4.0