Represents the set of read-only sensors available on certain devices.
More...
The OpalKelly::DeviceSensors class is a container and accessor for multiple device sensors that are retrieved from the device (via the OpalKelly::FrontPanel::GetDeviceSensors method). Each call to OpalKelly::FrontPanel::GetDeviceSensors resets the list of sensors contained in this class. The sensors may then be individually retrieved by the OpalKelly::DeviceSensors::GetSensor method.
◆ GetSensor()
- Parameters
-
| [in] | index | - Index of the sensor to retrieve. |
- Returns
- okTDeviceSensor - A sensor structure.
Use this method to retrieve a single sensor at a particular index. This index can be from 0 to N-1 where N is the number of sensors returned by GetSensorCount().
◆ GetSensorCount()
| int OpalKelly::DeviceSensors::GetSensorCount |
( |
| ) |
const |
|
inline |