Download Datalogging and Supervisory Control Module Developer Manual

Transcript
Contents
Configuring Device Names...............................................................3-18
Configuring Device Resources .........................................................3-19
Configuring Item Names .................................................................................3-20
Configuring Item Resources ...........................................................................3-21
Configuring a Tag to Log Data or Events .......................................................3-22
Initializing Tag Values ....................................................................................3-22
Scaling Tags ....................................................................................................3-23
Scaling Analog Tags .........................................................................3-23
Square Root and Linear Scaling .........................................3-23
Assigning Units to an Analog Tag .....................................3-26
Scaling Discrete Tags........................................................................3-26
Scaling Bit Array Tags......................................................................3-26
Setting Alarms ................................................................................................3-27
Setting Alarms for Analog Tags .......................................................3-28
Setting Alarm Deadband on Analog Tags ........................................3-28
Setting Alarms for Discrete Tags......................................................3-29
Setting Alarms for Bit Array Tags....................................................3-29
Setting Alarms for String Tags .........................................................3-30
Keeping an Alarm Unacknowledged after the Alarm
Returns to Normal ..........................................................................3-30
Determining When to Use Memory Tags......................................................................3-30
Scenario 1—Use a Memory Tag .....................................................................3-30
Scenario 2—Do Not Use a Memory Tag ........................................................3-31
Creating a Memory Tag...................................................................................3-31
Customizing the Tag Configuration Editor View..........................................................3-31
Accessing Tags Over a Network ...................................................................................3-32
Sharing Tag Data with Other Applications .....................................................3-32
Viewing Tag Engine Status ...........................................................................................3-33
Configuring Tag Engine Parameters..............................................................................3-33
Monitoring and Writing Tag Values..............................................................................3-34
Chapter 4
Displaying and Controlling Data
Building Front Panels ....................................................................................................4-1
Creating Front Panel Controls and Indicators .................................................4-2
Connecting Controls and Indicators to Tags.....................................4-2
Creating a Tag Control......................................................................4-3
Adding and Customizing Graphics .................................................................4-3
Building an Application with Multiple Front Panels Using the
Panel Wizard.................................................................................................4-4
Block Diagram Tools and Functions .............................................................................4-5
Generating Code with the HMI Wizard ..........................................................4-5
Changing Generated Block Diagram Code .....................................................4-8
© National Instruments Corporation
vii
DSC Module Developer Manual