39 lines
551 B
Markdown
39 lines
551 B
Markdown
---
|
|
type: standard
|
|
area: scada
|
|
platform: ignition
|
|
software: ignition
|
|
version: "8.3"
|
|
category: scripting
|
|
status: approved
|
|
owner: controls-engineering
|
|
tags:
|
|
- jython
|
|
- scripting
|
|
- ignition
|
|
---
|
|
|
|
# Ignition Scripting Standard
|
|
|
|
## Purpose
|
|
|
|
Define company standards for scripting in Ignition.
|
|
|
|
## Rules
|
|
|
|
- Use Jython 2.7 compatible syntax.
|
|
- Use system.util.getLogger() instead of print.
|
|
- Avoid blocking operations on the UI thread.
|
|
- Reusable logic should live in project libraries.
|
|
|
|
## Approved Pattern
|
|
|
|
...
|
|
|
|
## Anti-patterns
|
|
|
|
...
|
|
|
|
## Examples
|
|
|
|
... |