Scripting Layout Position

Oct 30, 2020
3
2
Barto, PA
Hey all. New to the forum, I've been using this site for a reference for a long time now.
Is there a way to script "Move to first layout position"? We want the camera to PTZ to its position when told to (via DI), but we want the picture to enlarge as well.. I'm open to any suggestions.
Thanks in advanced.
 
Make a preset position in the camera GUI. Then just hit that preset number in BI.
 
  • Like
Reactions: looney2ns and TonyR
@mynameisgreg , once you've made that preset in cam using the cam's webGUI (including zoom), as indicated by @samplenhold , you should be able to find a HTTP command to call it up such as " /admin?camera=x&preset=n" which calls up " Goto PTZ preset n on camera x (short name)"

These and MUCH more can be found (where else but) in BI's built-in Help under "Administration" ==>> HTTP Interface"
 
Got it. thank you!
I ended up passing for "on alert":
10.30.30.148:81/admin?camera=ptz&priority=1&user=username&pw=password

and for "On reset" passing: &priority=0

Then, I assigned each camera a global DIO bit (2,4,8,16) and pass this in our VB script:

Next step is getting it to trigger using the cameras DIO not a global DIO bit.
 
  • Like
Reactions: looney2ns and TonyR