GridWorX Server - Using Data Manipulators via Call Method
GridWorX Server - Using Data Manipulators via Call Method
Call Method
Description: A guide to executing data manipulators using the more natural data entry experience. This property should NOT be set
on process points connected to actual equipment, as it may cause the
Call Method command. accidental write of partial values, which may damage equipment.
General Requirement: Familiarity with:
4. Add a button.
• Workbench 5. Set the button text to Add Customer.
• GridWorX Server (particularly data manipulators) 6. Configure the button's pick action to be the Call Method.
• Commanding 7. Under CommandParameters, type this into Name:
• GraphWorX64
• Microsoft SQL Server db:Northwind.AddCustomer\Execute
Note: If you are not running in AssetWorX tag counting mode, you
can browse for your data manipulator's Execute method. It can be
Introduction found under Data Connectivity > Databases > database type >
database name > Data Manipulators > manipulator name > Execute.
Data manipulators are ways to change your databases by
executing queries or stored procedures. They are configured in If you are running in AssetWorX tag counting mode, you must type
Workbench under Data Connectivity > Databases > connection the name in manually. The format is:
type > specific database. The sample GridWorX Server database
contains three data manipulators under the Northwind sample db:databaseName.manipulatorName\Execute
© 2020 ICONICS, Inc. Page 1 of 2 GridWorX Server - Using Data Manipulators via Call Method
GridWorX Server – Using Data Manipulators via
Call Method
19. Use SQL Server Management Studio to view the These parameter tags are designed to provide convenient data
Customers table in the Northwind database and observe entry. To allow multiple clients to interact with the same data
that your values have been added to the table. manipulator at once, each client essentially has its own copy of
these tags. Values written by a user on Client A will not see or
be able to change the values being written by Client B.
Problem with Parameter Tags and Inline
Unfortunately, this separation of clients is not possible when
Parameters the parameter tags have to pass through AssetWorX. In this
case, AssetWorX becomes the client, and clients of the
Users familiar with using data manipulators are probably aware
AssetWorX asset properties will see the same value. This means
of parameter tags. Every data manipulator with parameters has
that the user at Client A can see and accidentally overwrite the
a Parameters folder in the data browser, and in this folder are
parameters that Client B is trying to use.
tags for each parameter.
The @@Execute tag supports inline parameters, but when
AssetWorX tag counting mode is enabled AssetWorX does not
allow runtime parameters on the Real-time tab of an asset
property, making it difficult to use parameters unless they are
hard-coded.
This is why using the Call Method command is the best way to
execute a data manipulator when using AssetWorX tag
counting (the tag counting method used in GENESIS64 Basic
SCADA).
Figure 2 - Parameter tags under AddCustomer data manipulator
© 2020 ICONICS, Inc. Page 2 of 2 GridWorX Server - Using Data Manipulators via Call Method