Username saving

Discuss issues and ideas you have to configuring displays with PowerVision
ECS-SA
Posts: 48
Joined: Thu Feb 17, 2011 7:19 am

Username saving

Post by ECS-SA » Thu Jan 19, 2012 6:56 am

Hi all i have 4 projects here in south africa what i am working on but im batteling with the one the customer wants the following specs:
1. 60+ usernames and passwords for his technicians on the mine i've got that in a csv file.
2. If there is a shutdown on the machine and the technician puts his username and password into reset the machine that it saves his username and also the fault codes which is reset.
3. Then say once a week that you can download it to a flash drive to view on a laptop or pc for the use in there meetings.
ksaenz
Enovation Controls Development
Enovation Controls Development
Posts: 263
Joined: Thu Aug 19, 2010 7:53 am

Re: Username saving

Post by ksaenz » Mon Feb 06, 2012 9:57 am

Hello Marcell,

1. You can copy a file from a flash drive to the PV450 using the functions mountUSB(), copyFromUSB() and unmountUSB() in a script. Instead of storing the username and password in the file it would be a good idea to store the hash value of the unsername & password.

2. When there is a shutdown, a script can write the username used and athe fault thas was reset to a file using the open() writeString() and close() methods of the file object add-on.

3. To download the file to a flash drive you can use the functions mountUSB(), copyToUSB() and unmountUSB() in a script.

Regards,

ksaenz