NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Creating or Deleting Users with simple OI

Solved!
Go to solution

Hello,

 

For my simple OI, I wanted to add a method of creating or deleting users. I didn't like the way of calling the seq createdeleteusers.seq.

Instead I wanted to intiate through a activation of a button from simple OI.

 

So I created a sub VI called user manager which allows only administartor (prechecked in simple OI) to create or delete users. Reference of teststand engine need to be passed to sub vi from simple OI.

 

attached is the sub VI for creating or deleting users, Is this the right way of doing it?

 

I am using LV 8.2 and teststand 4.0.

 

Regards

Prav

0 Kudos
Message 1 of 4
(3,301 Views)

Hi Prav,

 

I have found this community example which I am confident does exactly what you want to do. I suggest you download and take a look at this code.

 

I hope this helps.

 

Best Regards,

 

Christian Hartshorne

Applications Engineer

National Instruments

0 Kudos
Message 2 of 4
(3,271 Views)
Solution
Accepted by topic author prav

Thanks Christian,

 

I had look at the code and it is lamost similar or even better as my single GUI does both add and delete operation but surely  I can grab some nuggets.

 

Regards

Prav

0 Kudos
Message 3 of 4
(3,268 Views)

Rather than actually modified UI code, you could simple add an item to the Tools Menu.

 

see the following Link

 

Regards

Ray Farmer

Regards
Ray Farmer
0 Kudos
Message 4 of 4
(3,252 Views)