Hello Guest it is December 12, 2019, 01:48:51 PM

Author Topic: Saving & Recalling Specific DROs to file  (Read 4091 times)

0 Members and 1 Guest are viewing this topic.

Offline beefy

*
  •  138 138
    • View Profile
Saving & Recalling Specific DROs to file
« 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.

Offline ger21

*
  • *
  •  6,291 6,291
    • View Profile
    • The CNC Woodworker
Re: Saving & Recalling Specific DROs to file
« Reply #1 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.
Gerry

2010 Screenset
http://www.thecncwoodworker.com/2010.html

JointCAM Dovetail and Box Joint software
http://www.g-forcecnc.com/jointcam.html

Online BR549

*
  •  6,916 6,916
    • View Profile
Re: Saving & Recalling Specific DROs to file
« Reply #2 on: June 12, 2015, 01:57:09 PM »
SUre it is about a dozen different ways.

(;-) TP

Offline beefy

*
  •  138 138
    • View Profile
Re: Saving & Recalling Specific DROs to file
« Reply #3 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.
« Last Edit: June 12, 2015, 05:59:51 PM by beefy »

Offline beefy

*
  •  138 138
    • View Profile
Re: Saving & Recalling Specific DROs to file
« Reply #4 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

Offline beefy

*
  •  138 138
    • View Profile
Re: Saving & Recalling Specific DROs to file
« Reply #5 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

Online BR549

*
  •  6,916 6,916
    • View Profile
Re: Saving & Recalling Specific DROs to file
« Reply #6 on: June 12, 2015, 08:01:06 PM »
NOPE it can all be done in CB.

(;-) TP

Offline beefy

*
  •  138 138
    • View Profile
Re: Saving & Recalling Specific DROs to file
« Reply #7 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.

Online BR549

*
  •  6,916 6,916
    • View Profile
Re: Saving & Recalling Specific DROs to file
« Reply #8 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
« Last Edit: June 12, 2015, 09:37:51 PM by BR549 »