Getting Started with the LabVIEW Datalogging and Supervisory Control Module Manual

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

Summary of Contents

Getting Started with the LabVIEW Datalogging and Supervisory Control Module Manual

  • Page 1

    Getting Started with the LabVIEW Datalogging and Supervisory Control ModuleThis document provides an introduction to the LabVIEW Datalogging and Supervisory Control (DSC) Module and contains exercises to help you understand the functionality that the DSC Module provides. To use this document effe...

  • Page 2

    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...

  • Page 3

    Getting Started with the LabVIEW DSC Module | © National Instruments | 3You now have a project containing a project library. In the following exercise you will use the project library in the project to create a periodic I/O server.Creating a Periodic I/O ServerAn I/O server is an application tha...

  • Page 4

    4 | ni.com | Getting Started with the LabVIEW DSC Module7.You select what you want the wizard to build on the Configure Server Distribution Component page. For this exercise, use the default options and click Next to advance to the Server Distribution Component page.8.The DSC Module displays a su...

  • Page 5

    Getting Started with the LabVIEW DSC Module | © National Instruments | 5Complete the following steps to deploy the Tank1 periodic I/O server and view the data.1.Right-click the Tank System IO Server.lvlib project library and select Deploy All from the shortcut menu to deploy the project library....

  • Page 6

    6 | ni.com | Getting Started with the LabVIEW DSC Module7.Click Done to close the Multiple Variable Editor window.8.Select File»Save All and name the project library Tank System Shared Variables. LabVIEW binds the shared variables in the Tank System Shared Variables project library to the corres...

  • Page 7

    Getting Started with the LabVIEW DSC Module | © National Instruments | 7Enabling Logging for the Project LibraryComplete the following steps to enable data logging and alarm and event logging for the Tank System Shared Variables project library.1.Right-click the Tank System Shared Variables.lvli...

  • Page 8

    8 | ni.com | Getting Started with the LabVIEW DSC Module5.Right-click the Tank System Shared Variables.lvlib project library in the Project Explorer window and select Deploy All from the shortcut menu to deploy the shared variables.6.Click Close to close the Deployment Progress dialog box when th...

  • Page 9

    Getting Started with the LabVIEW DSC Module | © National Instruments | 9TipAdd a Wait function, such as the Wait (ms) function, to help the computer run outside tasks normally without affecting the operation of the loop.Figure 3 illustrates the block diagram of the VI.Figure 3. Tank System HMI ...

  • Page 10

    10 | ni.com | Getting Started with the LabVIEW DSC ModuleFigure 4. Tank System HMI VI Front Panel14. Click Stop to stop the VI.Additional ExercisesThe following exercises introduce some of the additional functionality available with the DSC Module. Viewing Real-Time DataYou can use the DSC Modul...

  • Page 11

    Getting Started with the LabVIEW DSC Module | © National Instruments | 118.Run the VI. The waveform chart shows the water level. Notice that the waveform chart displays the changes when you adjust the Input Flowrate [GPM] control or the Tank Valve [%] control.Viewing Alarms Using the NI Distribu...

  • Page 12

    © 2000–2012 National Instruments. All rights reserved. 372946D-01Jun12LabVIEW, National Instruments, NI, ni.com, the National Instruments corporate logo, and the Eagle logo are trademarks of National Instruments Corporation. Refer to the Trademark Information at ni.com/trademarks for other Nat...