|Download Help (Windows Only)|
Parent Topic: Creating a New Process
If you want a process to always execute a particular subdiagram after another subdiagram, you can set the name of the second subdiagram as the priority action at the end of the first subdiagram. When a priority action exists, the Receive Messages VI always returns its name rather than a message from the message queue.
To set a priority action, specify the name of the second subdiagram name within the first subdiagram and wire that value to the next action in input of the Catch Errors VI at the end of the While Loop. In the following example, the process always executes the ConfigureScanEngine case the next time its While Loop iterates.
|Note If the error in input of the Catch Errors VI contains an error, the VI always sets a priority action of SetSafeMode regardless of what you wire to the next action in input of the Catch Errors VI.|