:DISK:FILE:WRITe?

Instrument:
DCA-X
DCA-M
Meas. mode:
Scope
Eye
Jitter
TDR
Flex Apps:
FlexDCA
FlexRT

Query Syntax

:DISK:FILE:WRITe? "filename",  <binary_data>

Query Response

{1 | 0}

Description

Sends binary data to FlexDCA's file system. The data is sent in the definite-length block data format, which allows any type of device-dependent data to be transmitted over the system interface as a series of 8-bit binary data bytes. The :DISK:FILE:WRITe? query returns a boolean value. A '1' is returned if the file write operation succeeds and a '0' is returned if the operation fails for any reason.

To return binary data from a file on the DCA-X's file system, use the :DISK:FILE:READ? command. To return the size of a file that is on the DCA-X, use the :DISK:FILE:SIZE? query. To return a text file, use the :DISK:FILE:ASCii:READ? command.

Requires FlexDCA revision A.05.30 and above.