|
All
the software you need for the ARMweb is already on your computer.
The interface to the ARMweb is through any web-browser. The ARMbasic
compiler runs on the ARMweb. So you program an ARMweb by either
typing in programs or uploading an ARMbasic program text file. That's
why we call this Simply Connected technology.
For
example, type Hi Mom on the Code page, and click RUN - the code is
compiles, and "Hi Mom" is displayed.

While
the ARMweb can be programmed through the webpage, during the
development cycle "BASICTools" can be used via the option
USB connection (included with the Evaluation Kit). BASICtools have a
much faster response than a browser.

You
interact with the controller through a simple software communication
package. The USB interface accepts direct commands or you can create
a program file using any text editor such as Notepad and upload it.
Some
simple code that will repeatedly flash an LED on and off at 1 second intervals:
DO
IO(15) = 0 ' turn on the LED
WAIT(1000) ' wait a second
IO(15) = 1 ' turn off the LED
WAIT(1000) ' wait a second
UNTIL
0 ' loop forever
Type
the code directly in the browser interface or upload it from a text
file. Click on the RUN button and the program will be compiled,
written into Flash Memory and begin executing.
Any
BASIC variable that is declared WEB is visible on the Values page of
the controller and can be read or modified via the browser interface.
This is useful for parameters that you want to be able to change
remotely. Variables declared as WEB READONLY can only be read, but
not written through the browser - useful for data you want to monitor
remotely but don't want the user to be able to modify.
It's
also easy to import data from the controller directly into an Excel
spreadsheet using the Get External Data web query function. Just
browse to the Values page of the controller and select the data
table. The data will be read directly into your spreadsheet. From
there you can analyze and graph the data just as you would any other data.
You
can also transfer data between controllers with the WEBGET function.
WEBGET takes a controller name and variable name and returns the
value of the variable from the other controller. Use this function to
create a network of controllers that cooperate while performing
separate tasks.
|