Provides access to Qwerk's digital outputs.

Namespace:  AForge.Robotics.TeRK
Assembly:  AForge.Robotics.TeRK (in AForge.Robotics.TeRK.dll) Version: 2.2.5.0 (2.2.5.0)

Syntax

C#
[ObsoleteAttribute("The class is deprecated.")]
public class DigitalOut

Remarks

The class allows to manipulate Qwerk's digital outputs. The total number of available digital outputs equals to Count.

Note:The class is deprecated.

Sample usage:

CopyC#
// get Qwerk's digital outs service
Qwerk.DigitalOut digitalOuts = qwerk.GetDigitalOutService( );
// disbale all outputs
digitalOuts.SetOutputs( false );
// enable zero output
digitalOuts.SetOutput( 0, true );
// enable 2nd and 3rd outputs
bool[] mask = new bool[4] { false, false, true, true };
bool[] states = new bool[4] { false, false, true, true };
digitalOuts.SetOutputs( mask, states );

Inheritance Hierarchy

System..::.Object
  AForge.Robotics.TeRK..::.Qwerk..::.DigitalOut

See Also