LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

DSC Module: Alarms & Events: How can I programmatically set the 'set user'?

How can I set the Alarm&Event 'set user'?  Right now, it is always '(Nobody)'

 

0 Kudos
Message 1 of 11
(4,068 Views)

Hey Gretchen,

 

Could you provide some more information as to where exactly you are running into this issue? I would like to help but I am unsure of what your problem is at this point.

 

Thanks,

 

Doug B

Applications Engineer
National Instruments
0 Kudos
Message 2 of 11
(4,054 Views)

Doug B, David A,

 

I am suppose to deliver a working system tomorrow (involving many features of the DSC Module).

I will reply to all of my Post's responses next week!

0 Kudos
Message 3 of 11
(4,049 Views)

Here is an example.  Below is an image of one of the examples that comes with the DSC Module.

Notice how the 'Set User' column displays a value of (Nobody).

I can programatically adjust the alarm limits on shared variables via property nodes:

(see example 

Dynamically Update Shared Variable Alarm Levels Using the DSC Module)    

but not the Set User.

 

AlarmEventDisplay.JPG

0 Kudos
Message 4 of 11
(4,037 Views)

Hey Gretchen,

 

It looks like 'nobody' is the default user account and has no security settings that go along with it. You can change that user by following the instructions in the following link:

 

http://zone.ni.com/reference/en-XX/help/370246E-01/lvdschelp/set_proxy_user_account/

 

Hope This Helps,

 

Doug B

Applications Engineer
National Instruments
0 Kudos
Message 5 of 11
(4,027 Views)

Thanks for the info.  I had not discovered the Security dialog under the Options.  However, now that I have delivered the first version of the software and have more time to play around, I have discovered the Account Domain Manager under Tools->Security, and that seems to be what I need.  In the image below, I used the Example entitled 'DSC Dynamic Alarm Update'  (available in Example Finder).  But first, I created a local domain called 'Skelly', and logged in as a user named 'zimmer'.  When the alarm came in, you can see that the set user is no longer 'Nobody'.  So now, all I need to do is modify my startup VI, to have each operator log in (using the DSC Security VIs).  That way I will have a record of which operator adjusted the valves & pumps.  ( I write all commands going to control devices to a text shared variable which I log. I also have checked the option to Generate an event upon value change.)

 

alarmsetuser.JPG

0 Kudos
Message 6 of 11
(4,022 Views)

hi,

 i am facing the same problem can you provide me the vi so that i can use it in my application

 

 

tha nks

gurpreet

0 Kudos
Message 7 of 11
(3,832 Views)

 

 

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

oops, no image!  i'll try again

 

DSCSecurityVIs.JPG

 

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

it is difficult to get the code in your image  can you give me a large view. in m y problem i am unable to get the user name in the data set vi

it is showing as unknown user

0 Kudos
Message 10 of 11
(3,790 Views)