Download AutoPRO 6 Software - PIKE Technologies

Transcript
Appendix A
Nicolet OMNIC Example
The Nicolet MACROS\BASIC program is a convenient way in which to build macros to perform
automated experiments. Since MACROS\BASIC does not have the facility for passing command line
arguments in a call to an external (EXE) program, the following six programs have been provided in
order to program your accessory from within MACROS\BASIC:
1.
INIT.EXE
2.
NEWFILE.EXE
3.
NEXT.EXE
4.
FIRST.EXE
5.
UNLOAD.EXE
6.
LOAD.EXE
Initialize accessory. AutoPRO communicates with and sets up the Motor Controller. The accessory
is then initialized to the home position.
When this command is performed, the file dialog box is opened and a file containing the
coordinates to be measured may be selected.
Move to the next point in a profile. If the end of the profile has been reached, nothing happens.
This program moves the accessory to the first point in the profile.
This program unloads the accessory. The next command must be LOAD.EXE
This program loads the accessory. The accessory is moved to its home position.
We will step through the creation of a simple macro to illustrate the use of the program MOTOR.EXE
within a macro.
PN 350-000070-02
P a g e | 93