Trigger Function - n Time Prior
Posted: Fri Sep 09, 2016 9:30 pm
Hello,
I have ZM installed on a machine running Linux Mint (Mint 18, ZM 1.29.0), I've been tinkering around for a couple of days and everything is working great. Got it installed and recording pretty quickly. For testing, I setup the trigger and set my camera to nodect, sent a command via Python and I'll be darned, it worked first try!
My project I'm working on is monitoring a machine in our shop. From my machine, I can get status when it faults, I can send that to ZM and trigger it to record (and this currently works). This may sound silly, but what I really need is a certain amount of time prior to the event to see what might have caused it. So I imagine it like this, I'm constantly recording, an external event happens, save an event at 20 seconds prior to the trigger and record for the next 20 seconds (sent with the external trigger). I searched around for a bit and although I've seen a few posts asking for what seemed like the same thing, I didn't see any responses.
Should I just forget it? Or does anyone have a clever way to accomplish this?
I was thinking that a round about way would be to have a constant recording and a nodect on the same monitor. Then when I see an event on the nodect, I could try to find that point in the constant recording. It would just be a little clunky. Especially if you showed up an hour after the event happened.
Thanks for reading!
I have ZM installed on a machine running Linux Mint (Mint 18, ZM 1.29.0), I've been tinkering around for a couple of days and everything is working great. Got it installed and recording pretty quickly. For testing, I setup the trigger and set my camera to nodect, sent a command via Python and I'll be darned, it worked first try!
My project I'm working on is monitoring a machine in our shop. From my machine, I can get status when it faults, I can send that to ZM and trigger it to record (and this currently works). This may sound silly, but what I really need is a certain amount of time prior to the event to see what might have caused it. So I imagine it like this, I'm constantly recording, an external event happens, save an event at 20 seconds prior to the trigger and record for the next 20 seconds (sent with the external trigger). I searched around for a bit and although I've seen a few posts asking for what seemed like the same thing, I didn't see any responses.
Should I just forget it? Or does anyone have a clever way to accomplish this?
I was thinking that a round about way would be to have a constant recording and a nodect on the same monitor. Then when I see an event on the nodect, I could try to find that point in the constant recording. It would just be a little clunky. Especially if you showed up an hour after the event happened.
Thanks for reading!