Hardware manual
General Group Impact Reference Guide
Datalogic Automation Inc. 4-102
General Group
Basic Interpreter
You can use the Basic Interpreter control to write and execute Basic programs. This control is not displayed
on the Control Panel Canvas. To see it, click the Select Design View Options button and select Control Panel
Tree. See “Select Design View Options” on page 4-6.
Basic Editor Tab
The Basic Interpreter control performs logical and mathematical calculations based on a set of user-written
statements using the Basic programming language. See “Impact Basic” on page 5-1 for more information.
Basic language statements are typed in the Basic editor window. As variable names are entered, variables are
created as inputs in the input list on the Properties tab. Click the Compile button to test the validity of your
Basic code. When you click the Run button, the Basic program results appear in the Properties tab.
Method Name What it does
Hide Makes the control invisible.
Update Table Reads the XML file specified in the "File path" property or parses the
string in the Data property, then displays the data in the table according to
the record tags.
Show Makes the control visible.
Event Name When it happens
Update Failed When populating the table with data from the XML file or Data property is
incomplete. Causes for the failure may include an empty tag property in
the XML file or Data property, or the XML file cannot be found.
Update Complete When the table has been successfully populated with data from the XML
file or Data property.
Variable names (e.g. count) are automati-
cally created as inputs on the Properties
tab. Set the variable type there.
Click in this window, then type
the desired Basic language
statements.