ASCIIProtocolGetLineState Method |
Note: This API is now obsolete.
Get the state of a digital IO line
Namespace: Brainboxes.IOAssembly: Brainboxes.IO (in Brainboxes.IO.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax [ObsoleteAttribute("GetLineState is deprecated. Replaced by GetDigitalLineState")]
public int GetLineState(
int line,
bool isInput = true
)
<ObsoleteAttribute("GetLineState is deprecated. Replaced by GetDigitalLineState")>
Public Function GetLineState (
line As Integer,
Optional isInput As Boolean = true
) As Integer
[<ObsoleteAttribute("GetLineState is deprecated. Replaced by GetDigitalLineState")>]
abstract GetLineState :
line : int *
?isInput : bool
(* Defaults:
let _isInput = defaultArg isInput true
*)
-> int
[<ObsoleteAttribute("GetLineState is deprecated. Replaced by GetDigitalLineState")>]
override GetLineState :
line : int *
?isInput : bool
(* Defaults:
let _isInput = defaultArg isInput true
*)
-> int
Parameters
- line Int32
- Line number
- isInput Boolean (Optional)
- Is the line a input
Return Value
Int32Line state
Implements
IIOProtocolGetLineState(Int32, Boolean)See Also