PkLocoIORequestSetup Method |
Sends a message to a LocoIO device requesting setup data.
Namespace:
RRAutoLib.Loconet
Assembly:
RRAutoLib (in RRAutoLib.dll) Version: 4.0.8678.28884
SyntaxParameters
- 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.
Return Value
Type:
TaskPkLocoIOThe response packet.
Remarks
The interogated LocoIO device will respond with a
PkPeerXfer packet which can be cast into a
PkLocoIO from which the
Read method can be used to retieve a
PkLocoIOSetup instance.
See Also