NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

LabVIEW based User Manager

I have a need for a LabVIEW based User Manager that I can run on systems that only have the Base Deployment license. 

 

Just wondering if anyone has some starting code they'd be willing to share.

 

Thanks



Ed Dickens - Certified LabVIEW Architect
Lockheed Martin Space
Using the Abort button to stop your VI is like using a tree to stop your car. It works, but there may be consequences.
0 Kudos
Message 1 of 11
(5,556 Views)

Ed,

 

Did you see this example: C:\Users\Public\Documents\National Instruments\TestStand 2014 (32-bit)\Examples\TestStand API\Creating & Deleting Users Using API

 

It allows you to create and delete users.  It is in TestStand only but will run in the deployed version.

jigg
CTA, CLA
testeract.com
~Will work for kudos and/or BBQ~
0 Kudos
Message 2 of 11
(5,538 Views)

I did look at that example.

 

I'm also needing a way to tweak User or Group permissions so I think a LabVIEW GUI would be best. Something I can run from a USB drive.



Ed Dickens - Certified LabVIEW Architect
Lockheed Martin Space
Using the Abort button to stop your VI is like using a tree to stop your car. It works, but there may be consequences.
0 Kudos
Message 3 of 11
(5,533 Views)

I'm not aware of any that are in that format.  You would have to create one going through the API.  Sorry.

jigg
CTA, CLA
testeract.com
~Will work for kudos and/or BBQ~
0 Kudos
Message 4 of 11
(5,523 Views)

Hi Ed,

Currently I'm facing the same problem. Do you have some code for LV based User Manager that you will be willing to share? 🙂
I would like to use LV Tree control for it but I realized how tedious task it is (mostly determining which privileges are granted by GranAll or Group or maybe even by some other things)...

Michał Bieńkowski
CLA, CTA, CPI

  1. Did someone devote their time to help solve your problem? Appreciate it and give kudos.
  2. Problem solved? Accept as a solution so that others can find it faster in the future.
  3. Contribute to the development of TestStand by voting on the TestStand Idea Exchange.
0 Kudos
Message 5 of 11
(4,595 Views)

I hoped some explanations here :

Why is the User Manager Not Built into the Shipping TestStand Operator Interfaces?

But the link is dead

0 Kudos
Message 6 of 11
(3,265 Views)

@PragmaTest wrote:

I hoped some explanations here :

Why is the User Manager Not Built into the Shipping TestStand Operator Interfaces?

But the link is dead


Not surprised it is dead because it sounds like a terrible idea.  The user management in TestStand is done through the FrontEnd callback.  This gives it abstraction so that you can have different user management flavors for the same framework.  Is there a reason you would want it integrated into the Operator Interface?

jigg
CTA, CLA
testeract.com
~Will work for kudos and/or BBQ~
0 Kudos
Message 7 of 11
(3,252 Views)

Hi Jigg,

I build test benches then send them to my boards suppliers.

Only with TS Deployment licence in it.

No TS development licence on the bench after commissioning.

The operator name is written in my custom report.

The leader there has to be able to add his colleagues (the operators) himself to the user list after they are trained to the bench (by him).

No network so impossible to centralize users.ini.

I could add the users myself and send him users.ini by email but it would be quite annoying : no time for that, don't want to see their personal password, etc...

I see a lot of TS users asking this question in NI forums, so I'm questioning myself about the decision behind this conception choice.

I mean, I understand possible security issues, but why NI does not provide a "lite" User Manager, usable with an OI and a simple TS deployment licence, just able to add/modify/delete operators (and not able to do the same with higher profile than operator) in preexisting groups for example ?

I don't know, but I don't want to develop this by myself.

Ok, I have to look to the provided seq example which do that, but I read this example is not perfect, no errors management, additional work to perform, etc...

I hoped something more direct.

Or maybe am I missing something ?

Please let me know.

Thanks,

 

0 Kudos
Message 8 of 11
(3,244 Views)

Jigg, you talked about the front end callback : the user login is in there, but not the User Manager (the one with a man icon in SeqEdit)

0 Kudos
Message 9 of 11
(3,224 Views)

You are correct.  My bad.  I misunderstood.

 

There is not one that ships with the UI currently.  My guess is that they assume the production benches aren't where you are supposed to manage users.   

 

Just out of curiosity, would you purchase one if it existed?  I have one but was looking to commercialize it and wondered if it would be worth it.

 

Regards,

 

 

jigg
CTA, CLA
testeract.com
~Will work for kudos and/or BBQ~
0 Kudos
Message 10 of 11
(3,217 Views)