Page 1 of 1

Create file from script

Posted: Wed Nov 30, 2022 11:16 pm
by viteralex
Didn't find an answer so asking
Have a code
/file print file="newfile.txt"
:delay 5s
/file set "newfile.txt" contents="newContent"
This code executed differently on different devices. I checked 3 devices:
  1. 952Ui-5ac2nD
  2. 951Ui-2HnD
  3. RB3011UiAS
All devices have 6.49.6 firmware.
Devices 2 and 3 behaviour similary, as expected.
Device 1 doesn't create file if script run by schedule or with button "Run Script". And create file if script run from terminal

Re: Create file from script

Posted: Thu Dec 01, 2022 12:19 am
by diamuxin
In version 7.6 stable all my devices work OK.

BR.

Re: Create file from script

Posted: Thu Dec 01, 2022 9:53 am
by viteralex
I can't update all devices to v.7 just because of this bug. Or it's not a bug?

Re: Create file from script

Posted: Thu Dec 01, 2022 9:56 am
by diamuxin
Upgrade only the equipment that is not working properly and try again.

Re: Create file from script

Posted: Thu Dec 01, 2022 8:04 pm
by rextended
I can't update all devices to v.7 just because of this bug. Or it's not a bug?
The 1st device have flash memory, the other two have NAND memory.

Re: Create file from script

Posted: Thu Dec 01, 2022 9:23 pm
by viteralex
I can't update all devices to v.7 just because of this bug. Or it's not a bug?
The 1st device have flash memory, the other two have NAND memory.
Why it's matter?