1
Introduction
Configuring the IR interface
The U1281A/U1282A may be operated via an IR interface. The remote control operation
will enable you to manually operate the multimeter via a terminal, or to automatically
execute a host computer program.
The default parameters for the U1281A/U1282A are:
– Baud rate : 9600 bits per second
– Parity bit : None
– Data bits : 8 data bits
– Number of Stop Bits : 1 bit
Ensure that the serial port terminator to CR/LF is configured for both the transmit and
receive settings.
– The Carriage Return (CR) character (0x0D, \r) moves the cursor to the beginning of the
NOTE
line without advancing to the next line. This character is used as a new line character in
Commodore and Early Macintosh operating systems (OS-9 and earlier).
– The Line Feed (LF) character (0x0A, \n) moves the cursor down to the next line without
returning to the beginning of the line. This character is used as a new line character in
UNIX-based systems (Linux, Mac OS X, etc.).
– The End Of Line (EOL) sequence (0x0D0x0A, \r\n) is actually two ASCII characters—a
combination of the CR and LF characters. It moves the cursor both down to the next
line and the beginning of that line. This character is used as a new line character in
most other non-Unix operating systems including Microsoft Windows, Symbian OS, and
others.
Each time after a *RST command is sent to the U1281A/U1282A, the communication
buffer (transmit and receive) must be cleared before the next command is sent.
In order to ensure smooth communication, allow sufficient time for the U1281A/U1282A to
respond to each command. In most cases, this means refers to a 5-second delay after the
*RST command and a 200-millisecond delay for all other commands.
For situations where the above delay is insufficient and is related to the serial port
hardware, operating system (OS) serial communication buffer, or the central processing
unit (CPU) response time, you may consider increasing the delay time to maintain stable
communication with the U1281A/U1282A.
6
Keysight U1281A/U1282A Programming Guide