Functions to setup and control oscilloscope channels.
An oscilloscope will have one or more input channels. Use ScpGetChannelCount() to determine the amount of available channels.
All oscilloscope channel related functions use a channel number parameter to identify the channel. Channel numbers start at 0
for the first channel.
|
| Info |
| Functions to retrieve information from an oscilloscope channel.
|
|
| Coupling |
| Functions to control the input coupling of an oscilloscope channel.
|
|
| Enabled |
| Functions to control the enabled state of an oscilloscope channel.
|
|
| Probe |
| Functions to control the probe settings of an oscilloscope channel.
|
|
| Range |
| Functions to control the input range of an oscilloscope channel.
|
|
| Trigger |
| Functions to control the trigger settings of an input channel.
|
|
Get the number of channels.
- Parameters
-
- Returns
- The number of channels.
- Status values
INVALID_HANDLE | The handle is not a valid oscilloscope handle. |
DEVICE_GONE | The device indicated by the device handle is no longer available. |
SUCCESS | The function executed successfully. |
- Since
- 0.4.0
Check whether the channel is available.
Depending on other settings, a channel may currently not be available. It can still be enabled, but that will affect other settings.
- Parameters
-
- Returns
- BOOL8_TRUE if available, BOOL8_FALSE otherwise.
- Status values
INVALID_CHANNEL | The requested channel number 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. |
SUCCESS | The function executed successfully. |
- Since
- 0.4.4