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.0.0.0 (1.0.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 methodClearAllLatchedInputsObsolete.
Clear the Latches
Public methodClearDigitalInputLineCount Clears the digital input counter of the specified channel.
Public methodClearLineCountObsolete.
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 methodGetAllLatchedHighInputStatesObsolete.
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 methodGetAllLatchedLowInputStatesObsolete.
Get ALL Latched Low Digital Input States, where each bit represents whether the corresponding line is latched low
Public methodGetAllLineStatesObsolete.
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 methodGetLineCountObsolete.
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 methodGetLineStateObsolete.
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 methodSetAllOutputLineStatesObsolete.
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 methodSetDeviceConfiguration(Int32, Int32, IOChangeTypes, CounterMode, Boolean) Set various aspects of the device configuration for a digital device
Public methodSetDeviceConfiguration(Int32, Int32, AnalogDataFormat, Boolean, Boolean, Boolean, TemperatureUnit) Set various aspects of the device configuration for an analog device
Public methodSetDigitalOutputLineState Set an individual digital output Line
Public methodSetOutputLineStateObsolete.
Set an individual digital output Line
Top
See Also