1. Home
  2. /
  3. Ignition-perspective
  4. /
  5. Toggle Light Indicator

Toggle Light Indicator - Ignition-perspective Typing CST Test

Loading…

Toggle Light Indicator — Ignition-perspective Code

Toggle a boolean tag controlling a light indicator from a button click.

current = system.tag.readBlocking(["[default]Light/On"])[0].value
system.tag.writeBlocking(["[default]Light/On"], [not current])

Ignition-perspective Language Guide

Ignition Perspective is Inductive Automation’s modern, mobile-responsive visualization module for building industrial HMI, SCADA, and IIoT applications that run natively in web browsers and mobile devices using HTML5 and responsive UI components.

Primary Use Cases

  • ▸Web/mobile SCADA HMIs
  • ▸Real-time dashboards for plants and utilities
  • ▸IIoT dashboards with MQTT/Sparkplug B
  • ▸Industrial mobile apps for technicians
  • ▸Multi-site enterprise visualization

Notable Features

  • ▸True HTML5 rendering engine
  • ▸Mobile-responsive design with adaptive layouts
  • ▸Powerful binding/transformation logic
  • ▸Event-based Python scripting
  • ▸Built-in authentication & identity providers

Origin & Creator

Developed by Inductive Automation (USA), known for modular, web-based SCADA platforms.

Industrial Note

Extensively used in digital transformation projects, mobile SCADA deployments, remote plant monitoring, cloud-connected factories, and modern IIoT dashboards.

More Ignition-perspective Typing Exercises

Hello World Button ScriptStart/Stop Control with PerspectiveUpdate Numeric DisplaySlider Control for Motor SpeedLog Button ClicksDynamic Label UpdateSet Multiple TagsAlarm Acknowledge ButtonFetch and Display PLC Data

Practice Other Languages

CReactPythonC++RustTypeScriptKotlinPHPJavaC#RubyMqlCqlN1qlCypher