Start a new topic

How to change autosave-filenames (via Python)

Hello,
I would like to append a variable string to the automatically generated filename during autosave or, if that is not possible, redefine the entire filename before the autosave to sd card. The filename changes with each measurement. I need the corresponding command. Unfortunately, this is not covered in the XL2 Remote Measurement Manual.

Greetz Sebastian

Hello Sebastian,


the 12 character filename limit comes from the XL2 operating system limitation. There's no way to override this.


Best Regards,

Gregor
NTi Audio

Hello Gregor,

can you explain to me why the length of the filename is limited to 12 characters?
Is there any way to override this? What would be the consequences?

Greetz Sebastian
Hi Gregor,

Thank you very much!!

After I made some small adjustments (Py2 to py3) it works as desired.
Attached find the modified file for possible later use. Might come in handy for others.
I added a simple COM finder.

Greetz Sebastian
py

Dear Sebastian,


Please use the workaround shown in the attached Python file. Use autosave = off (manual) if you want to specify the name of the stored files.

In the attached example you see how to store the test using Python.


Best Regards,


Gregor 

NTi Audio



py
Login or Signup to post a comment