Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Motion Event Running Twice?
#1
Hi Dean, 

I was experimenting with building a tragectory of my motion sensed location. 

I have a variable driver field called lastknownposition. Each time I go through a motion sensor it updates with that zones location id. 

So I decided to build a history, by creating a second field called previousknownposition. 

In the motion event I update the previous with the last and then update the last, but what is happenening is that for a second it's working then after 5 seconds the prev gets updated with the last. Not desired, obviously. 

I put a pause(1000ms) in there in case a race situation was occuring, but that didnt do anything. 

EventDump shows: 

EvID=976FB93961A74C47-91154AEABB4A0249
cqsl.header
{
    v=1
    sysid=A4EC6719AFC37DC2-552EE5D99872167E
    class=cqsl.motion
    source=cqsl.field:ELK.MOT#LFTPiv
}
cqsl.motioninfo
{
    type=start
    sensornum=56
    name=LFTPiv
}

EvID=976FB93961A74C47-91154AEABB4A024A
cqsl.header
{
    v=1
    sysid=A4EC6719AFC37DC2-552EE5D99872167E
    class=cqsl.fldchange
    source=cqsl.field:LogicSrv.MotionDetected
}
cqsl.fldval
{
    val=True
}

EvID=976FB93961A74C47-91154AEABB4A024B
cqsl.header
{
    v=1
    sysid=A4EC6719AFC37DC2-552EE5D99872167E
    class=cqsl.motion
    source=cqsl.field:ELK.MOT#LFTPiv
}
cqsl.motioninfo
{
    type=end
    sensornum=56
    name=LFTPiv
}

Any idea what might be going on?
Reply


Messages In This Thread
Motion Event Running Twice? - by zra - 07-31-2017, 07:46 PM
RE: Motion Event Running Twice? - by Dean Roddey - 07-31-2017, 08:03 PM
RE: Motion Event Running Twice? - by zra - 07-31-2017, 08:15 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Event Server Error Bugman 4 263 06-05-2022, 08:54 AM
Last Post: Bugman
  Triggered Event w/ Elk AreaArm EST 18 6,034 12-04-2020, 05:37 PM
Last Post: gReatAutomation
  Triggered Event only works every second time znelbok 2 1,044 10-27-2020, 12:05 PM
Last Post: znelbok
  Error Running Installer to Enable SSL gReatAutomation 2 1,121 10-26-2020, 07:41 AM
Last Post: gReatAutomation
  Global Variables in the Event Server context lleo 1 1,072 05-16-2020, 11:21 AM
Last Post: Dean Roddey
  [FEATURE] Event Run Action simplextech 4 2,431 01-09-2020, 02:04 PM
Last Post: simplextech
  Media playing from Event simplextech 11 3,946 01-07-2020, 06:09 PM
Last Post: simplextech
  Triggered Event on Timer Question znelbok 7 3,415 12-09-2019, 02:10 PM
Last Post: znelbok
  Triggered Event and Standard Triggers gReatAutomation 5 2,070 08-23-2019, 12:38 PM
Last Post: Dean Roddey
  LogicServer Elapsed Time and Triggered Event gReatAutomation 6 2,414 08-17-2019, 07:53 AM
Last Post: gReatAutomation

Forum Jump:


Users browsing this thread: 1 Guest(s)