How to Write Python Scripts in Ignition!

preview_player
Показать описание
Ignition is an incredibly powerful and modern SCADA Software, and one of the things that makes it so powerful is the ability to write code in the world's easiest programming language, Python!

Consider checking out the sponsor of today's video, PCBWay!

Thank you for watching, please leave a like on the video and don't forget to subscribe, and let me know in the comments what you want to see next!

TIMESTAMPS:
00:00 Intro and Setup
01:53 Writing Python in the Ignition Script Console
06:08 Writing Python in Ignition Tag Value Changed Scripting
11:45 PCBWay Sponsorship
12:25 Writing Python in Ignition Gateway Events
16:04 Writing Python in Ignition Project Scripts
19:45 Outro and Miscellaneous
Рекомендации по теме
Комментарии
Автор

That was awesome! Thanks for showing the different ways to put a script in ignition. The way you showed it was funny and I liked it - keep it up!

I would love to see how you can use a python script to override alarm priorities. I mean the ability for the user to dynamically change the alarm priority on screen (currently I can only change the alarm priority statically).

TomaszGorzelak
Автор

Congratulations on having your helmet video featured in the Arduino e-newsletter! I just found your channel through that link, binge watched the Ignition playlist and sub'd.

A couple questions that came to mind/thoughts for future videos:
1. I think I'm intuitively grasping what's going on with Ignition, but it'd be nice to have an architectural overview. Something that outlines the network topology and where things live. It took a bit to realize (at least this is my understanding) that the gateway is a locally running server. It wasn't clear at first if it was local or hosted on the manufacturers site.
2. How do devices (e.g. PLCs or microcontrollers) work in this system?
3. Is Python the only scripting language or are there alternatives?
4. How friendly are these projects to SCC? E.g. can I save them in a git repo?
5. As a non-Python programmer, that first for loop to clear ChildTags drives my OCD crazy. :-) Why not a "while ChildTags not empty, remove first element" loop?

Peace!

HarleyPebley
Автор

Awesome, clearly explained!

If you've used Perspective, could you create tutorials on those? Property bindings, embedded views etc?

wokeclub
welcome to shbcf.ru