NI Home
Cart Cart | Help
Hello Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI
You are here: 
NI Home > NI Developer Zone > NI Discussion Forums


Reply
Member
NNS-CAO
Posts: 15
0 Kudos
Accepted Solution

registering alarms in event structure

 

I am currently using LabVIEW 2011 SP1 and the DSC module. I can dynamically register shared variable alarms in my event structure; however, this only triggers an event when the variable goes into an alarm condition. I also need to know when the alarm clears.  Any ideas?

Member
Sergey_Kolbunov
Posts: 73
0 Kudos

Re: registering alarms in event structure

Can you show your code or give an example code?

Sergey Kolbunov
CLA, CTD
Active Participant
elset191
Posts: 1,128
0 Kudos

Re: registering alarms in event structure


NNS-CAO wrote:

 

I am currently using LabVIEW 2011 SP1 and the DSC module. I can dynamically register shared variable alarms in my event structure; however, this only triggers an event when the variable goes into an alarm condition. I also need to know when the alarm clears.  Any ideas?


I just did some of this in 2010 and it fired on both conditions (automatically, I think).  Are you certain it's not, ie, have you probed and stuff to check?

--
Tim Elsey
LabVIEW 2010, 2012
Certified LabVIEW Architect
Member
NNS-CAO
Posts: 15
0 Kudos

Re: registering alarms in event structure

I figured out the solution. I set the alarm to auto acknowledge and then it triggered the event on alarm clear. It would not work with it set to user acknowledge.

By using this web site, you accept the Terms of Use for this web site. Please read these Terms of Use carefully before using any part of this site. Please go here for information on ni.com's copyright infringement policy.
My Profile | Privacy | Legal | Contact NI © 2011 National Instruments Corporation. All rights reserved.    |    E-Mail this Page E-Mail this Page