luarken Posted September 22, 2010 Share Posted September 22, 2010 hi DaqFactory Gurus I have a question what is the difference between using alarms (workspace) and alert (sequence)? because I want to pop-up up a message when my modbus connection fails, so that the runtime does not have Command/Alerts window. thanks!!!!! have a nice day Link to comment Share on other sites More sharing options...
AzeoTech Posted September 24, 2010 Share Posted September 24, 2010 An alert is just an error message. We don't pop up error messages because its pretty easy to get the system generating lots of error messages and dismissing all these messages would be very combursome. Instead, we put them in the command alert window. Alarming is for SCADA style alarming with acknowledgement and is for when you want to monitor values and do something when they go out of range and keep the alarm triggered until acknowledgement. If you want to do a popup, you can use system.messagebox(...) function, however, I recommend using a screen element instead, maybe making the background of a page red, or just some sort of indicator. You'll also have to figure a way to determine if there is comms failure. The easiest way is to look at the timestamp for the most recent data point coming from your comms and compare it to systime(). Link to comment Share on other sites More sharing options...
luarken Posted September 28, 2010 Author Share Posted September 28, 2010 thanks so much Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.