02-28-2012 03:19 PM
How can I set the Alarm&Event 'set user'? Right now, it is always '(Nobody)'
02-29-2012 04:30 PM
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
03-01-2012 03:03 PM
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!
03-06-2012 11:08 AM
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.
03-07-2012 05:17 PM
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
03-08-2012 10:47 AM
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.)
06-17-2014 06:50 AM
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
06-17-2014 03:28 PM
06-17-2014 03:30 PM
oops, no image! i'll try again
06-19-2014 04:24 AM
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