![]() |
VWorks software calls the ProcessStarting method after a process starts.
[in] A ProcessStarting XML element containing information about the process that started. VWorks software passes a ProcessStarting XML element into the sXML parameter of the ProcessStarting method. This XML element provides information about the process that started.The ProcessStarting element has the following attributes:
This attribute has the same value as the ProcessName attribute. If the protocol has been saved, the value of this attribute is the protocol’s file path. If the protocol has not been saved, the value is the default protocol name. This attribute has the same value as the Path attribute. 1 = Startup2 = Main3 = Cleanup The barcode if it is located on the north side of the labware, or else the value No bar code. The barcode if it is located on the south side of the labware, or else the value No bar code. The barcode if it is located on the east side of the labware, or else the value No bar code. The barcode if it is located on the west side of the labware, or else the value No bar code.The following sample code is a ProcessStarting XML element that is received by the plugin from VWorks software as a string in the sXML parameter of the ProcessStarting method. VWorks software tells the plugin that the process named process ‑ 1 started in the Main Protocol.
Labware='1536 Black Greiner' NorthSideBarcode='No bar code'Path='C:\V11\MyProtocol.pro' PlateName='process - 1' ProcessName='process - 1'ProtocolPath='C:\V11\MyProtocol.pro' ProtocolType='2'SouthSideBarcode='No bar code' TaskCount='4' WestSideBarcode='No bar code' />The plugin returns a HookResults XML block in the sResultXML parameter of the ProcessStarting method. For information about the structure and contents of this XML block, see “HookResults XML block” .The following sample code is a HookResults XML block that is returned to VWorks software by the plugin as a string in the sResultXML parameter of the ProcessStarting method. The plugin tells VWorks software to write the following Info-type message to the Main Log: