Building Applications Created with the LabVIEW DSC Module

Publish Date: Oct 11, 2011 | 28 Ratings | 2.61 out of 5 | Print | 2 Customer Reviews | Submit your review

Overview

This document explains the requirements for building executables from VIs created with the LabVIEW Datalogging and Supervisory Control (DSC) module. Note: This process is valid for LabVIEW DSC 7.1 and earlier. Refer to the LabVIEW Help for LabVIEW DSC 8.x.

Table of Contents

  1. Building Your Application Executable
  2. What to Include with Your Application
  3. How to Transport Your Application

1. Building Your Application Executable

You can create application executables from the DSC Module VIs using the LabVIEW Application Builder. The majority of the build process is the same as any other VI. The only difference is that you need some additional software and files for the application to function correctly. Refer to the "What to Include with Your Application" section for more information about these additional resources.

Note: If you are using LabVIEW DSC Module 6.0 or 6.0.1, you must install a patch to enable the LabVIEW Application Builder to work with the LabVIEW DSC Module features. This patch ensures that the LabVIEW Application Builder includes the correct VIs in your application. You can install the patch by running the Apply Application Builder Patch.vi, located at vi.lib\lvdsc\System\_distpatch.llb\Apply Application Builder Patch.vi

Back to Top

2. What to Include with Your Application


Include all VIs you have written for your application, as well as any external data files. For applications created with the LabVIEW DSC Module, these files commonly include the following:

  • Tag configuration (.scf) files
  • Preference files (.ini, .cfg) from the labview directory
  • Hardware configuration files (such as .iak files for FieldPoint, MAX configuration data, and so on)
  • The Common configuration database file (.ccdb). This file can be identified by examining the title bar of the Server Browser utility, available by selecting Tools»Datalogging & Supervisory Control»Advanced»Server Browser in LabVIEW, or by examining the following value in the WindowsRegistry key: HKEY_LOCAL_MACHINE\Software\National Instruments\NI-Servers Value: Active CCDB
  • Server software for all servers that your application depends on for data. You might have to register VI-based servers yourself.

Refer to the following links for complete set of support files to include in your application.

See Also:
Support Files to Include when Building a LabVIEW DSC Module Application

Back to Top

3. How to Transport Your Application

You first must install the LabVIEW DSC Run-Time System on the computers on which you plan to run the application. You need to install the LabVIEW DSC Run-Time System because the Application Builder excludes VIs specific to the LabVIEW DSC Module from the built application. Therefore, these VIs must be installed correctly on the target computer. The LabVIEW DSC Run-Time System correctly installs the necessary and additional software as well as provides all the configuration tools, the Tag Engine, historical data logging, network data access, security, and other features provided by the LabVIEW DSC Module.

You then must place the built executable in the DSC Run-Time\X directory, where X represents the current version of the LabVIEW DSC Run-Time System (with the file DSCRTS.exe) on the target machine. If you are using tags, configure the Tag Engine with the tag configuration file (.scf) that corresponds with the executable. If you are using FieldPoint, configure the .iak file in FieldPoint Explorer. You then can launch the executable from the DSC Run-Time folder.

Refer to the following links for an example how to deploy an application.

Back to Top

Customer Reviews
2 Reviews | Submit your review

Update  - Mar 12, 2012

Does this still apply to Labview 2010 or later?

  - Dec 22, 2004

needs to be updated for labview 7. The document talks about a patch needing to be applied unless you have 6.0.2, in which case it's included - so I assume it's included in 7 as well but should be explicitely stated

Bookmark & Share


Ratings

Rate this document

Answered Your Question?
Yes No

Submit