You develop LabVIEW VIs that run on Windows Embedded Standard targets by adding a target to a LabVIEW project. When you run the VI from the host computer, or host VI, the VI compiles and runs on the target. The host VI accesses the data on the target and displays the data on the front panel.
Running VIs on Windows Embedded Standard Targets
You can view the front panel of the VI running on the Windows Embedded Standard target if you connect the target to a monitor. The front panel on the target mirrors the front panel on the host computer. However, control and appearance of the front panel on the host and target have the following caveats.
- When the host connects to the target, the target does not have control of the front panel. For example, you cannot resize, minimize, maximize, or move the front panel on the target. If you attempt to gain control of the user interface by other protocols, such as remote front panels, the attempt is denied.
- When the host connects to the target, the front panel of the target displays Remotely Controlled in the window title and as a watermark in the bottom-right corner.
- If the host disconnects from the target, the target gains control of the user interface on the target and the VI operates like a local VI. When the host reconnects to the target, the host regains control of the user interface and updates its control and indicator values with values made by the target. The host does not update its user interface with changes, such as front panel window size and position, made by the target.
- When the VI stops running, the front panel on the target remains open. If the VI is running and you disconnect from the target on the host computer, the VI continues to run on the target. If the front panel on the host computer closes, the front panel on the target also closes.
- With a few exceptions, all dialog boxes appear on only the host computer or only the target depending on which device has control of the user interface. For VI-based dialog boxes, the dialog boxes appear on both the host computer and target. When both the host computer and target display dialog boxes, only the host computer has control of the user interface.
- For file dialog boxes and dialog boxes invoked by executing a call library node, such as a Windows or custom DLL, the dialog boxes always appear on the target. For these dialog boxes, the host computer displays a message to notify you of the dialog box activity on the target. The user interface on the host is locked until you interact with the dialog box on the target.
Creating and Deploying Stand-Alone Windows Embedded Standard Applications
Use the LabVIEW Application Builder to build a stand-alone Windows Embedded Standard application. Refer to the NI Developer Zone at ni.com for more information about remote development and methods of deploying the LabVIEW application to the Windows Embedded Standard target.
Unsupported LabVIEW Features
During remote development, certain LabVIEW features are not supported for VIs that run on Windows Embedded Standard targets. If you attempt to run on a Windows Embedded Standard target a VI that has unsupported functionality, the VI might still execute. However, the unsupported functions do not work and may return standard LabVIEW error codes.
The following features are not supported on Windows Embedded Standard targets during remote development.
- Subpanel controls
- Debugging reentrant VIs
Use the following table to find solutions when using LabVIEW Remote Development Target Support and developing applications on a Windows Embedded Standard target.
|I cannot discover my target in Measurement & Automation Explorer (MAX) on the host computer.
||On the host computer, MAX does not support discovering Windows Embedded Standard targets.
|I cannot discover the target in the LabVIEW Development System using the Add Targets and Devices dialog box.
||Ensure that the target meets the requirements necessary to discover a device for remote development:
- A user with administrator privileges is logged into the target.
- LabVIEW Remote Development is enabled on the target.
|I cannot connect to the target in a LabVIEW project, although I can discover the target using the Add Targets and Devices dialog box.
||Ensure that the version of the LabVIEW Run-Time Engine on the target matches the version of the LabVIEW Development System on the host computer.
|Can I configure remote development settings for my target from the host computer?
||From the host computer, you can configure remote development settings by completing the following steps:
- On the host computer, open a Web browser and enter the following URL to access the NI Web-based Configuration & Monitoring application: http://localhost:3582.
- Click the Network Browser button on the left and double-click the row that contains your target. A separate NI Web-based Configuration & Monitoring application specific to your target opens in a Web browser.
- Click Login in the top-right corner of the page.
- Enter Admin in the User name field.
- Leave the Password field blank. The default password is blank. Set the password to establish security.
- Click OK.
- On the System Configuration page, configure the remote development settings for your target.
- Click Save to save changes.
- Click Restart in the top-right corner of the page to restart the target. You must log into the target for changes to take effect.
Adding Targets to a LabVIEW Project
Using Build Specifications