PkLocoIOReadData Property |
Values returned from the LocoIO's memory registers.
Namespace:
RRAutoLib.Loconet
Assembly:
RRAutoLib (in RRAutoLib.dll) Version: 4.0.8678.28884
SyntaxPublic Property ReadData (
bytPosition As Byte
) As Byte
Get
Set
public byte this[
byte bytPosition
] { get; set; }
Parameters
- bytPosition
- Type: SystemByte
Property Value
Type:
ByteAny valid value specified in the LocoIO documentation.
Remarks
Three values are returned from adjacent memory registers, after a read request operation.
ReadData(1) = value found at the
Register location.
ReadData(2) = value found at the
Register + 1 location.
ReadData(3) = value found at the
Register + 2 location.
This property should only be read after sending a
PkLocoIO packet with a
CvRead command.
See Also