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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Ch. 13 - Macro ScriptingIn the preceding Example X, when the IF Comm<strong>and</strong> is false, the program will skip Comm<strong>and</strong> A1<strong>and</strong> will execute Comm<strong>and</strong> B1, followed by Comm<strong>and</strong> C1, etc.If a group of comm<strong>and</strong>s are to be executed after the IF Comm<strong>and</strong> is evaluated, the user should usethe BLOCK Comm<strong>and</strong> to execute the group (see BLOCK Comm<strong>and</strong>).Example ZIF Comm<strong>and</strong>Begin BlockComm<strong>and</strong> A1Comm<strong>and</strong> A2Comm<strong>and</strong> A3End BlockBegin BlockComm<strong>and</strong> B1Comm<strong>and</strong> B2Comm<strong>and</strong> B3End BlockComm<strong>and</strong> C1Comm<strong>and</strong>…In Example Z, when the IF Comm<strong>and</strong> is true, the program will execute the block of comm<strong>and</strong>sincluding A1, A2 <strong>and</strong> A3. It will follow by executing the block of comm<strong>and</strong>s including B1, B2,<strong>and</strong> B3. Once that block is completed, the program will execute Comm<strong>and</strong> C1, etc.When the IF Comm<strong>and</strong> is false, the program will skip the block of comm<strong>and</strong>s including A1, A2<strong>and</strong> A3 <strong>and</strong> will execute the block of comm<strong>and</strong>s including B1, B2, <strong>and</strong> B3. Once that block iscompleted, the program will execute Comm<strong>and</strong> C1, etc.ELSEPurpose <strong>and</strong> UseThe Else Comm<strong>and</strong> is used in conjunction with an IF Comm<strong>and</strong>, allowing a choice between twosubsequent comm<strong>and</strong>s depending upon the outcome of the IF Comm<strong>and</strong> evaluation.The Macro Window <strong>and</strong> ELSEWhen the ELSE Comm<strong>and</strong> is selected from the comm<strong>and</strong> screen, an Else comm<strong>and</strong> is placed inthe macro program below the existing highlighted comm<strong>and</strong>.Window specific to ELSENo specific window appears to further define the ELSE Comm<strong>and</strong>.248 User Guide to the <strong>SPOT</strong> <strong>Insight</strong> Camera

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

Saved successfully!

Ooh no, something went wrong!