
COM Objects Reference
336 IQS-12004B
Switch Interface—Methods
Switch
InitSwitch
Description This method performs the initialization of the specified switch,
optionally initializing it in simulation mode.
Syntax object.InitSwitch (DetectedIndex,FireEvent,[Simulator])
Parameters DetectedIndex: Required if the switch is not used in simulation
mode. A Long value indicating the index of the detected switch
from the Detect method.
FireEvent: Required. A Boolean value indicating if the
initialization process runs in the background and raise an event
at the end of this process.
The following table presents the possible settings for the
FireEvent argument.
Setting Description
True Allows the process to run in the background
and raises an event once the process is
complete.
False The client application stops the process and
waits for the completion of the initialization
process. No event is raised at the end.
Comentarios a estos manuales