KB-24803: Recording alarms’ quality.
Question: How can I have the alarms’ quality to also be recorded in the database? Solution: To do so, you can configure the field Quality (in the Alarm Server) to…
Question: How can I have the alarms’ quality to also be recorded in the database? Solution: To do so, you can configure the field Quality (in the Alarm Server) to…
Question: What is the difference between InTime, OutTime, and E3TimeStamp properties? Solution: InTime: records date/time of the value when it gets in alarm. OutTime: Records date/time of the value when…
Description: Why is the alarm linked to an I/O tag not firing? Solution: E3 links are context-sensitive. That means that E3 will try to solve the link by first looking…
Question: How can I add fields to alarms so that the query to Alarms table returns the values from alarms, plus the values from the added field? Solution: To do…
Question: How can I play a sound file whenever the alarm is active? Solution: To do so, you must create a new event in the Viewer with this property/expression: AlarmServer1.ActiveNACKAlarms…
Question: At run time, how can I tell if the variable is communicating with the device or not? Solution: To do so, use the tag’s Quality property. If this property’s…
Question: What is the XControl/XObject’s Constructor event for? Solution: This event is executed whenever the object starts. You can use this event to run a script starting an XControl’s internal values,…
Question: In a new domain, how can I use a library that had been developed in another project? Solution: To do so, copy the *.LIB file into the folder of…
Descrição: Como posso calcular a média de um tag que vem do histórico dentro de uma faixa de data/hora inicial/final? Solução: Para isto, utilize a função Average. Average (src, type,…
Aplicação exemplo realizando comunicação básica via OPC. No arquivo em anexo a este artigo, encontram-se as aplicações servidora e cliente. Atenção: lembre-se de configurar o endereço de rede da máquina…