12.07.2015 Views

SPOT 4.1 Basic and Advanced Software Manual for SPOT Insight ...

SPOT 4.1 Basic and Advanced Software Manual for SPOT Insight ...

SPOT 4.1 Basic and Advanced Software Manual for SPOT Insight ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Ch. 13 - Macro ScriptingThe date <strong>for</strong>mat can be entered in variousnumerical <strong>for</strong>mats as long as the month, the date,<strong>and</strong> the year are separated by spaces, dashes,<strong>for</strong>ward slashes, commas, or periods <strong>and</strong> they arein that order. Other <strong>for</strong>mats will generate anInvalid Format message.Note: The WAITUNTIL Comm<strong>and</strong> is referenced to the time <strong>and</strong> date set in yourcomputer’s operating system. Please make sure that the operating system time <strong>and</strong>date are accurate be<strong>for</strong>e using this function.Generic Example using WAITUNTILBegin Macro (automatically added when the window is opened)WaitUntilBegin LoopComm<strong>and</strong> A1Comm<strong>and</strong> B1Comm<strong>and</strong> C1Comm<strong>and</strong> D1End LoopEnd Macro (automatically added when the window is opened)In the generic example, the macro will begin running, but will pause until the date <strong>and</strong> timespecified by the WAITUNTIL comm<strong>and</strong>. Once that time is achieved, the loop series will begin<strong>for</strong> the prescribed number of iterations be<strong>for</strong>e completing the macro.END MACROPurpose <strong>and</strong> UseThe END MACRO Comm<strong>and</strong> defines an endpoint to the Macro subroutine. This comm<strong>and</strong> isautomatically placed as the macro endpoint when a new macro is created. This END MACROcomm<strong>and</strong> is supplemental <strong>and</strong> can be added anywhere throughout the macro program.This comm<strong>and</strong> can be effective when the user would like to end a macro be<strong>for</strong>e it has completedall of its program steps. This is useful as a temporary interrupt to a rather large <strong>and</strong> complexmacro that can yield effective results by just running a portion of the macro. The intermediateEND MACRO Comm<strong>and</strong> can be switched on <strong>and</strong> off using the disable feature. This allows theflexibility during playback without significant modification to the base complex macro.More commonly, however, the intermediate END MACRO Comm<strong>and</strong> can be used following anIF statement. This allows the user to exit a macro once a specific condition has been met.User Guide to the <strong>SPOT</strong> <strong>Insight</strong> Camera 259

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!