Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1
  • 2

TOPIC: Use user account control screen

Use user account control screen 5 months 3 weeks ago #1373

  • Leo
  • Leo's Avatar
  • Offline
  • New Member
  • Posts: 8
  • Karma: 0
Hi I have some questions

Can I use the user account control screen to visible and invisible? or I need to use tag and database control or user and scripts (is there have any sample can reference)

Thanks
The administrator has disabled public write access.

Use user account control screen 5 months 3 weeks ago #1374

  • fatkhrus
  • fatkhrus's Avatar
  • Offline
  • Administrator
  • Posts: 516
  • Thank you received: 71
  • Karma: -110
Hello,

You can make button, that call screen, invisible for some users. See this video tutorial at the end: teslascada.com/videotutorials/teslascada...-rtu-and-tcp-servers

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

Use user account control screen 5 months 2 weeks ago #1375

  • Leo
  • Leo's Avatar
  • Offline
  • New Member
  • Posts: 8
  • Karma: 0
Hi
I have two questions.
1.
I try to use users control button visibility,and I find a bug, I'm not sure the problem is normal.
I create two users ,my code reference form your web.
I login Admin user can visible button, but I change user the button is not invisible. need to stop and replace user it will be in effect.
Do you have some method can solve?
2.
I control user password , and I Input tag value 1111 , but password is not 1111. it display 荺u.
my tag is use string
Do you have some suggest?
This is my code
if (stringsequals(Users.current.name, "Operator1")){
Users.Operator1.password = Tags.USER_PASSWORD ;
}
Thanks
Last Edit: 5 months 2 weeks ago by Leo. Reason: add questions
The administrator has disabled public write access.

Use user account control screen 5 months 2 weeks ago #1376

  • fatkhrus
  • fatkhrus's Avatar
  • Offline
  • Administrator
  • Posts: 516
  • Thank you received: 71
  • Karma: -110
Hello,
Answers to your questions:
1. I don't know what's the reason of your problem. Did you make the same code like in example?
Did you check Every cycle for script like in example? Send us your project to check the problem.
2. Yes, you're right there is some problems in changing password by using script.
We use encoding for holding password in the project file. Unfortunately we did mistake and didn't encode and decode password when you use script for assigning.
We'll fix it in the next version.

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

Use user account control screen 5 months 2 weeks ago #1377

  • Leo
  • Leo's Avatar
  • Offline
  • New Member
  • Posts: 8
  • Karma: 0
First question
I didn't choose every cycle ,it's solve.
Second question
OK I look forward to the new version.

by the way
Is tag have up limit? or be related to CPU or DRAM
If client doesn't have PC sever , he only run in cellphone or iPad
In short, I will give him the running after editing
Are there limits count to tag and screen?
or use experience do not let the phone crash
The administrator has disabled public write access.

Use user account control screen 5 months 2 weeks ago #1378

  • fatkhrus
  • fatkhrus's Avatar
  • Offline
  • Administrator
  • Posts: 516
  • Thank you received: 71
  • Karma: -110
Number of tags and screens in your project are limited by CPU and RAM of the device.

Best regards,
Ruslan
The administrator has disabled public write access.
  • Page:
  • 1
  • 2
Go to top