Can I Build Stand-Alone Application on My Real-Time Controller Using Scan Mode?

Updated Sep 14, 2023

Reported In

Hardware

  • CompactRIO Controller

Software

  • LabVIEW
  • LabVIEW Real-Time Module
  • LabVIEW FPGA Module

Issue Details

I am developing my stand-alone application on cRIO controller using FPGA. Can I run my application as stand-alone when I switch to Scan Mode?

Solution

The NI Scan Engine enables efficient single-point access to sets of data channels, such as I/O channels. Using a scan that stores data in a global memory map and updates all values at a single rate, known as the scan period.

Running the standalone application requires configuring NI Scan Engine settings in the Project Explorer window. You must deploy a project item that uses the NI Scan Engine, such as My Computer or an RT target, for the settings to take effect.

When running on Windows the NI Scan Engine starts running the first time you deploy the target and stops running when you close the project. To automatically deploy the NI Scan Engine and I/O variables when a built application runs, you must enable the Include target hardware configuration checkbox on the Advanced page of the Application Properties dialog box before building the application.

When running on an RT target, the NI Scan Engine starts automatically when you boot the target and runs continuously until you shut down the target.

Additional Information

A single computer can run only a single instance of the NI Scan Engine at a time. For example, if you create a Windows built application that uses the NI Scan Engine, you must close the project from which you built the application before you can run the application on the same computer. To run a different instance of the NI Scan Engine, you must stop the current instance first.