Macro to run cameras

Started by DScotland1, May 23, 2007, 08:38:33 PM

Previous topic - Next topic

DScotland1

I am not sure if there is a post out there for this, here is what i want to do, I have 4 cameras 3x XCam2's and one low light camera, i wish to write a macro that will cycle through the XCams during the day and then switch to the low-light camera at night. does anybody have any idea how to do this ?

azzar0

#1

  • How do you execute the macro?
  • What do you do with the cameras once you cycle through them?

    • Save video / snapshots?
    • Email pictures, etc?
  • How long do you want (each camera) to be on before it switches to the next one?

It is easy to do in SmartMacros - just create a new macro, set it to an address (ie M11 ON), and then start adding logic:

If time between dawn and dusk
Switch to camera 1
Start recording (if you so wish)
Take snapshots (if you so wish)
Email pictures (if you so wish)
Wait XXX minutes
Switch to camera 2
Start recording (if you so wish)
Take snapshots (if you so wish)
Email pictures (if you so wish)
Wait XXX minutes
Switch to camera 3
Start recording (if you so wish)
Take snapshots (if you so wish)
Email pictures (if you so wish)
ELSE
If time between dusk and dawn
Switch to camera 4
Start recording (if you so wish)
Take snapshots (if you so wish)
Email pictures (if you so wish)
Wait XXX minutes

Something like that. You may need to set / unset flags if you're recording, otherwise it has the tendency to go into a loop.

Good Luck!


[TTA Edit: Added WHITESPACE and formatting to improve readability.]