УкраїнськаEnglishmRussian
Вход/Новый
В теме нет новых постов

inter process communication on a button click


Автор Сообщение
Сообщение создано: 16. 05. 2014 [22:40]
ajinkya
Ajinkya Biradar
Создатель темы
Зарегистрирован(а) с: 17.12.2012
Сообщения: 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?
Сообщение создано: 19. 05. 2014 [10:46]
roman
Roman Savochenko
Moderator
Contributor
Developer
Зарегистрирован(а) с: 12.12.2007
Сообщения: 3743
"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.



16739