![F.W. Bell 9900 Series Скачать руководство пользователя страница 58](http://html.mh-extra.com/html/f-w-bell/9900-series/9900-series_operation-and-maintenance-manual_535142058.webp)
SERIES
9900
9000
SERIES
GAUSSMETERS
APPENDIX
PROGRAMMING
INFORMATION
F. W. Bell offers an optional diskette containing five programs that
demonstrate the use of the RS-232 and IEEE-488 communications ports on
the Series 9900 Gaussmeter. Contact the factory to obtain this diskette.
These programs were developed to provide the systems programmer with a
working template that can be used as a guide when developing application
progarns. These programs should eliminate guesswork and allow the
programmer to concentrate on the application rather than the interface.
Used as a debugging tool, they can verify that the hardware interface
between the gaussmeter and computer is correct and operational.
All demo programs require that the gaussmeter's internal software be at or
above V1.7A. The software version number is displayed immediately after
power-up.
Each program is designed to operate on an IBM PC or compatible. Three
of the programs are written in BASIC and two in the "C" language:
GMRS232.BAS -
GMIE488M.BAS -
GMIE488N.BAS - -
GMRS232.0 - -
GMIE488M.0
- -
RS-232 control (BASIC)
IEEE-488 control (BASIC) for Metrabyte
1E-488 card
IEEE-488 control (BASIC) for National
Instruments PCIIA card
RS-232 control ("C")
IEEE-488 control ("C") for Metrabyte
1E-488 card
Listed in this appendix is the BASIC program for the RS-232 port and one
of the BASIC programs for the IEEE-488 port. The "C" programs are not
listed due to space.
GENERAL PROGRAMMING INFORMATION
1) Always ensure that the gaussmeter is in the "RUN" mode before issuing
SLAVE commands. Use the COMMUNICATIONS FORMAT menu to
manually match the port characteristics to the computer's before starting.
The gaussmeter permanently saves this information so you will not have to
do this each time you power-up.
2) The MEASURE command does
not
trigger the gaussmeter to take a new
measurement when reading fields. The gaussmeter continuously makes
new measurements and updates the display independent of the
communications ports. The information returned from the MEASURE
command represents the latest reading. In the DC mode, the update rate
is about once every 1/3 second for the 9901, once every 1/2 second for the
9902 and about every 3/4 second for the 9903. I f a MEASURE command
is issued at a rate faster than the update rate you will retrieve multiple
identical readings. The update rate degrades slightly when using such
things as AUTORANGE, PEAK HOLD, CLASSIFIERS, etc. The rate can
be improved by turning off either the DIGITS or BARGRAPH, or
deactivating any unused channels on a SERIES 9900 meter.
3) No specific command tells the programmer a channel is offline
(deactivated from the DISPLAY FORMAT menu, missing a probe or
missing an interface module on a SERIES 9900). To determine this
remotely, send a "dummy" MEASURE command. A MEASURE command
53