:MMEM:STOR:TRAC

Type

Command

Syntax

:MMEMory:STORe:TRACe <Value>, {TRACe|CHANnel|DISPlayed}

Description

This command saves the formatted data array for the traces into a file in the CSV format (extension ".csv"). This command is available at revision A.2.10 and above.

      • Specify the file name with the extension. When you use directory names and file name, separate them with "\" (back slash), or "/" (slash).

Variable

Parameter

Value

Description

File name in which you want to save the formatted data array (extension ".csv")

Data Type

Character string type (String)

Range

254 chars

 

Parameter

Selection Option

Description

Target traces for save

Data Type

Character string type (String)

Range

TRACe: Active trace only (This is the same as :MMEM:STOR:FDAT)

CHANnel: All traces in the active channel

DISPlayed: All displayed traces in displayed channels

Preset Value

TRACe

Examples

Dim Var as String
Var = "D:\data1.csv"
Ana.WriteString ":MMEM:STOR:FDAT " & Var & ", CHAN", True

Related Commands

:MMEM:STOR:FDAT

Equivalent Softkey

Save/Recall > Save Trace Data...

COM Command Syntax (Internal Control Only)

SCPI.MMEMORY.STORE.TRACE