04-07-2011 12:30 PM
Can someone please tell me why this code won't generate alarms. I need to dynamically create the library/shared variables and configure alarming programmatically. I can't seem to get it to work. Is there something I am missing?
Solved! Go to Solution.
04-08-2011 10:25 AM
Still can't generate alarms.
04-08-2011 01:41 PM
Hi Mattyk,
What version of DSC are you using? Can you try using the "configure alarming" vi?
More information on this VI, and how to programatically confiuring alarming can be found here:
http://zone.ni.com/reference/en-XX/help/371618F-01/lvdsc/dsc_conf_alarm/#parent
Thanks,
Dave T.
04-08-2011 03:45 PM
I have tried this "configure alarming.vi" without success. I had this in there before I tried a property node. I've tried everything I can think of. I wrote this VI for figuring out how to setup alarming. All I need is a wokring example of some kind. I can't even get this working:
http://decibel.ni.com/content/docs/DOC-14479
using my shared variable array which I dynamically created.
04-11-2011 09:27 AM
This code is identical to:
http://decibel.ni.com/content/docs/DOC-14479
Except for creating shared variables dynamically and deploying the library before and after shared varaible configuration. Also I had to enable all alarms before I set them. I'm not sure why it doen't work. It doen't make sense.
04-11-2011 10:05 AM
Ah, I was monitoring the wrong shared variable than I was writing to. This example now works.
Thanks NI Engineer (I forget your name)
Matt
02-02-2012 01:36 PM
please DAVID ,
I have problems with the table of alarms and events in the executable.
In the tab program (user ack) I get my username I recognize alarms.
Run on the tab (user ack) I get nobody, I acknowledge the alarm
02-03-2012 05:35 PM
Hi Diego,
I'm not exactly sure what the problem you're referencing is. From what I can tell, the problem seems to be that in an exe file, the user name is printed, but in the development environment it is not? I'd like to clarify this before diving further in.
Regards,
-Dave C