beautypg.com

Remote control commands and queries, Waveform, Storage – Teledyne LeCroy X-STREAM OSCILLOSCOPES Remote Control User Manual

Page 241

background image

Remote Control Commands and Queries

WM-RCM-E Rev D

ISSUED: February 2005

235

WAVEFORM

STORAGE

TRANSFER_FILE, TRFL

Command/Query

DESCRIPTION

This command allows you to transfer files to and from storage
media, or between scope and computer. The command format is

used to transfer files from the computer to storage media. The
query format is used to transfer files from storage media to

computer.

COMMAND SYNTAX

TRanser_FiLe
DISK

,,FILE,’’,#9nnnnnnnnn

: ={FLPY, HDD}

:= file name or complete path to a file in another
directory

: = file size in bytes ( size + size)

: = file data (arbitrary data block)
: = reserved for future 32-bit CRC (cyclic redundancy check)
of , 8 bytes long

Note: CRC checking is not performed by the scope, however the 8-
byte CRC trailer string is required when sending a file to the scope,

and supplied when receiving a file from the scope. The ASCII string
'ffffffff' is normally used as trailer string.

QUERY SYNTAX

TRFL? DISK,

,FILE,’

RESPONSE FORMAT

TRFL #9nnnnnnnnn

EXAMPLE (GPIB)

The following instruction reads the file FAVORITE.DSO from the
floppy disk:

CMD$=TRFL DISK,FLPY,FILE,’FAVORITE.DSO’

CALL IBWRT(SCOPE%,CMD$)

RELATED COMMANDS

DIRECTORY