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

Date/Time Calculations in Scripts

Generate a JasperReports report from Javascript

Use FTP in a script to put a file on an FTP Server

Run an executable from a script

Use System Properties in a Script

  • scriptingexamples.txt
  • Last modified: 2023/01/14 15:06
  • by wikiadmin