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 generic example, the macro will begin the loop series by completing Comm<strong>and</strong> A1 <strong>and</strong> B1.Once the IF Comm<strong>and</strong> proves to be true, the ESCAPE BLOCK/LOOP Comm<strong>and</strong> will be carriedout. At that point, it will leave the loop series <strong>and</strong> will continue by processing Comm<strong>and</strong> E1.Should the IF Comm<strong>and</strong> be false, Comm<strong>and</strong> C1 <strong>and</strong> D1 are carried out be<strong>for</strong>e the loop ends.Variable Comm<strong>and</strong>sSET VARIABLEPurpose <strong>and</strong> UseThe SET VARIABLE Comm<strong>and</strong> allows the user to associate a variable label with a text ornumeric value.This can be useful when the value of a variable changes from one imaging procedure to another<strong>and</strong> the user wants to be able to modify that value without modifying the remainder of the macroprogram.The Macro Window <strong>and</strong> SET VARIABLEWhen the SET VARIABLE Comm<strong>and</strong> is selected from the comm<strong>and</strong> selection pane in the MacroWindow a SET VARIABLE Comm<strong>and</strong> will be inserted into the Macro program in thedevelopment pane below the highlighted comm<strong>and</strong>.Window specific to SET VARIABLEWhen SET VARIABLE is selected a Set Variable window will appear over the Macro Window.It will ask the user to select the variable to be defined <strong>and</strong> also to place an initial value on thatvariable.The Variable label box has a drop down menu allowing you to select from a list of preset variablelabels: TextVar1…TextVar5 or NumVar1…NumVar5. Select from the list or insert your ownVariable label.The right h<strong>and</strong> box allows the user to define the initial value of the Variable label selected. If atext variable is selected, the user can assign a text or numeric value in the right side box. Thenumeric value will be treated as text. If the user selects a numeric label on the left h<strong>and</strong> box, theuser may only assign a numeric value in the right h<strong>and</strong> box.Text Label ExampleText or Numbercan be enteredhere. Numbersare treated astext.User Guide to the <strong>SPOT</strong> <strong>Insight</strong> Camera 255

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

Saved successfully!

Ooh no, something went wrong!