Click or drag to resize

Sample Class

Encapsulates Linux Industrial I/O Subsystem ADC integer sampled data inputs using libsimpleio.
Inheritance Hierarchy
SystemObject
  IO.Objects.SimpleIO.ADCSample

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

The Sample type exposes the following members.

Constructors
 NameDescription
Public methodSample Constructor for a single ADC integer sampled data 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 propertyresolution Read-only property returning the number of bits of resolution for this ADC input.
Public propertysample Read-only property returning an integer analog sample from this ADC input.
Top
Remarks
This class requires a priori knowledge of the ADC device resolution. Use IO.Objects.SimpleIO.ADC.Voltage instead if the ADC device implements scaling.
See Also