OXITEST PLUS 7 OPERATING MANUAL
4.5
Programming Example
Microsoft QBasic is an easy-to-use BASIC interpreter which is supplied as part of Microsoft DOS
versions 5 and later. Using QBasic, you can write simple programs on your IBM PC or compatible
to control
Oxitest Plus 7
automatically via a COM port.
Below is a simple program written in Microsoft QBasic which causes
Oxitest Plus 7
to select a
NELLCOR N-200 pulse oximeter for testing and automatically sweep the N-200 through a range of
SpO
2
and heart rate settings.
Run Microsoft QBasic from the DOS prompt by simply typing
QBasic
followed by
f
(you can also
run QBasic from Windows - double click on the QBasic icon in the APPLICATIONS group.)
QBASIC should boot, showing the "Welcome" screen. Press
^
to clear the screen, or press
f
to view
the QBasic HELP index.
When typing the following example, be sure to include all the punctuation marks which appear in
the program ( " , ; ! % $ and so on).
After you have typed in the program, save it by typing
aF
, followed by
S
. To run the example,
connect
Oxitest Plus 7
to COM1, set up the NELLCOR N-200, and then type
aR
followed by
S
.
To stop the program, press the
^
key. To quit QBASIC, type
aF
followed by
X
.
Computer Control/Chapter 4
#
Page 36