Presentation is loading. Please wait.

Presentation is loading. Please wait.

DSCIntProc with LabVIEW 8.2 Motivation "Shared Variables" Difference to LabVIEW 7.1 New Configuration Tools.

Similar presentations


Presentation on theme: "DSCIntProc with LabVIEW 8.2 Motivation "Shared Variables" Difference to LabVIEW 7.1 New Configuration Tools."— Presentation transcript:

1 DSCIntProc with LabVIEW 8.2 Motivation "Shared Variables" Difference to LabVIEW 7.1 New Configuration Tools

2 Dim Background CS DIM SCADA Backend other Stuff (OPC..)

3 Dim CS and LabVIEW DSC Module CS DIM LV-DSC: SCADA + OPC DSCIntProc DSCIntProc: Class interfacing DIM services and LabVIEW DSC

4 "Tags" (LV7.1) – "Shared Variables" (LV8...) "Using the Shared Variable" http://zone.ni.com/devzone/cda/tut/p/id/4679 http://zone.ni.com/devzone/cda/tut/p/id/4679 Shared Variable (SV) properties important for CS –NI (!) protocol of choice when transferring data among computers –a SV lives in a "Process" within a Shared Variable Engine (SVE) a SVE may host more than one process: URL contains process name one SVE per node: URL contains node name a distributed system may use more than one SVE –SV available in Full Development System, does not require LV-DSC –but: DSC required to create SV programmatically –alarming and trending are SV properties provided by LV-DSC, these properties are available via the network –wait on a value change only available via "DataSocket Read.vi": does not require DSC, no "wait-on-multiple" LV-DSC: provides "wait-on-multiple"

5 Differences for DSC between LV8... and LV7.1 LV7.1LV8...consequence for LV8... create on-the-flynoyesin principle nice, but required for runtime remote alarmingnoyesgreat, no need to send alarms via CS remote historic trendingnoyesgreat, no need to send trending via CS wait-on-change-multiplenoyesgreat OPC connectivityyes none... "Monitor" developmentyes none... "Monitor" 4 runtimeyesno, but... oohps! "Configurator" 4 runtime yes no, but... oohps! Create SVs on the fly is a must!

6 Remote Alarming DSCIntProc DIM Tags DSCAlarm DSCAlarmGUI Call LV7.1 DSCIntProc DIM SVs DSCAlarmGUI LV8...

7 Historic Trending DSCIntProc DIM SVs LV8... DSCIntProc DIM Tags DSCTrend DSCTrendGUI Call LV7.1 Citadel DB Tags Citadel DB Historic Trend Viewer (remote access)

8 "Wait-On-Change-Multiple" example for DSCIntProc class

9 Runtime: (not) Monitoring SVs the good old "Tag Monitor" no longer exists for SVs Start->Programs->National Instruments->"Variable Manager" as sole possibility –can not be used as normal user –administrator privileges required –allows to change everything: "Variable Manager"

10 Runtime: (not) Configuring SVs the good old "Tag Configurator" no longer exists for SVs Start->Programs->National Instruments->"Variable Manager" as sole possibility –can not be used as normal user –administrator privileges required –allows to change everything: "Variable Manager" –does not allow to load/save settings, but –changes are always persistent (stored in registry?) –useless for maintaining/setting up large numbers of SVs we are forced to create SVs on-the-fly since there is no "Tag Configurator", and we like to maintain SVs for production systems, we have to write our own tool 

11 How-To Configure SVs LV7.1LV8... 1(create CLASSNAMEtags.txt)create CLASSNAME_SVTemplate.csv 2(create CLASSNAME_dim_dsc.txt) 3(use the CSDBTool to create an object specific file for tag import) use the CSDBTool to create object specific csv-files 4(use the CSDBTool to create an object specific dim_dsc.xml file) 5configure tags in the "Configurator"use the "SV Editor" of the CSDB Tool 6modify database entry for DSCIntProc to use dim_dsc.xml file modify database entry for DSCIntProc to use created csv-files. 7(configure IO-Server for OPC connection) less steps with LV8... easier mass configuration no "comfortable tool" available as the "Tag Configurator"

12 A. CSV-Template Files created by maintainer of a class must be copied to the.../data directory of the CSCB Tool by the user keyword in "Description" –DIM2DSC: "on value change", write value of DIM service to SV –DSC2DIM: "on value change", publish value of SV as DIM service

13 B. Create CSV-Files

14 C. Modify CSV Files Alternative: MS-Excel

15 C. Modify CSV Files Alternative: MS-Excel

16 C. Modify CSV Files Alternative: MS-Excel

17 C. Modify CSV Files Alternative: MS-Excel

18 C. Modify CSV Files Alternative: MS-Excel

19 D. Configuration of DSCIntProc in addition: name of database, lifespan,...

20 E. Configure IO-Server for OPC Connectivity one IO-Server per OPC Server: easy via "Variable Manager" IO-Servers can also be create by DSCIntProc and xml file

21 Status Pros –works fine for me (db) –mass configuration improved a lot –can create SVs on-the-fly –from DIM, compatible with DSCIntProc of CS 3.00 Cons –most experiments use DSCIntProc of CS 3.00 –not yet well established at experiments –mass configuration must be done with care –DSC module provides no comfortable configuration for runtime systems


Download ppt "DSCIntProc with LabVIEW 8.2 Motivation "Shared Variables" Difference to LabVIEW 7.1 New Configuration Tools."

Similar presentations


Ads by Google