FAQs from Rohde & Schwarz

HMC series: DATA:DATA? does not work - file not found

Description

I wrote a remote control script for my HMC series instrument which should get the log data I wrote to an external USB stick before.
Using "EXT" will throw the error "File name not found".
When I take a look at the USB stick on my PC, I can see that it definitely wrote the file to DRIVE:\Data\LOGFILE.CSV.

Resolution

The request for DATA:DATA? "LOGFILE.CSV" only reads from the root directory - also if logging is set up using a sub directory in the instrument.

Please set the instrument to root directory with the following manual sequence:
[MEAS]
(Logging)
(Storage)
(STORAGE Front USB)
(Change Directory)
(..) - press the "Rotary Knob" until "USB Front" appears as Target directory:

After competing the setup by pressing (ACCEPT), "DATA:DATA? 'FILENAME.CSV' EXT" will work as expected.
Please also find a Python example script for R&S HMC8015 in the attachments of this FAQ.

Name
Type
Version
Date
Size
HMC8015_measurement_logging_filetransfer_RsInst.py
Type
FAQ
Version
01.00
Date
06-Apr-2022
Size
7 kB