DayTronic PC-HSICA Руководство по эксплуатации - Страница 12
Просмотреть онлайн или скачать pdf Руководство по эксплуатации для Сетевое оборудование DayTronic PC-HSICA. DayTronic PC-HSICA 13 страниц. High-speed serial interface card
2
S
ETUP OF
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
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
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
—or to set the COM2 protocol to 9600 baud, 8 data bits, 1 stop bit, and EVEN pari-
ty, you can enter
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
—or to set the COM2 protocol to 9600 baud, 8 data bits, 1 stop bit, and EVEN pari-
ty, you can write
2.e S
I
2-6
ETTING
PC-HSICA C
W
INDOWS ®
IA
DOS
IA
OR
C:>MODE COM1:150,n,7,2
C:>MODE COM2:9600,e,8,1
100
OPEN "COM1=150, N, 7, 2, CS, DS" AS #1
100
OPEN "COM2=9600, E, 8, 1, CS, DS" AS #1
P
NTERFACE
ROTOCOL
OMMUNICATIONS
TERMINAL
BASIC C
OMMAND
L
INE