Getting Started with the LabVIEW Datalogging and Supervisory Control Module Manual

Chapter Building a DSC Module Application

Getting Started with the LabVIEW Datalogging and Supervisory Control Module Manual
Pages 12
Views 342
Downloads : 2 times
PDF Size : 293.1 KiB

Summary of Contents

Getting Started with the LabVIEW Datalogging and Supervisory Control Module Manual

  • 2 | ni.com | Getting Started with the LabVIEW DSC ModuleProcess Control (OPC) connections, Modbus programmable logic controllers (PLC), Experimental Physics and Industrial Control System (EPICS) Client and Server I/O servers, or custom I/O servers that you write. The DSC Module provides solutions for supervisory control of a wide variety of distributed systems using graphical LabVIEW programming.Building a DSC Module ApplicationIn the following exercises, you will build a VI with DSC Module functionality.Opening and Running an ExampleThe DSC Module includes several examples you can use to learn about DSC Module features and applications. In this exercise you will look at an example you will use later to create a custom I/O server. Complete the following steps to run the DSC Tank Simulator example. 1.Select Help»Find Examples to display the NI Example Finder.2.Select Directory Structure in the Browse according to section. Browse to the lvdsc\Getting Started\Tank Simulator folder and open the DSC Tank Simulator VI. This VI simulates a tank filling with water.3.Run the VI.4.Move the sliders to change the rate at which the water fills the tank. As you move the sliders, notice that you control how fast the water flows into the tank.5.Stop and close the VI.This VI does not use any DSC Module features. In the exercises that follow, you will create a DSC Module application based on this VI.Creating a New Project LibraryIn this exercise you will learn how to create a new LabVIEW project and a project library. The project allows you to manage shared variables, project libraries, and VIs in one window. LabVIEW project libraries are collections of VIs, type definitions, shared variables, palette menu files, and other files, including other project libraries.Complete the following steps to create a LabVIEW project library.1.Select Create Project in the Getting Started window or select File»Create Project.2.Select Blank Project and click Finish to create a new project.3.Right-click My Computer in the Project Explorer window and select New»Library from the shortcut menu.4.Select File»Save All. The Name the Project dialog box appears.5.Enter Tank System in the File name text box and click OK. The Name the Library dialog box appears.6.Enter Tank System IO Server in the File name text box and click OK.