Click or drag to resize

IIOProtocol Interface

The protocol which describes the interface to an Input Output device

Namespace:  Brainboxes.IO
Assembly:  Brainboxes.IO (in Brainboxes.IO.dll) Version: 1.5.0.0 (1.5.0.0)
Syntax
public interface IIOProtocol : IProtocol

The IIOProtocol type exposes the following members.

Properties
  NameDescription
Public propertyDeviceName
The name of the Device
Public propertyIOCounterUpdateDirection
Signifies whether an Input counter changes on a rising edge or falling edge
Public propertyStream
The stream on which the protocol acts
(Inherited from IProtocol.)
Top
Methods
  NameDescription
Public methodClearAllLatchedDigitalInputs
Clear the Latches
Public methodClearAllLatchedInputs Obsolete.
Clear the Latches
Public methodClearDigitalInputLineCount
Clears the digital input counter of the specified channel.
Public methodClearLineCount Obsolete.
Clears the digital input counter of the specified channel.
Public methodGetAllAnalogInputLineStates
Gets the state of all the Analog Input lines of the device as double[lineNumber]
Public methodGetAllAnalogOutputLineStates
Gets the state of all the Analog Output lines of the device as double[lineNumber]
Public methodGetAllDigitalLineStates
Get All digital Line States, where each bit represents the state of the corresponding line number
Public methodGetAllLatchedHighDigitalInputStates
Get ALL Latched High Digital Input States, where each bit represents whether the corresponding line is latched high
Public methodGetAllLatchedHighInputStates Obsolete.
Get ALL Latched High Digital Input States, where each bit represents whether the corresponding line is latched high
Public methodGetAllLatchedLowDigitalInputStates
Get ALL Latched Low Digital Input States, where each bit represents whether the corresponding line is latched low
Public methodGetAllLatchedLowInputStates Obsolete.
Get ALL Latched Low Digital Input States, where each bit represents whether the corresponding line is latched low
Public methodGetAllLineStates Obsolete.
Get All digital Line states, where each bit represents the state of the corresponding line number
Public methodGetAnalogLineState
Get an individual analog line state
Public methodGetDeviceConfiguration
Get various aspects of the device configuration and cache them locally
Public methodGetDeviceName
Uncached version of Property
Public methodGetDigitalInputLineCount
Reads the input counter of the specified digital line. The count can be 16 bits or 32 bits, by default int in .NET is 32bits however to be safe we are explicitly setting the return type to 32 bit int
Public methodGetDigitalLineState
Get an individual digital line state
Public methodGetLineCount Obsolete.
Reads the input counter of the specified digital line. The count can be 16 bits or 32 bits, by default int in .NET is 32bits however to be safe we are explicitly setting the return type to 32 bit int
Public methodGetLineState Obsolete.
Get an individual digital line state
Public methodResetToFactoryDefaultSettings
Reset to factory default settings Be sure to clear any cached state
Public methodRestart
Restart the device to power on setting
Public methodSendCommand
send a command using the given protocol
Public methodSetAllDigitalOutputLineStates
Set All Output Line States, where each bit represents the state of the corresponding line number
Public methodSetAllOutputLineStates Obsolete.
Set All digital output Line States, where each bit represents the state of the corresponding line number
Public methodSetAnalogOutputLineState
Set an individual analog line
Public methodSetDigitalOutputLineState
Set an individual digital output Line
Public methodSetOutputLineState Obsolete.
Set an individual digital output Line
Top
See Also