In InduSoft Web Studio, the grid object is used to display data from a “tabular” data source. This flexible object can display data from a class tag, text file or even from a database. The real power of this object includes the filtering capabilities that can be employed when interacting with SQL databases.
4. InduSoft Web Studio is an easy-to-use, powerful, and affordable
HMI/SCADA software for PCs, industrial panels, embedded &
mobile devices
Design the applications in an integrated development environment and
deploy/run it on multiple platforms, including any current Microsoft Operating
system - Windows CE/Mobile, Embedded, Desktop and Server Editions,
Linux, VxWorks, among others.
6. EmbeddedView
InduSoft Web Studio “full runtime”
CEView
InduSoft Web Studio
Development Station
Develop once,
Deploy anywhere
Single, integrated
development
environment
IoTView
Portability
7. Mobility
Platforms: Agnostic
Host: Web Browser agnostic
Technology: HTML5
Platforms: Windows
Host: Secure Viewer (executable)
Technology: ActiveX
Platforms: Windows
Host: Web Browser (Internet Explorer)
Technology: ActiveX
Studio Mobile Access (SMA) Thin Clients
Web Thin Clients
Secure Viewer Thin Clients
8. Grid Object, what is it?
The Grid object allows you to read/write
data in a tabular format from the data
source configured in the object.
Common uses:
• View/Write CSV files
• Interact with class tag
• Query/write log information
• Recipes
10. Class Tag Source
In addition to source of Class Tag,
Use to pull information from Text or database into “Tags”
Recipe webinar, used database for Recipe list
And class tag for Parameters and values
12. Database tips and tricks
SQL Select Statement
SELECT column1, column2, ...
FROM table_name;
https://www.w3schools.com/sql/sql_select.asp
13. Database tips and tricks (continued)
SELECT column1, column2 FROM table_name;
SELECT column1, column2 FROM table_name WHERE condition;
SELECT AVG(column_name) FROM table_name WHERE condition;
Disable Delimiters (Advanced database configuration)
14. Table name as String and SQL Where
{TableName} Where temperature > 20
AVG(temperature)
Reload Grid
TREND001 {GroupBy}
Date/Time Min(Time_Stamp) Text
Temperature Avg(Temperature) Numeric
Buttons:
$GroupBy = ""
$Reload = $Reload+1
$GroupBy = "GROUP BY DatePart(n,Time_Stamp)"
$Reload = $Reload+1
$GroupBy = "GROUP BY DatePart(hh,Time_Stamp)"
$Reload = $Reload+1