This is an old revision of the document!
JavaScript Examples
Many of these code snippets can be used for both MIStudio and TransSECS. See also TransSECS Scripting Examples for scripts specific to TransSECS (Programmatic TransSECS, MIStudio/TransSECS, and Devices TransSECS).
Creating ValueObjects in Scripts Scripts to create various types of ValueObjects
Changing Value Object Properties Scripts to change colors, data quality, and other properties of ValueObjects
Using Load() in the Script Load a js file containing function(s) in your script
Calculate on/off time from SQLite In a table that have, for example, valve open/close time, calculate how long the valve was open