Hi everybody,
Is it possible to create buttons (for example "Up" and "Down") in AlarmViewer which select displayed alarms?. I know we can select them by touching the screen, but I find it's too small and not very practical.
I have looking for in AlarmViewer methods but my knowledges in C# are limited...
Thanks a lot
antoineA.
Custom AlarmViewer
Re: Custom AlarmViewer
This is on my wish list, but currently there is not a way to do this with the Alarm Viewer object.
Best Regards,
Beijer Electronics, Inc.
Ron Lloyd | Applications Engineer
Beijer Electronics, Inc.
Ron Lloyd | Applications Engineer
Re: Custom AlarmViewer
Hi.
I continue this post with a related question:
Is it possible to add alarm buttons for Ack, Info etc but not using the buttons in the AlarmViewer ?
I like to have a Clear all -button elsewere than in the AlarmViewer window. I assume it can be done with a script but I cannot figure out how.
Thank you.
I continue this post with a related question:
Is it possible to add alarm buttons for Ack, Info etc but not using the buttons in the AlarmViewer ?
I like to have a Clear all -button elsewere than in the AlarmViewer window. I assume it can be done with a script but I cannot figure out how.
Thank you.
Re: Custom AlarmViewer
Yes, some of that can be done in script by referencing the AlarmViewer instance on a screen.
Code: Select all
void Button1_Click(System.Object sender, System.EventArgs e)
{
//AlarmViewer1.AcknowledgeSelected();
AlarmViewer1.ShowInfo();
}
- Attachments
-
- Snap 2012-03-19 at 10.44.19.jpg (110.58 KiB) Viewed 18182 times
Best Regards,
Beijer Electronics, Inc.
Ron Lloyd | Applications Engineer
Beijer Electronics, Inc.
Ron Lloyd | Applications Engineer
Re: Custom AlarmViewer
Thank you Ron for your reply.
Is this functionality will be available with the next version of Ix Developer?
Best regards,
antoineA.
Is this functionality will be available with the next version of Ix Developer?
Best regards,
antoineA.
Re: Custom AlarmViewer
It's available in the current release of iX Developer 1.31.93.
Best Regards,
Beijer Electronics, Inc.
Ron Lloyd | Applications Engineer
Beijer Electronics, Inc.
Ron Lloyd | Applications Engineer
Re: Custom AlarmViewer
The "up" and "down" buttons???Ron L. wrote:It's available in the current release of iX Developer 1.31.93.
Re: Custom AlarmViewer
hi Ron,
I have another question concerning Alarm features. Is there a way to define the position of Red light apparition when an alarm is activated?? By default, it appears on the upper left corner of the screen and I would like to define it on the center of the screen.
Best regards,
antoineA.
I have another question concerning Alarm features. Is there a way to define the position of Red light apparition when an alarm is activated?? By default, it appears on the upper left corner of the screen and I would like to define it on the center of the screen.
Best regards,
antoineA.
Re: Custom AlarmViewer
Thanks Ron for the answer, it wasn't so hard
But how to make script if I like to have the button on another screen than the AlarmViewer itself?
I like to have the .ClearNormalAlarms() on a separate screen.
antoineA: I disabled the iX alarm indicator and made my own which is visible if an alarm is active. Then I can make its look and location as I like.
But how to make script if I like to have the button on another screen than the AlarmViewer itself?
I like to have the .ClearNormalAlarms() on a separate screen.
antoineA: I disabled the iX alarm indicator and made my own which is visible if an alarm is active. Then I can make its look and location as I like.
-
- Posts: 824
- Joined: Tue Mar 13, 2012 9:53 am
Re: Custom AlarmViewer
Hi Kim,
To clear the alarms using a button from a different screen you need to get a hold of the AlarmServer object. You can then call your functions on that and all the AlarmViewers in the project will get updated.
To clear the alarms using a button from a different screen you need to get a hold of the AlarmServer object. You can then call your functions on that and all the AlarmViewers in the project will get updated.
Code: Select all
void Button1_Click(System.Object sender, System.EventArgs e)
{
//Globals.AlarmServer.Acknowledge();
Globals.AlarmServer.ClearNormalAlarms();
}
Best Regards,
Mark Monroe
Beijer Electronics, Inc. | Applications Engineer
Mark Monroe
Beijer Electronics, Inc. | Applications Engineer