You must be familiar with LabVIEW to develop a LabVIEW Datalogging and Supervisory Control (DSC) Module application. Before you develop a DSC Module application, you might want to review the DSC Module examples or use an example as a starting point for an application. Select Help»Find Examples to launch the NI Example Finder. In the NI Example Finder, you can browse by task or directory structure to find relevant VIs.
Parts of a DSC Module Application
A DSC Module application contains three parts that work together—the graphical interface or Human Machine Interface (HMI) application, the Shared Variable Engine, and a device server. The Shared Variable Engine and I/O servers run as separate applications independent of the HMI application.
Basics Steps for Developing an Application
Use the following guidelines to develop an application in the DSC Module.
- Plan the application requirements, such as channel count, logging, types of channels, hardware, security, and performance.
 |
Note Do not skip step 1 because it impacts decisions at every stage of development including setting up servers, configuring variables, and setting up network clients and servers. |
- Physically establish a connection to hardware. Connect, configure, test, and troubleshoot. Use the National Instruments Shared Variable Monitor to check the status and values of variables.
- Install and configure device servers to connect to real-world input/output points and handle communication with the hardware.
- When possible, before you access servers in LabVIEW, test them according to instructions in the server documentation to simplify any necessary troubleshooting.
- Add additional input/output points and configure logging and alarm settings.
- Build the HMI application in the same way as a LabVIEW application.
- Use the NI Shared Variable Monitor to view variable values, timestamps, and alarm states.
- Use the LabVIEW and DSC Module VIs and functions to add additional functionality to the user interface or HMI application.
- Deploy, test, and document the application. Use the NI Shared Variable Monitor to troubleshoot the application if you find problems while testing.