For setting protocol values for an instrument’s COMPUTER INTERFACE PORT,
see the respective instrument manual.
Every conventional serial driver has provisions for setting the interface protocol
for the COM PORT whose number has been assigned to the PC-HSICA (Section
2.a.3). For example…
2.e.1 V
IA
W
INDOWS®
TERMINAL
1.
From Windows, run the TERMINAL program.
2.
Select
Communications…
from the
Settings
menu.
3.
In the window that appears, select for “Connector” the COM PORT whose
number has been assigned to the PC-HSICA card (Section 2.a.3).
4.
Now specify the desired Baud Rate, Data Bits, Stop Bits, Parity, and Flow Con-
trol parameters.
5.
Click on the
OK
button and exit the TERMINAL program.
2.e.2 V
IA
DOS
OR
BASIC C
OMMAND
L
INE
While in DOS, you can use the
MODE
command to reset protocol for the PC-
HSICA interface. For example, to set the protocol to 153.6K baud, 7 data bits, 2
stop bits, and NO parity for a PC-HSICA that has been assigned to COM1, you can
enter a command of
C:>MODE COM1:150,n,7,2
—or to set the COM2 protocol to 9600 baud, 8 data bits, 1 stop bit, and EVEN pari-
ty, you can enter
C:>MODE COM2:9600,e,8,1
The BASIC
OPEN COM
statement can be used in a similar way. Thus, to set the
protocol to 153.6K baud, 7 data bits, 2 stop bits, and NO parity for a PC-HSICA
that has been assigned to COM1, you can write a command of
100 OPEN “COM1=150, N, 7, 2, CS, DS” AS #1
—or to set the COM2 protocol to 9600 baud, 8 data bits, 1 stop bit, and EVEN pari-
ty, you can write
100 OPEN “COM2=9600, E, 8, 1, CS, DS” AS #1
2-6
2
S
ETUP OF
PC-HSICA C
OMMUNICATIONS
2.e S
ETTING
I
NTERFACE
P
ROTOCOL