15.11.2018, 15:40
Hello
I think I've found a bug in tag script processing. The script is not processed until I reopen and save tag script.
Steps:
1. Create new (this is important) event based script called bug_test for tag bug_test. Set it active and "Execute on group read". Click "Save".
2. Open Editor and insert code
3. Choose a random object with datatype 01.1 bit and set tag bug_test to this object
4. From ETS read this object
5. look at the log and you see nothing. You should see "bug test" message.
6. Click bug_test event then click save.
Repeat step 4
Now everything is OK.
I think I've found a bug in tag script processing. The script is not processed until I reopen and save tag script.
Steps:
1. Create new (this is important) event based script called bug_test for tag bug_test. Set it active and "Execute on group read". Click "Save".
2. Open Editor and insert code
Code:
log('bug test')
3. Choose a random object with datatype 01.1 bit and set tag bug_test to this object
4. From ETS read this object
5. look at the log and you see nothing. You should see "bug test" message.
6. Click bug_test event then click save.
Repeat step 4
Now everything is OK.
LM5Lp, firmware: 2018.08.22 and 2021.12.15, FlashSYS v2, ARMv7 Processor rev 5 (v7l), kernel 4.4.151 and 4.4.259