Click or drag to resize

PkLocoIOReadData Property

Values returned from the LocoIO's memory registers.

Namespace:  RRAutoLib.Loconet
Assembly:  RRAutoLib (in RRAutoLib.dll) Version: 4.0.8678.28884
Syntax
Public Property ReadData ( 
	bytPosition As Byte
) As Byte
	Get
	Set

Parameters

bytPosition
Type: SystemByte

Property Value

Type: Byte
Any 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