Télécharger Imprimer la page

Rohde & Schwarz FPL1000 Manuel D'utilisation page 962

Masquer les pouces Voir aussi pour FPL1000:

Publicité

Les langues disponibles

Les langues disponibles

®
R&S
FPL1000
//Creates a comment for the settings to be displayed in gui.
MMEM:DATA 'Test001.txt',#212FileContents
//Creates the file 'Test001.txt'and writes 12 characters to it
//-----Copying the data to another location---
MMEM:COPY 'C:\R_S\INSTR\USER\Results\Test001.txt','Q:'
//Copies the specified file to network drive Q:.
MMEM:DEL 'C:\R_S\INSTR\USER\Results\Test001.txt'
//Deletes the specified file from the instrument hard disk.
//or
//MMEM:MOVE 'C:\R_S\INSTR\USER\Results\Test001.xml','Q:\TestResults.txt'//
//Moves the file 'Test001.txt' to drive Q:, renames it to 'Testresults.txt'
//and removes it from the instrument hard disk.
MMEM:RDIR 'C:\R_S\INSTR\USER\Results'
//Deletes the directory called 'Results' from drive C:, unless it still
//contains any content.
//-----Disconnecting the network drive---
MMEM:NETW:DISC 'Q:'
//Disconnect drive Q:.
10.9.7.2
Loading data
MMEM:CDIR?
//Returns the path of the current directory.
//e.g.
C:\R_S\Instr\user\
MMEM:CDIR 'C:\R_S\INSTR\USER\Results'
//Changes the current directory.
MMEM:CAT? 'C:\R_S\INSTR\USER\Results\*.xml'
//or
MMEM:CAT? '*.xml'
//Returns a list of all xml files in the directory 'C:\R_S\INSTR\USER\Results'.
MMEM:CAT:LONG? '*.xml'
//Returns additional information about the xml files in the directory
// 'C:\R_S\INSTR\USER\Results'.
10.9.7.3
Storing instrument settings
In this example we will store the instrument settings for the "Spectrum" channel setup.
INST:SEL 'SPECTRUM'
//Selects measurement channel 'SPECTRUM'.
MEMM:STOR:TYPE CHAN
//Specifies that channel-specific data is to be stored.
MMEM:STOR:STAT 1, 'C:\R_S\Instr\user\Spectrum'
//Stores the channel settings from the 'Spectrum' channel
// to the file 'Spectrum.dfl'.
Manuel d'utilisation 1179.5860.09 - 12
Remote commands
Managing settings and results
962
962

Publicité

loading