Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
are triggers reliable?
#1
i am finding that sometimes triggers against global variables quit working.  if i go to the variable, open the trigger and save it then it starts working again.  

greg
Reply
#2
They should be very reliable. However they are broadcasts, and so are not guaranteed delivery. They are sent three times with a small delay between each one, to help make sure that they are received.

If you think one has stopped, bring up the Admin Intf and in the /System/Monitor (I think) section bring up the tab that monitors triggers. Change that variable and see if you get the trigger. If so, it's being sent, so any issue is downstream from that on the receiving end. Presumably that would be the event server in this case if you are talking about triggered events not happening. If you don't see the trigger, then it's probably not being sent and the issue would be on the sending end. That would let us know which way to look.
Dean Roddey
Explorans limites defectum
Reply
#3
I have also found another trigger problem.  I have a CQCVar driver and set a trigger on one of the fields.  Works OK.  Then I editied the Var driver to change the Range on a different CARD4 variable.  I saved the changes and then found that the program using the trigger field no longer worked.  In the Adnim IF, the field still showed the trigger set, but when I open the dialog box to check, the box showed no trigger.  Setiing the trigger to "Any ValueChange" again and the program worked again.  So saving changes to to a Var driver seems to corrupt the triggers.

PJG
Reply
#4
There seems to be something more going on here.  I am on 5.1.2.  I reported a problem a while ago about the trigger dialog box always showing "No Trigger" when you open it, even if one had been set previously. 

http://www.charmedquark.com/vb_forum/sho...?tid=10275


I thought you had fixed this, but the same thing is happening again.  Moreover, I now need triggers on two fields in the CQCVAR driver.  If I set one on a field it works, but as soon as I set a trigger on the second field, the first no longer works.  In the ADMIN tab for the device, both fields are still show as having a trigger, which is incorrect.

PJG
Reply
#5
OK, it's been sort of a round about. The short version is:

1. When we moved the driver config to the MS, we changed editing to edit that and store it, then send the CQCServer hosting the driver a message to update himself using the newly stored info.
2. That caused the previous issue where fields that no longer exist were still in the trigger list because the MS doesn't know what fields are valid and what aren't.
3. So that was fixed by reading in the live stuff from the hosting CQCServer to use that as the basis for editing, so that we could get rid of any out of date triggers (since CQCServer removes any triggers that are for fields the driver doesn't have.)
4. But CQCServer logic was incorrectly removing all triggers after storing the new ones, which would remove the ones it just stored, and only the newly added/edited one would get actually set.


So, it was an issue that got fixed but another issue was caused in the process. I'll get up a new drop later today with all the latest small fixes.
Dean Roddey
Explorans limites defectum
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  RadioRA2 Triggers gReatAutomation 3 729 03-25-2020, 05:11 PM
Last Post: Dean Roddey
  Reconfig of Driver Causes Built In Triggers to Fire gReatAutomation 2 834 03-25-2020, 04:09 PM
Last Post: gReatAutomation
  More than 4 triggers simplextech 4 1,311 01-09-2020, 10:02 AM
Last Post: simplextech
  Triggered Event and Standard Triggers gReatAutomation 5 1,565 08-23-2019, 12:38 PM
Last Post: Dean Roddey
  Triggered event w/ multiple triggers lleo 16 6,033 06-06-2018, 06:21 PM
Last Post: lleo
  High Level Triggers and Action rules admin screen kfly 1 1,837 11-01-2017, 05:21 PM
Last Post: Dean Roddey
  COuld not update triggers znelbok 11 5,389 06-08-2017, 03:55 PM
Last Post: znelbok
  Problem with Triggers pjgregory 11 5,942 05-11-2017, 11:36 PM
Last Post: pjgregory
  Best Way to Handle Triggers that get Reset kblagron 3 1,939 03-02-2016, 02:13 PM
Last Post: znelbok
  Triggers pilotguy7ca 1 1,663 12-29-2015, 07:45 PM
Last Post: Dean Roddey

Forum Jump:


Users browsing this thread: 1 Guest(s)