.lineget Method
Function: |
Returns the state of the I/O line specified by the num argument. |
Syntax: |
io.lineget(num as pl_io_num) as low_high |
Returns: |
Current line state as LOW or HIGH (low_high enum values) |
See Also: |
Line/Port Manipulation Without Preselection, io.lineset, io.invert |
Part |
Description |
num |
Platform-specific. See the list of pl_io_num constants in the platform specifications. |
Details
No line preselection with the io.num property is required and the value of io.num will not be changed.