Machsupport Forum

Mach Discussion => VB and the development of wizards => Topic started by: beefy on June 12, 2015, 06:14:40 AM

Title: Saving & Recalling Specific DROs to file
Post by: beefy on June 12, 2015, 06:14:40 AM
I'm looking at saving what I'll call "Parameter Sets" for different materials (plasma cutting related).

So lets say I have a new material. I initially type specific values in various DROs, then I want to be able to save these DRO values to a file so that when I come back to Mach next day, I can load all these DROs at once by opening the chosen Parameter Set file.

This way I can have an ever growing list of Parameter Set files for convenience and speed.

Is this possible in Mach ?

Keith.
Title: Re: Saving & Recalling Specific DROs to file
Post by: ger21 on June 12, 2015, 08:13:08 AM
If you create user DRO's in the screen, they'll already be saved when you close and restart Mach3.
Title: Re: Saving & Recalling Specific DROs to file
Post by: BR549 on June 12, 2015, 01:57:09 PM
SUre it is about a dozen different ways.

(;-) TP
Title: Re: Saving & Recalling Specific DROs to file
Post by: beefy on June 12, 2015, 05:54:13 PM
SUre it is about a dozen different ways.

(;-) TP

Terry, you are just teasing me, you've just dangled a dozen carrots in front of me (should say sticky date pudding, I'm not into raw carrots  ;D).

Keith.
Title: Re: Saving & Recalling Specific DROs to file
Post by: beefy on June 12, 2015, 05:57:24 PM
If you create user DRO's in the screen, they'll already be saved when you close and restart Mach3.

Cheers Gerry,

thing is some of them won't be userdros, they'll be Machs built in dros too.

That's why I need to be able to select a few dros of different types and have those saved to a file so I can later load them in one go.

Keith
Title: Re: Saving & Recalling Specific DROs to file
Post by: beefy on June 12, 2015, 07:23:17 PM
My first thoughts are I'm going to have to write a custom script to read the specific DROs and save them to a file (don't know that bit).

Likewise I'll have to have a button script that asks you to choose one of these saved files, then puts those values in the dros.

Had a quick wiz through the Programmers Ref Manual and don't see how to do the saving / opening bit yet.

Hope this isn't getting into the realms of plugin writing.

Keith
Title: Re: Saving & Recalling Specific DROs to file
Post by: BR549 on June 12, 2015, 08:01:06 PM
NOPE it can all be done in CB.

(;-) TP
Title: Re: Saving & Recalling Specific DROs to file
Post by: beefy on June 12, 2015, 09:15:59 PM
NOPE it can all be done in CB.

(;-) TP

LOL, cheers Terry, off I go CB hunting.

Keith.
Title: Re: Saving & Recalling Specific DROs to file
Post by: BR549 on June 12, 2015, 09:28:06 PM
Keith check your email (;-)  You are entering into the SCZ (secret code zone) I will have to check your security rating .

You will not find what you need in the normal Mach3 manuals , not even the Macros programmers manuals. You MAY find some references in the MACH tool Box. The original not the m4 version.

If you are hunting CBs make sure you have a rather large bore rifle to do it with . They can be very dangerous when agggggggravated.

(;-) TP