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.
-
Thanks for bringing that up! I had it in my head that it was time-based, but since (upon review) I see that it's save-triggered, it might be the solution I need!
:D
-
There's another "hidden in plain sight" feature for documenting changes.
Every time you write your project to the PLC, the "Download Project to PLC" dialog has a small text field where you can make a note of what you are doing for THAT specific download. It's optional. You don't have to enter anything. But if you do, it PREPENDs that specific download note to your Project Notes document written to the PLC (it marks the text entry with current date/time and the current user that is writing the project to the PLC; see attached screen shot).
You can view your download history in this Project Notes document from the Dashboard (see Documentation panel, View/Edit Project Notes hot link). It's just text, so you can tweak it - you normally would not, cuz you really want it to be a log of all the downloads - you can also print it out as part of Print All. See other screen shot.
Note that the Write to PLC dialog PREPENDs each entry to the file, so the most recent one is AT THE TOP and the oldest is at the bottom (note the auto-generated timestamps and user name).
-
Thanks for the assist, Franji. Your suggestions were all helpful, as always.
I think I'm going to experiment with the Autosave system. I'm just working to integrate DoMore more tightly with our source control system, so I'm just tinkering.