Click or drag to resize

SequenceSubstituteSlot Method

Substitutes slot numbers, of packets, that target command station slots.

Namespace:  RRAutoLib.CTC
Assembly:  RRAutoLib (in RRAutoLib.dll) Version: 4.0.8678.28884
Syntax
Public Function SubstituteSlot ( 
	bytOldSlot As Byte,
	bytNewSlot As Byte
) As Boolean

Parameters

bytOldSlot
Type: SystemByte
bytNewSlot
Type: SystemByte

Return Value

Type: Boolean
Returns True if slot numbers were successfully substituted; False if slot numbers could not be substituted because the sequence is currently in a recording state.
Remarks
If the command station's slot number, associated with the engine, targeted by your sequence, has been changed, this method can be used to update the obsolete slot numbers.
See Also