PDA

View Full Version : Tridium Vykon Alarm Client history



mujtaba12
05-11-2010, 05:16 PM
I have a site where there are lots of alarm history has been saved which I needed to remove from the database..does anyone know how can I remove those alarm history

thx n best regards
Mujtaba

freddy-b
05-11-2010, 06:47 PM
In the Alarm DB Maintenance window

incontrol
05-12-2010, 10:24 PM
If they don't need it readily available you can rename the APP folder to APPold. When you start the station it should say it is missing and askyou if you want to create it. Yes. That will eliminate all histories.

mujtaba12
05-13-2010, 09:48 AM
I cannot restart the station because its a hospital building n very critical is there any other way?
If they don't need it readily available you can rename the APP folder to APPold. When you start the station it should say it is missing and askyou if you want to create it. Yes. That will eliminate all histories.

checkvalve
05-13-2010, 11:00 AM
Is this an R2 or Ax station?

mujtaba12
05-13-2010, 02:23 PM
Its R2 brother...
Is this an R2 or Ax station?

checkvalve
05-13-2010, 10:24 PM
Here is an old post that talks about how to do this. You can run a query against the appdb to delete the alarm records.

http://www.niagara-central.com/ord?portal:/discussion/DiscussionThread/5322

mujtaba12
05-15-2010, 01:14 PM
this is nice piece of information but I need to know about the acknowledge alarms history..there are almost thousands of acknowledge alarm history..somebody told me that there is a command to remove that but he didnt remember the command.... I already know how to remove the unacked alarms.... any idea??
Here is an old post that talks about how to do this. You can run a query against the appdb to delete the alarm records.

http://www.niagara-central.com/ord?portal:/discussion/DiscussionThread/5322

checkvalve
05-16-2010, 02:54 PM
I think the acknowledged alarms are stored in the EVENT.EVENTHISTORY table. If you are just trying to purge alarms prior to a specific date then you could run a query in the station using the database service like this.

DELETE FROM EVENT.EVENTHISTORY WHERE TSTAMP <= '2009-12-31 00:00:00'

note that the timestamp is stored in yyyy-mm-dd hh:mm:ss format.

Otherwise if you are trying to clear out specific alarms then you try running the query and instead of checking for TSTAMP filter on EVENTSWID or one of the other properties.

mujtaba12
05-17-2010, 03:41 PM
I have tried this but it hasn't removed my acknowledge alarm history......

DELETE FROM EVENT.EVENTHISTORY WHERE TSTAMP <= '2009-12-31 00:00:00'

note that the timestamp is stored in yyyy-mm-dd hh:mm:ss format.

Otherwise if you are trying to clear out specific alarms then you try running the query and instead of checking for TSTAMP filter on EVENTSWID or one of the other properties.[/QUOTE]

checkvalve
05-18-2010, 01:02 PM
I tested this on a demo station and it appears to work for me. I would suggest checking the station output to see if there is an error or the niagara console for workplace pro.

mujtaba12
05-22-2010, 12:09 PM
I have tried by writing this command in the query of database but my server station got stuck then I had to reboot my station...anyreason for that
I tested this on a demo station and it appears to work for me. I would suggest checking the station output to see if there is an error or the niagara console for workplace pro.

checkvalve
05-23-2010, 05:48 PM
Did you see an error in the console (dos looking) window that starts with workplace pro? Was there an error in the station output?

mujtaba12
05-23-2010, 10:42 PM
I havnt observe the console window at that time but there were some errors in station standard output window..
Did you see an error in the console (dos looking) window that starts with workplace pro? Was there an error in the station output?

mujtaba12
05-24-2010, 04:41 PM
Hey brother I hve done it....we can also go through internet explorer i.e [url]http://localhost or IP of server/appdb/queryForm...then a window will open and we can write our command there and execute the command the history alarms would be removed then..thx for ur help br.

checkvalve
05-24-2010, 08:36 PM
Glad to hear that it worked for you. There must have been an error being thrown from workplace pro. At least you got it figured out on the browser side.

mujtaba12
05-25-2010, 04:55 PM
our technical support engineer of schneider electric gave me the manual about this...the manual has all the description
Glad to hear that it worked for you. There must have been an error being thrown from workplace pro. At least you got it figured out on the browser side.