|Download Help (Windows Only)|
Prior to starting the processes that run continuously on the device, the top-level VI that you develop must set up the infrastructure features and shared resources on which processes rely. The top-level VI in the NI InsightCM SDK reference code performs these tasks for NI-developed processes. However, you must implement code to initialize processes you develop.
Create the following block diagram within the Main VI to initialize any processes you create. Customize the gray section for your unique programming goals.
Prepare Qbus to handle messages for each process that runs in the top-level VI. This NI-developed subVI creates queues that accomplish the following tasks:
|For each process you create, add the Create Listener VI from the project library (.lvlib) file that contains all the files related to the process. This VI prepares Qbus to handle messages for a specific process.|
|Set the order of post-acquisition processes that will transfer data sets between themselves. This is known as the Dataflow Script, and is useful for coupling processes so they operate on each data set in a specific order.|