MMEMory:LOG[:ENABle]

From Keysight 34970A/34972A

MMEMory:LOG[:ENABle]

This functionality is available on the 34972A only.

Syntax

MMEMory:LOG[:ENABle] <state>

MMEMory:LOG[:ENABle]?

Description

This command allows you to specify whether scanned readings are logged to the USB drive as they are taken.

Parameters

Name Type Range of Values Default Value
<state> Boolean {OFF|0|ON|1} This is a required parameter.

The factory default state is OFF.

Remarks

  • The value of the <state> will be saved in non-volatile memory on the instrument and will not be affected by *RST or SYSTem:PRESet.

  • For short scans, a READ? or MEASURE? query may take a bit of extra time to complete if you are also logging to USB.
  • If you remove the USB drive during logging, logging will stop but the scan will continue. If you re-attach the USB drive, it will not cause logging to resume unless you follow the five-step procedure shown below. Otherwise, logging will resume at the next INITiate.
  • To replace a USB stick on a system actively logging data to USB:
  1. Press the SCAN button for several seconds until the scan stops.
  2. Wait until the front panel indicates that the box is again idle. It can take some time after the scan has been interrupted, for logging to the USB drive to complete.
  3. Once the instrument is idle, remove the USB drive.
  4. After the old stick is removed, wait 5 seconds before inserting the new USB drive.
  5. Press the SCAN button again to restart scanning and logging to the new USB drive.
  • 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 logging 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.
  1.  

Return Format

The query returns 0 (OFF) or 1 (ON).

Examples

The following command specifies that scanned readings are to be logged to the USB drive as they are taken. Data will also simultaneously be written to reading memory. To scan data into reading memory without logging it on the USB drive, you would use MMEM:LOG OFF.

MMEMory:LOG ON

 

The following query indicates whether scanned readings are to be logged to the USB drive. In this case, the returned value of 1 indicates that logging to the USB drive is ON (enabled).

MMEMory:LOG?

Typical Response: 1

See Also

MMEMory Subsystem Introduction