Host Engineering Forum
General Category => Do-more CPUs and Do-more Designer Software => Topic started by: Watermark_JS on May 27, 2026, 10:32:31 AM
-
The audio engineering software I use has AMAZING wildcard-based file naming options (see pic).
Even just the ability to auto-add a datetime stamp would be fantastic...
-
Look at STRPRINT and use the resulting string variable as your file name. Is that what you are looking for?
FmtDate($Now) "_" FmtTime($Now) ".csv"
STRPRINT has more capabilities than what macro expansion can do. See the attached screen shot of the STRPRINT commands
https://hosteng.com/DmDHelp/Default.htm#Instruction_Set/STRPRINT_Print_to_String.htm
-
Franji -- No. I was referring to saving the project in the DoMore Designer.
I name my project files something like [project]_[date]_[time], which is why I like the wildcard options in that audio software. Storing that information in the file name protects against loss of tracking if the file gets relocated.
Originally, I was trying to just use the version in the project properties, but that felt like additional overhead -- having to open an additional window -- and that data doesn't appear to be exposed to a File Explorer view.
-
Franji -- No. I was referring to saving the project in the DoMore Designer.
Ha! That makes more sense. I know I do that a lot with my work in various editors (including Designer).
Do-more PLCs also support a file system, so I thought you were referring to that (for file names IN the PLC).
-
FYI, the Auto Save feature does something similar (so a backup mechanism to your backup mechanism). It defaults to just 4 backups, though. You can change it to be UNLIMITED via the File->Manage Projects->Restore from Backup... dialog and hit the "Configure Autosave..." button (there's a similar button on the File->Manage Projects->Folder Settings... dialog)
See the attached screen shot.