ASCIIProtocolGetAnalogLineState Method |
Get the state of an Analog IO Line. If the analog line is disabled it will return +00.000
Namespace: Brainboxes.IOAssembly: 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
)
Public Function GetAnalogLineState (
line As Integer,
Optional numberOfLines As Integer = 8,
Optional isInput As Boolean = true
) As Double
abstract GetAnalogLineState :
line : int *
?numberOfLines : int *
?isInput : bool
(* Defaults:
let _numberOfLines = defaultArg numberOfLines 8
let _isInput = defaultArg isInput true
*)
-> float
override GetAnalogLineState :
line : int *
?numberOfLines : int *
?isInput : bool
(* Defaults:
let _numberOfLines = defaultArg numberOfLines 8
let _isInput = defaultArg isInput true
*)
-> float
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
DoubleLine value
Implements
IIOProtocolGetAnalogLineState(Int32, Int32, Boolean)Exceptions See Also