Chapter 6 RAPID!
Commands
WCDMA Options Version 6.20
181
Description
Opens a communication port for input or output opera-
tions. As long as a port has not been opened, I/O opera-
tions can not be performed and a runtime error will
occur.
filename$ is a string, containing a specification for a
communication port of the 4400 or a valid file name
(please see above for details).
Valid ports are GPIB0 (for the GPIB/IEEE-Bus), SCPI,
COM1 and COM2 (the two serial interfaces of the 4400,
please see “Rear panel” on page 8 for reference).
A port name always needs to be followed by a colon (:).
After the colon, you may specify parameters for the
interface and the communication.
Please note that the values of parameters must be posi-
tive integers if not specified otherwise.
Parameters for GPIB:
addr= this parameter specifies the primary GPIB bus
address. The valid range is 1...32.
sec= states the secondary GPIB bus address. The valid
range is 0...64.
time= with the help of this parameter, you may set a
timeout in milliseconds.
eoi= states, whether the hardware EOI will be used
(parameter set to 1) or not (parameter set to 0).
srq= a ‘1’ states that the hardware ‘Service Request’ will
be used, while a ‘0’ indicates that it will not be used.
end= specifies the end byte (usually ASCII 10 or ASCII
13). The valid range is 0...255.
Parameters for SCPI:
There are no parameters for SCPI.
Parameters for COM1/COM2:
baud= this parameter specifies the baud rate of the
serial interface. It is highly recommended to always spec-
ify a baud rate when working with the serial ports to
keep them in a defined state. The following values may
be entered: 110, 300, 600, 1200, 2400, 4800, 9600,
19200, 38400, 57600, 76800, 115200.
Bits= states the number of data bits used. The valid
range is 5...8.
stop= specifies the number of stop bits to be used. The
entry range is 1|2.
parity= states, whether the parity check bit will be
used. Value ‘0’ switches the use of a parity bit off. ‘1’
indicates odd parity and ‘2’ even parity.