Doc. # 1-8898792 | |||
---|---|---|---|
Date Updated | 06-02-2004 | Date Created | 10-09-2001 |
Document Type | Knowledge Base | Related OS | NT4.0 |
Related Product | Advantech Studio |
Initial commands Initial commands | |||
---|---|---|---|
Solution:
To run initial commands only once.
Add a tag 'Init' as a boolean type tag.
Open a Math sheet.
Expression : not Init
Tag Expression
... ...
... ...
Init 1
after Init set to "1", this Math will not execute.
But you should be aware that :
1. When Studio is opened, all the variable value will set to "0", except tags initial value have already set in "tag property".
2. If you click Stop/Run, all variable value will keep last value.
|