EnglishУкраїнськаmRussian
Login/New
Topic with no new replies

inter process communication on a button click


Author Message
Written on: 16. 05. 2014 [22:40]
ajinkya
Ajinkya Biradar
Topic creator
registered since: 17.12.2012
Posts: 23
Q1 :
How to send some text to another process/terminal on a button click using pipes? (or any other way??)
Q2 :
How to create a file and write onto it on a button click?
Written on: 19. 05. 2014 [10:46]
roman
Roman Savochenko
Moderator
Contributor
Developer
registered since: 12.12.2007
Posts: 3742
"ajinkya" wrote:

Q1 : How to send some text to another process/terminal on a button click using pipes? (or any other way??)

What the another process/terminal and what process API do you mean at all?
For Linux system see to proper Linux command line interfaces and use SYS.system() for this call from OpenSCADA.

"ajinkya" wrote:

Q2 : How to create a file and write onto it on a button click?

Depends from the file type:
- For plain: SYS.fileRead() and SYS.fileWrite()
- For XML: XMLNodeObj::load() and XMLNodeObj::save()
- For binary RAW on parsing: IO object from FLibSYS.

Learn, learn and learn better than work, work and work.



1131