Model Plugin – Begin

TestStand 2019 Help

Edition Date: May 2019

Part Number: 370052AA-01

»View Product Info
Download Help (Windows Only)

Use the Begin entry point to perform required setup or initialization tasks, such as opening files or establishing database connections.

A process model calls Begin once in its controller thread and once in each test socket thread after calling the ModelPluginOptions and ModelPluginConfiguration callbacks. In contrast, a process model calls the Initialize entry point only in the controller thread and before calling the ModelPluginOptions and ModelPluginConfiguration callbacks.

Process models complete the call to the Begin from the controller thread before calling Begin from any socket thread.

The Begin entry point accepts the following parameters:

Parameter NameData Type
ModelPluginNI_ ModelPlugin
ModelPluginConfigurationNI_ModelPluginConfiguration
ModelThreadTypeNI_ModelThreadType
ModelDataContainer
StartDateDateDetails
StartTimeTimeDetails
ProcessModelClientPathPath
ParentThreadReference

WAS THIS ARTICLE HELPFUL?

Not Helpful