National Instruments GPIB-MAC User Manual page 131

Table of Contents

Advertisement

November 1985
Appendix G
Setting Switches
This appendix explains how to set the switches on the back panel of
the GPIB-MAC.
You may change the serial port characteristics of the Macintosh from
within BASIC or other programming languages.
The default characteristics of the Macintosh modem port are as
follows:
If these defaults meet
follows:
You may want to change the default characteristics of the serial port
on the Macintosh. For instance, you may want to run at a higher
baud rate (up to 57.6K baud). To change the default characteristics
to 57.6K baud, no parity, 8 data bits, and 2 stop bits from within
Microsoft BASIC, place the following BASIC statement at the
beginning of your program:
121
APPENDIX G - SE-ITING SWITCHES
baud rate: 9600
parity: none
data bits: 8
stop bits: 2
needs, set the switches on the GPIB-
your
OPEN "COM1:57600,N,8,2" AS #l

Advertisement

Table of Contents
loading

Table of Contents