Click or drag to resize

PkLocoIOWriteSetup Method

Sends a message to a LocoIO device writting setup data.

Namespace:  RRAutoLib.Loconet
Assembly:  RRAutoLib (in RRAutoLib.dll) Version: 4.0.8678.28884
Syntax
Public Shared Sub WriteSetup ( 
	objLoconetService As LoconetService,
	bytLocoIOAdr As Byte,
	bytLocoIOSubAdr As Byte,
	objSetup As PkLocoIOSetup
)

Parameters

objLoconetService
Type: RRAutoLib.LoconetLoconetService
A LoconetService instance that will service the command.
bytLocoIOAdr
Type: SystemByte
LocoIO address to be assigned. Valid values are 1-79 and 81-127 with a default of 81. 80 is reserved for the PC.
bytLocoIOSubAdr
Type: SystemByte
LocoIO sub-address to be assigned. Valid values are 1-126 with a default of 1.
objSetup
Type: RRAutoLib.LoconetPkLocoIOSetup
A PkLocoIOSetup instance containing setup data.
Remarks
The LocoIO device being written will respond with a PkPeerXfer packet as a write confirmation.
See Also