Click or drag to resize

Voltage Class

Encapsulates Linux Industrial I/O Subsystem ADC floating point voltage inputs using libsimpleio.
Inheritance Hierarchy
SystemObject
  IO.Objects.SimpleIO.ADCVoltage

Namespace: IO.Objects.SimpleIO.ADC
Assembly: libsimpleio (in libsimpleio.dll) Version: 2.2025.251.1
Syntax
C#
public class Voltage : Voltage

The Voltage type exposes the following members.

Constructors
 NameDescription
Public methodVoltage Constructor for a single ADC floating point scaled voltage input.
Top
Properties
 NameDescription
Public propertyfd Read-only property returning the Linux file descriptor for this ADC input.
Public propertyname Read-only property returning the device name for this ADC input.
Public propertyreference Read-only property returning the reference voltage for this ADC input.
Public propertyscale Read-only property returning the scale factor for this ADC input.
Public propertyvoltage Read-only property returning a voltage measurement from an ADC input.
Top
Remarks
This class requires the ADC device to implement scaling, which may require a special device tree overlay that configures a voltage reference with the vref-supply property. The vref-supply property may requre a ficticious voltage regulator. See MUNTS-0018.dts for an example.
See Also