Developing Custom Programs
SM3BAT User Guide
page
48
BIOACOUSTIC MONITORING SYSTEMS
PLAY {0-9}
Not applicable to SM3BAT.
6.4
How to Work With the Program Checker
The Program Checker runs automatically to verify the configuration of the
hardware and software, and to check your program for errors or warning
conditions. If it detects contradictory commands, the Program Checker reports the
latter of the two as the error source. Use the Program Checker output to correct
your program, save it, and then attempt to import or run it again.
1.
The Program Checker runs at all of the following times:
■
After you finish loading or importing a program.
■
After you finish editing a program and press the main buttons on
the device to exit the editor as viewed through the LCD screen.
■
Before you run a program by pressing the
PROGRAM START
button.
2.
The Program Checker performs several tests on the current program. For
example, it checks for the following items:
■
Balanced
REPEAT/UNTX
loops
■
At least one
RECORD
command that is reachable; in other words at
least one
RECORD
precedes, or is inside of, an infinite loop.
■
All required parameters set prior to a
RECORD
command.
■
Parameters that are consistent with the present hardware.
3.
It shows
errors
(if any), followed by
warnings
(if any). It shows the matching line
number in your program for the error or warning.
4.
To view the next error or warning, press the
▼
Down
button.
5.
To exit the Program Checker, press the
◄
Left
button. You can also exit by
pressing
▼
Down
after the last error or warning.
6.
If no buttons are pressed for 60 seconds while a problem is displayed, the
Program Checker times out and exits.
7.
When the Program Checker exits:
■
If you were loading or editing a program, you return to the main
menu.
■
If you were running a program and there are no errors (only
warnings or no problems at all), your program starts.
6.5
How to Resolve Program Checker Errors
When a program contains
warnings
, you can address them or ignore them and
continue, the program will run with
warnings
. However, when a program contains
Summary of Contents for sm3bat
Page 6: ......
Page 71: ...SM3BAT User Guide SM3BAT Specifications page 65 BIOACOUSTIC MONITORING SYSTEMS ...
Page 75: ...SM3BAT User Guide SM3BAT Specifications page 69 BIOACOUSTIC MONITORING SYSTEMS ...
Page 76: ...SM3BAT Specifications SM3BAT User Guide page 70 BIOACOUSTIC MONITORING SYSTEMS ...
Page 77: ...SM3BAT User Guide SM3BAT Specifications page 71 BIOACOUSTIC MONITORING SYSTEMS ...