NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

User Management

I am using TestStand 4, and LabVIEW 8.5, & will be distributing an EXE to a client. The client needs the ability to add users/passwords for the technicians who will be assigned to using the system. In the TS sequence editor I can add users and set privileges, how does an end user do this on a stand alone system? I looked at User Management in the LabVIEW User Interface and the only option appears to be to point to a different INI file.
Lawrence M. David Jr.
Certified LabVIEW Architect
cell: 516.819.9711
http://www.aleconsultants.com
larry@aleconsultants.com
0 Kudos
Message 1 of 5
(4,240 Views)
Just to clarify, are you trying to add the ability to add users to your LabVIEW Operator Interface? 

If so, this KnowlegeBase article, "Why is the User Manager Not Built into the Shipping TestStand Operator Interfaces?" may get you started trying to do that.
http://digital.ni.com/public.nsf/allkb/0D45F11248F5A32086256E1D006A2B95?OpenDocument

Let me know if you have more questions.

Kristen
National Instruments
0 Kudos
Message 2 of 5
(4,215 Views)
thanx, I haven't tried it yet but it sounds right.
Lawrence M. David Jr.
Certified LabVIEW Architect
cell: 516.819.9711
http://www.aleconsultants.com
larry@aleconsultants.com
0 Kudos
Message 3 of 5
(4,211 Views)
Hi Kristen
I played with the example and it works fine; thought that before I added it to the Tools menu I would make it a little more useful by allowing a password - what's the point if every password is an empty string. In the create user sequence, immediately following the expression 'Set Login Name' I added a dialog box developed as a LabVIEW module that has the user input a password into two controls, checks that they match, and if they do outputs the password, into a local: "Locals.userPassword". The next step in the sequence is the expression 'Set Password' which was: Locals.User.AsUser.Password = ""
Between the empty quotes I placed my new variable "Locals.userPassword"
It runs okay, but when I try to log in as this new user I get an error, "invalid password, passwords are case sensitive" - an empty string doesn't work, so something was stored as a password, but apparently something isn't correct.
Any help?
thanx

lmd2
Lawrence M. David Jr.
Certified LabVIEW Architect
cell: 516.819.9711
http://www.aleconsultants.com
larry@aleconsultants.com
0 Kudos
Message 4 of 5
(4,184 Views)
Sorry, don't know what I was thinking, Locals.userPassword is correct, but not enclosed in quotes, it's a variable, not a literal. Sorry to have bothered you

lmd2
Lawrence M. David Jr.
Certified LabVIEW Architect
cell: 516.819.9711
http://www.aleconsultants.com
larry@aleconsultants.com
0 Kudos
Message 5 of 5
(4,183 Views)