Provides access to Qwerk's digital inputs.
Namespace:
AForge.Robotics.TeRKAssembly: AForge.Robotics.TeRK (in AForge.Robotics.TeRK.dll) Version: 2.2.3.0 (2.2.3.0)
Syntax
| C# |
|---|
public class DigitalIn |
Remarks
The class allows to retrieve state of Qwerk's digital inputs. The total number of available digital inputs equals to Count.
Sample usage:
// get Qwerk's digital inputs service Qwerk.DigitalIn digitalIns = qwerk.GetDigitalInService( ); // get state of 0th input bool input0 = digitalIns.GetInput( 0 ); // get state of all inputs bool[] inputs = digitalIns.GetInputs( );