Welcome, Guest
Username: Password: Remember me

TOPIC: Runtime Created User Disappear

Runtime Created User Disappear 10 months 1 week ago #2449

Hello, i seems to have found a problem where a runtime created user disappear after the PC has been restarted.
i made a user management function that can edit a user during runtime, but after the PC is restarted that created user disappear to the state before the runtime when i add those user happen

how can i resolve this? or is this a bug?
Thank you in advance
The administrator has disabled public write access.

Runtime Created User Disappear 10 months 1 week ago #2450

  • fatkhrus
  • fatkhrus's Avatar
  • Offline
  • Administrator
  • Posts: 835
  • Thank you received: 125
  • Karma: -107
Hello,

You have to save project by using saveproject from files library: teslascada.com/HTML/files-library.html. You add user in the current project in RAM of the PC. When PC is restarted this user is lost.

Best regards,
Ruslan
The administrator has disabled public write access.
The following user(s) said Thank You: kurotsubaki

Runtime Created User Disappear 10 months 1 week ago #2451

will this affect other default variabes by changing it to it's current value?
The administrator has disabled public write access.

Runtime Created User Disappear 10 months 1 week ago #2452

  • fatkhrus
  • fatkhrus's Avatar
  • Offline
  • Administrator
  • Posts: 835
  • Thank you received: 125
  • Karma: -107
It will affect on the object's properties if you change them in the script.

Best regards,
Ruslan
The administrator has disabled public write access.

Runtime Created User Disappear 10 months 1 week ago #2454

how does this function works? if i use this function with the same name as the currently running project, will it cause problems? will the runtime open the newest save immediately the next time i open it if i use a different name?

Thank you in advance
The administrator has disabled public write access.

Runtime Created User Disappear 10 months 1 week ago #2455

  • fatkhrus
  • fatkhrus's Avatar
  • Offline
  • Administrator
  • Posts: 835
  • Thank you received: 125
  • Karma: -107
If you save the project under the same name, the old file will be over written. It's recommended to have reserve copy of your project. If you save your project under other name it will not be opened automatically when you restart application.

Best regards,
Ruslan
The administrator has disabled public write access.
Go to top