LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

DSC module: one of my alarm's always active

Hi,
 
I'm using LabVIEW 8.2, DSC module 8.2.
 
I have 320 shared variables (all of them are boolean) for each alarm that I need to store in the database. I display the actives alarms with the "Alarm & Event Query.vi" for the last 24 hours.
Yesturday 2 of my variables were true when labview was running. One of my partner accidently turn off my computer.
When I ran my application again, the alarm were still active (I saw it with the "Alarm & Event Query.vi"). I wanted to turn them off so I gave them False values. In the "Alarm & Event Query.vi", it says that they are still active (the "set time" is before the computer turned off). I gave them true values, then false values and the "Alarm & Event Query.vi" always remember that they were true. What sould I do to remove this error?
 
If I check what is the value of the variable, it says that it's false, but in the database I can see that they are not acknowledged... How can I acknowledge them? I want them false...
 
It's hard to explain, I hope someone understand what  I want and have a good answer for me 😉
 
Thank you
 
Stephanie 
0 Kudos
Message 1 of 11
(21,200 Views)
You need to clear the alarms unless you have them configured to clear automatically. 
0 Kudos
Message 2 of 11
(21,190 Views)

Hi,

How can I clean them?

 

Thank you

Stephanie

0 Kudos
Message 3 of 11
(21,123 Views)
I don't have DSC on this computer, but there is a VI on the DSC pallette to clear/acknowledge them.
0 Kudos
Message 4 of 11
(21,103 Views)
Hi Stephanie,
You can use the Clear User Defined Alarm.vi that's under DSC Module->Alarms and Events->Clear User Defined Alarm.vi.
Hope this helps!

Yi Y.
Applications Engineer
National Instruments
http://www.ni.com/support
0 Kudos
Message 5 of 11
(21,049 Views)
Were these alarms configured as 'User must acknowledge'?
Regards,
Robert
0 Kudos
Message 6 of 11
(20,013 Views)
Hi REM,
 
I don't see this option in each shared variable proprieties. Were can I unable this?
 
Thank you
 
Stephanie
0 Kudos
Message 7 of 11
(20,008 Views)
Sorry I just found it.
 
It's "Auto" in the Ack mode, not "User"
 
Stephanie
0 Kudos
Message 8 of 11
(20,008 Views)

I have bad news for you.

Apparently Windows shut down Citadel before the engine completed its shutdown.  As a result, the clear information for the alarm was never logged.  Although you can see these alarms in historical data, they do not exist in the system and, therefore, cannot be cleared.  If this is not important data you could destroy those alarms...otherwise you'll have to put up with them.

As an aside, 'Clear User Defined Alarm' can only be used to clear an alarm created by 'Set User Defined Alarm'

Regards,
Robert
0 Kudos
Message 9 of 11
(19,901 Views)

Hi Robert,

The problem happened again.

When they start the application after a shutdown, all the alarms that were active are still there. Everytime I start the application, I want to acknowledge all the alarms. I don't want to see them active. Right now I use the "Get Shared Variable List.vi" and the "Acknowledge Alarms.vi" when I initialize my application. I thought this would works, but it didn't. You can check what I did to display the alarms (you have to run "display.vi"). It looks like it doesn't want to acknowledge them because when I display them, I only check if they are acknowledge or not and it says that they are not. How come they are not ack?

I would like to destroy them but how can I do that? And when you say "destroy", what do you mean by that? They won't be in the database anymore?

Could you please check if I do it correctly?

Thank you

Stephanie

0 Kudos
Message 10 of 11
(12,282 Views)