TDS5000B Online Programmer Guide
-- 2 9 8 --
FILESystem:PRInt
Description
This command (no query form) prints a named file to a named port.
This command is the same as the FILESystem:READFile command.
This command is not IEEE 488.2 compliant for the following reasons:
H The command produces output on the 488.2 bus. Queries, not
commands, are the only message units that should produce output
on the 488.2 bus. Errors may not be recognized if they occur while
data is being output in response to this command. This will be
evident if a command is sent to the instrument before all of the data
generated by this command has been read. In such cases, you
should send a device clear message to the instrument.
H The command does not use a standard 488.2 output format. The
closest defined format is the indefinite format of ARBITRARY
BLOCK PROGRAM DATA encoding. However, this command
output omits the initial ’#0’ characters needed for that format.
H Newlines, ASCII value 10, can be included in the output data.
Output on the bus can be terminated by newlines. The output of
this command is only terminated by <EOI>.
Group
File System
Related Commands
FILESystem:CWD, FILESystem:READFile
Syntax
FILESystem:PRInt <filepath>, GPIb
Arguments
H <file path>
This is a quoted string that defines the file name and path. If the file
path is within the current working directory, you need only specify the
file name.
H GPIb
This specifies that the hardcopy is sent out of the GPIB port. GPIb is
the only port allowed for this command.
Example
FILESystem:PRInt ”C:\TEK00000.IBM”,GPIb
This command sends the file named TEK00000.IBM out of the GPIB
port.