|Download Help (Windows Only)|
To add a process to the Dataflow Script, initialization code must first add the process name to the ordered list of processes.
Create the following block diagram to set the processes in the Dataflow Script. Customize the gray sections for your unique programming goals.
|Reuse the NI-developed Initialize.vi to initialize the Qbus message bus, set the NI-developed processes that make up the Dataflow Script, and set other global data structures that processes will read and write. To avoid conflicts when migrating code to future versions of the SDK, NI recommends you do not edit Initialize.vi.|
|Inserts a process immediately after the process whose data you want this process to receive. For example, you can insert a process that performs custom calculations on waveforms directly after the NI-developed Vibration Analysis process. Call an instance of this VI for each process you want to add. Use the process-specific ProcessName.vi from the process project library to provide an easy-to-maintain version of the process name.|
|To remove one of the NI-developed processes that Initialize.vi. adds to the Dataflow Script, remove that process here. For example, if you develop a custom process to take the place of the NI-developed Accumulator process, you can remove the process without editing Initialize.vi.|