Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Elk Counter update
#1
Dean,
I used to use a modified version on the V1 Elk driver that included an UpdateCounters call.  That version went away, so I reverted to the standard Elk V1 driver.  How do I force a Counter update prior to a read.  The driver currently never updates counters modified by the Elk.
Thanks,
Reply
#2
You shouldn't need to do anything. The driver polls the counters, not quickly but it does. I think it's one roughly per second or something, not counting the various other delays involved with polling other things.

There was an error back some time where the method that handled the incoming counter msgs was using the wrong id to field id mapping, but if you are on the current official version that should be well beyond that bug.
Dean Roddey
Explorans limites defectum
Reply
#3
I'm on 5.2.11
Reply
#4
Reconfigured the driver. Now it works Smile
Reply
#5
Well, I thought this was resolved but it isn't. The only way I can get the Elk V1 driver to update counters is to reconfigure the driver! I waited until I upgraded CQC to 5.3.2, and it's still an issue. I have 40 counters. Wonder if that's the issue.
Reply
#6
It only does them one per second I think. So it could take forty seconds in that case to see a change, worst case. Are you sure it isn't that?
Dean Roddey
Explorans limites defectum
Reply
#7
(06-18-2019, 07:10 AM)Dean Roddey Wrote: It only does them one per second I think. So it could take forty seconds in that case to see a change, worst case. Are you sure it isn't that?


No, never updates.  I remember that the update with the modified V1 driver used to take perhaps 20 seconds from the time of the call to update.  Have just installed 5.4.  Will do some testing there and let you know the results.
Reply
#8
So the same issue in 5.4. Changes made in CQC reflect in the Elk, but changes made in the Elk, like adding 100 to a counter, never reflect in the CQC driver.
BTW, my Brultech GEM drivers, which used to lose connection on previous releases, seem much more stable in 5.4.
Reply
#9
I think I'm still using that dev driver with the counters mod in it on the latest Beta. Ron are you on a V1 or V2 stock Elk Driver? I don't think the stock Elk V1 driver ever got the counters update did it?
Reply
#10
Looking at the driver, it has some capabilities flags that it sets based on the Elk firmware version. It sets the counters flag if the version is >= 5.1.6 for the 5.x firmware and 4.1.B for the 4.x firmware. If the flag is set then it does a slow poll of the counters.

So, if it's not doing anything, I'm guessing it is not setting that capabilities flag. What Elk firmware are you using, Ron?
Dean Roddey
Explorans limites defectum
Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
  Sonos Update Error (Again) karenlee 39 4,718 12-04-2018, 10:15 PM
Last Post: Dean Roddey
  How to update the new zwave stick/driver? ghurty 5 1,004 11-22-2018, 06:56 PM
Last Post: Dean Roddey
  Widget table doesn't update Attributes tab rbroders 6 1,560 09-11-2018, 07:52 PM
Last Post: Dean Roddey
  A word of warning regarding the Windows 10 Fall Creators Update Mark Stega 40 12,499 11-13-2017, 10:56 AM
Last Post: Dean Roddey
  COuld not update triggers znelbok 11 4,125 06-08-2017, 03:55 PM
Last Post: znelbok
  How to update to latest ghurty 11 4,625 05-04-2017, 08:16 PM
Last Post: Dean Roddey
  Gem counter on 4.6 upgrade Ron Haley 6 1,799 12-19-2014, 10:32 AM
Last Post: Ron Haley
  Time for an update to ELK driver? George M 1 1,655 08-29-2013, 10:05 AM
Last Post: Dean Roddey
  Elk driver and Counter updates George M 32 2,465 01-26-2013, 05:12 PM
Last Post: rbroders
  How do I update a driver? znelbok 15 2,039 01-13-2013, 12:56 AM
Last Post: znelbok

Forum Jump:


Users browsing this thread: 1 Guest(s)