Use the Real-Time Project Wizard to create a new project that defines RT targets and includes VIs and other application files. You can create projects with the Real-Time Project Wizard using one of three architectures—continuous communication, state machine, or custom.
Use a continuous communication architecture to create data acquisition applications that can log data to disk and continuously communicate with a host computer to provide a user interface.
With the continuous communication architecture, you can select an application configuration that uses one or two Timed Loops in the RT target VI.
You can provide a user interface for the real-time application using a VI running on the host computer or using a LabVIEW remote front panel to connect to the RT target VI.
Use a state machine architecture to implement complex decision-making algorithms represented by state diagrams or flow charts. The state machine architecture can implement any algorithm described by a Moore machine. For each state in a state diagram, a Moore machine performs a specific action that runs for a finite amount of time. To prevent data loss, the time to execute each action must be short enough to keep all acquired data in memory on the target. The RT target also must be able to send all the data back to the host computer in one package. The state machine architecture separates communication and non-deterministic tasks from deterministic tasks and executes them before and after deterministic tasks.
The Real-Time Project Wizard generates an RT target VI that uses a Case structure to define the states of the state diagram. The Real-Time Project Wizard also generates a VI that runs on the host computer to provide a user interface, which you can use to select the state to execute on the RT target. The host VI uses shared variables to trigger the execution of a particular state on the RT target. The RT target VI executes the subdiagram for the state you select and returns the results to the host VI.
![]() |
Note You can use the LabVIEW Statechart Module to design and implement state-based applications on a real-time target. Refer to the National Instruments Web site for information about the Statechart Module. |
Use a custom project architecture to add a blank VI or import existing VIs to run on the host computer or RT target.