![background image](http://html2.mh-extra.com/html/keithley/6220/6220_reference-manual_4055087290.webp)
10-26 Remote Operations
Model 6220/6221 Reference Manual
Return to
Flow control (signal handshaking)
Signal handshaking between the controller and the instrument allows the two
devices to communicate to each other regarding being ready or not ready to
receive data.
Software flow control
Software flow control is in the form of X_ON and X_OFF characters and is
enabled when XonXoFF is selected from the RS-232 FLOW-CTRL menu. When
the input queue of the Model 622x becomes more than 3/4 full, the instrument
issues an X_OFF command. The control program should respond to this and stop
sending characters until the Model 622x issues the X_ON, which it will do once its
input buffer has dropped below 1/2
full. The Model 622x recognizes X_ON and
X_OFF sent from the controller. An X_OFF will cause the Model 622x to stop out-
putting characters until it sees an X_ON. Incoming commands are processed after
the <CR> character is received from the controller.
If NONE is the selected flow control, then there will be no signal handshaking
between the controller and the Model 622x. Data will be lost if transmitted before
the receiving device is ready. The default setting is NONE.
Hardware flow control
Hardware handshaking can be used instead for flow control. The RS-232 interface
provides two control lines (RTS and CTS) for this purpose (see
and
). When the Model 622x is ready to send (RTS) data, it will transmit
when it receives the clear to send (CTS) signal from the computer.
NOTE
For RS-232 operation, *OPC or *OPC? should be
used with slow responding commands. See Sec-
tion 12.
Even with X_ON/X_OFF selected, the computer
may still lose data from the Model 622x if the re-
turn string is large (>30,000 characters) and one
of the higher baud rates is selected. With no flow
control (NONE selected), the error occurs with a
much smaller return string. Use some type of er-
ror checking in your program to avoid these situ-
ations.
Test Equipment Depot - 800.517.8431 - 99 Washington Street Melrose, MA 02176 - TestEquipmentDepot.com
Содержание 6220
Страница 16: ...Test Equipment Depot 800 517 8431 99 Washington Street Melrose MA 02176 TestEquipmentDepot com...
Страница 24: ...Test Equipment Depot 800 517 8431 99 Washington Street Melrose MA 02176 TestEquipmentDepot com...
Страница 403: ...A Specifications Test Equipment Depot 800 517 8431 99 Washington Street Melrose MA 02176 TestEquipmentDepot com...
Страница 453: ...Test Equipment Depot 800 517 8431 99 Washington Street Melrose MA 02176 TestEquipmentDepot com...