VWorks software calls the
ProtocolStarted method after a protocol starts.
VWorks software passes a ProtocolStarted XML element into the
sXML parameter of the
ProtocolStarted method. This XML element provides information about the protocol that started.
The ProtocolStarted element has the following attributes:
The following sample code is a ProtocolStarted XML element that is received by the plugin from
VWorks software as a string in the
sXML parameter of the
ProtocolStarted method.
VWorks software tells the plugin that the protocol named
MyProtocol started in the Startup Protocol and that the protocol is running in simulation mode.
The plugin returns a HookResults XML block in the sResultXML parameter of the
ProtocolStarted method. For information about the structure and contents of this XML block, see
“HookResults XML block” .
The following sample code is a HookResult XML block that is returned to VWorks software by the plugin as a string in the
sResultXML parameter of the
ProtocolStarted method. The plugin tells
VWorks software to write the following Info-type message to the Main Log: