MMEMory:EXPort?

From Keysight 34970A/34972A

MMEMory:EXPort?

This functionality is available on the 34972A only.

Syntax

MMEMory:EXPort?

Description

This query exports the current contents of reading memory, along with the instrument configuration, to the default directory on the USB drive:

      /34972A/data/<SN>/yyyymmdd_hhmmssmmm

Note than <SN> is the instrument's serial number, yyyymmdd indicates the current date, and hhmmssmmm indicates the current time in 24-hour clock format, down to the millisecond.

It waits until the export is complete and returns 0 (no errors) or 1 (export had errors).

Remarks

  • A directory named /34972A/data/MY12345678/20100120_130542169 would indicate data taken from instrument MY12345678 at the time of 42.169 seconds after 1:05 pm on January 20, 2010.

  • You can control the field delimiter in the exported files with MMEMory:FORMat:READing:CSEParator.
  • Exporting the contents of reading memory can be a lengthy operation, depending on the number of readings in memory.
  • For typical USB drives, there is a file system limit of 999 files and folders per directory. If you receive error message number 410, "Not enough disk space" while exporting data, check to ensure that you have not hit the limit of 999 timestamped folders for your instrument. You may receive error 410 even if additional space is available on the drive.

Return Format

The query returns 0 (no errors) or 1 (export had errors) when the file export is complete. If the query returns a 1, use the SYSTem:ERRor? command to read the errors.

Example

The following query exports the current contents of reading memory, along with the instrument configuration, to the USB drive.

MMEMory:EXPort?

Typical response: 0

See Also

MMEMory Subsystem Introduction

MMEMory:FORMat:READing:RLIMit

MMEMory:FORMat:READing:CSEParator