Click or drag to resize

ASCIIProtocolGetAnalogLineState Method

Get the state of an Analog IO Line. If the analog line is disabled it will return +00.000

Namespace: Brainboxes.IO
Assembly: Brainboxes.IO (in Brainboxes.IO.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public double GetAnalogLineState(
	int line,
	int numberOfLines = 8,
	bool isInput = true
)

Parameters

line  Int32
Line number
numberOfLines  Int32  (Optional)
Number of lines on the analog device
isInput  Boolean  (Optional)
Whether the analog IO Line is an input

Return Value

Double
Line value

Implements

IIOProtocolGetAnalogLineState(Int32, Int32, Boolean)
Exceptions
ExceptionCondition
InvalidDataExceptionThrown when unknown data format is encountered.
See Also