saving variables anytime?

Post here to share useful tips and tricks, to ask questions about using your DM42 or to report software-related problems
Post Reply
Krauts In Space
Posts: 85
Joined: Wed Jan 03, 2018 2:48 pm
Location: Nuremberg, Germany

saving variables anytime?

Post by Krauts In Space » Sat May 26, 2018 11:28 am

i'd like to save and load variables like with programs like now:
setup -> file -> save variable
in csv or ods/xls (open document/excel) format.

how do others see this?
DM15L S/# 10584 FW v25
DM42 S/# 01015 FW v3.5

rprosperi
Posts: 379
Joined: Mon Apr 24, 2017 5:48 pm
Location: New York

Re: saving variables anytime?

Post by rprosperi » Sat May 26, 2018 1:12 pm

Krauts In Space wrote:
Sat May 26, 2018 11:28 am
i'd like to save and load variables like with programs like now:
setup -> file -> save variable
in csv or ods/xls (open document/excel) format.

how do others see this?
Is this for 1 variable, or all variables at once?

For 1, this seems a lot of s/w work, rather than just writing it down.

For all variables at once, I can agree that saving to CSV would be a handy way to extract results for further analysis, storage or presentation (in charts or documents), however since most other programs (including Excel, as far as I know) can't use reals with 34 digits of precision, some truncation is likely needed to make them usable.
--bob p

DM42: β00071 & 00282

keithdalby
Posts: 498
Joined: Mon Apr 24, 2017 6:38 pm

Re: saving variables anytime?

Post by keithdalby » Sat May 26, 2018 5:31 pm

Sounds like you might want a "print to file" option

Krauts In Space
Posts: 85
Joined: Wed Jan 03, 2018 2:48 pm
Location: Nuremberg, Germany

Re: saving variables anytime?

Post by Krauts In Space » Sun May 27, 2018 2:51 pm

keithdalby wrote:
Sat May 26, 2018 5:31 pm
Sounds like you might want a "print to file" option
that would nice - perhaps. for the moment I'd be happy to create a larger matrix, fill it with data, and load it into the DM42 and vice versa.
DM15L S/# 10584 FW v25
DM42 S/# 01015 FW v3.5

grsbanks
Posts: 712
Joined: Tue Apr 25, 2017 9:23 am
Location: Preston, Lancs, UK

Re: saving variables anytime?

Post by grsbanks » Mon May 28, 2018 11:30 am

Saving variables, matrices at least, is indeed planned for a future firmware version.
Not SwissMicros staff, just an enthusiast.

Krauts In Space
Posts: 85
Joined: Wed Jan 03, 2018 2:48 pm
Location: Nuremberg, Germany

Re: saving variables anytime?

Post by Krauts In Space » Mon May 28, 2018 1:41 pm

grsbanks wrote:
Mon May 28, 2018 11:30 am
Saving variables, matrices at least, is indeed planned for a future firmware version.
Hi!
Greatest news for today! :)

Thx,
Gernot
DM15L S/# 10584 FW v25
DM42 S/# 01015 FW v3.5

Bill (Smithville NJ)
Posts: 26
Joined: Sat Jul 22, 2017 7:14 pm

Re: saving variables anytime?

Post by Bill (Smithville NJ) » Tue May 29, 2018 1:25 am

grsbanks wrote:
Mon May 28, 2018 11:30 am
Saving variables, matrices at least, is indeed planned for a future firmware version.
That's great - I'm assuming "loading" matrices is also planed. This would be great
for the Fonts matrix. Just generate the Font matrix once, save it and
then load it as required.


Besides saving/loading matrices or other variables, I would also
love to see the chaining of programs from memory.

Maybe something like: XEQ <filename> would load a program from memory
into a temporary storage space, and then execute it. This would allow
for individual modules to be developed and then used as needed.

Just a thought.

Bill
Smithville, NJ

Dave Britten
Posts: 46
Joined: Wed Jun 14, 2017 7:27 pm

Re: saving variables anytime?

Post by Dave Britten » Thu Jul 05, 2018 9:57 pm

grsbanks wrote:
Mon May 28, 2018 11:30 am
Saving variables, matrices at least, is indeed planned for a future firmware version.
Awesome, glad to hear that's on the to-do list. It's pretty high on my list of wants.

Tab-delimited format seems like it would be the easiest format for import/export, since you don't have to worry about quoting values with a comma in them (making the parsing simpler), and thus you could export numeric values with either a period or comma (depending on the current radix setting), and just import either format regardless of setting.

Post Reply