Learn INDUSOFT-WEBSTUDIO-APIS with Real Code Examples
Updated Nov 27, 2025
Code Sample Descriptions
1
Dynamic Tag Value Update
sysTags('Tank1_Level').Value = 75
currentValue = sysTags('Tank1_Level').Value
Print 'Updated Tank Level: ' & currentValue
Update a tag value programmatically using InduSoft API.
2
Alarm Notification
If sysAlarms('HighLevel').Active Then
sysMail.Send('operator@example.com','High Level Alarm','Tank 1 high level alarm triggered!')
End If
Send a notification when an alarm is triggered using proprietary API functions.
3
Button Click Event Handling
If event.Source.Name = 'StartButton' Then
sysTags('Conveyor_Start').Value = True
End If
Handle a button click event to start a process using InduSoft API.