210 likes | 421 Views
DSCIntProc with LabVIEW 8.2. Motivation "Shared Variables" Difference to LabVIEW 7.1 New Configuration Tools. Background. SCADA Backend. other Stuff (OPC..). Dim. DIM. CS. CS and LabVIEW DSC Module. LV-DSC: SCADA + OPC. Dim. DIM. DSCIntProc. CS.
E N D
DSCIntProc with LabVIEW 8.2 Motivation "Shared Variables" Difference to LabVIEW 7.1 New Configuration Tools
Background SCADA Backend other Stuff (OPC..) Dim DIM CS
CS and LabVIEW DSC Module LV-DSC: SCADA + OPC Dim DIM DSCIntProc CS DSCIntProc: Class interfacing DIM services and LabVIEW DSC
"Using the Shared Variable" 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" "Tags" (LV7.1) – "Shared Variables" (LV8...)
LV7.1 DSCIntProc Tags DIM Call DSCAlarmGUI DSCAlarm Call LV8... DSCAlarmGUI DSCIntProc SVs DIM Remote Alarming
Historic Trending LV7.1 Citadel DB DSCIntProc Tags DIM Tags DSCTrendGUI DSCTrend Call LV8... Citadel DB DSCIntProc SVs DIM (remote access) Historic Trend Viewer
example for DSCIntProc class "Wait-On-Change-Multiple"
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" Runtime: (not) Monitoring 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 Runtime: (not) Configuring SVs
How-To Configure SVs • less steps with LV8... • easier mass configuration • no "comfortable tool" available as the "Tag Configurator"
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 A. CSV-Template Files
Alternative: MS-Excel C. Modify CSV Files
Alternative: MS-Excel C. Modify CSV Files
Alternative: MS-Excel C. Modify CSV Files
Alternative: MS-Excel C. Modify CSV Files
Alternative: MS-Excel C. Modify CSV Files
in addition: name of database, lifespan, ... D. Configuration of DSCIntProc
one IO-Server per OPC Server: easy via "Variable Manager" IO-Servers can also be create by DSCIntProc and xml file E. Configure IO-Server for OPC Connectivity
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 Status