Home
Downloads
Mach3
Plugins
CAM Post Processors
Screensets
Purchase
Support
Forum
Tutorial Videos
Documentation
Yahoo Group
Mach Wiki
Resources
Contact Us
Links
CNCZone
German Forum
Italian Forum
Korean Forum
Portugese (Brazil) Forum
Russian Forum (RSK CNCROUTER)
Thai Forum
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
May 28, 2012, 02:13:58 PM
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Search:
Advanced search
Select from and to languages
Chinese-simp to English
Chinese-trad to English
English to Chinese-simp
English to Chinese-trad
English to Dutch
English to French
English to German
English to Greek
English to Italian
English to Japanese
English to Korean
English to Portuguese
English to Russian
English to Spanish
Dutch to English
Dutch to French
French to English
French to German
French to Greek
French to Italian
French to Portuguese
French to Dutch
French to Spanish
German to English
German to French
Greek to English
Greek to French
Italian to English
Italian to French
Japanese to English
Korean to English
Portuguese to English
Portuguese to French
Russian to English
Spanish to English
Spanish to French
Machsupport Forum
Mach Discussion
VB and the development of wizards
SaveWizard, Saving DROs, DRO/LED number allocation, global functions
Pages:
1
Go Down
« previous
next »
Author
Topic: SaveWizard, Saving DROs, DRO/LED number allocation, global functions (Read 1105 times)
0 Members and 1 Guest are viewing this topic.
ftkalcevic
Active Member
Offline
Posts: 10
SaveWizard, Saving DROs, DRO/LED number allocation, global functions
«
on:
October 01, 2008, 07:50:19 PM »
Lots of questions in one post...
1) What does SaveWizard do? Does it just save the values of ALL the DROs and LEDs on the wizard's screen? Or is it just User DROs/LEDs? Is there a LoadWizard, or are the parameters loaded automatically?
2) Is there any way to save DROs/LEDs on my custom screen set? I noticed DROs like Slog Jog Rate and Edge Finder Diameter are saved automatically. Can I do this for my DROs and LEDs on my own screens?
3) The documenation says that I should use numbers above 1000 for my own DROs and LEDs. Is there a safe way of allocating them? Or do I just cross my fingers no other wizard or macro is using the numbers I've picked?
4) Is there any way to do global functions? Or functions shared between button macros? Defining global constants would be nice too. If I can't define globals, can I include common code into a macro?
Thanks,
Frank
Logged
ftkalcevic
Active Member
Offline
Posts: 10
Re: SaveWizard, Saving DROs, DRO/LED number allocation, global functions
«
Reply #1 on:
October 02, 2008, 07:14:01 PM »
Quote
2) Is there any way to save DROs/LEDs on my custom screen set? I noticed DROs like Slog Jog Rate and Edge Finder Diameter are saved automatically. Can I do this for my DROs and LEDs on my own screens?
Actually, I can answer this one myself. It appears, DROs and LEDs are saved when Mach3 exits. I just never noticed.
Logged
Ron Ginger
V4 Screen Contributor
Offline
Posts: 568
Re: SaveWizard, Saving DROs, DRO/LED number allocation, global functions
«
Reply #2 on:
October 02, 2008, 07:44:43 PM »
Save Wizard saves all the DRO and LED values in the user space, whether they have been defined on a screen or not. They are saved into a file with the same name as your wizard but with .def for type. Every time your wizard is started up it will read the .def file to take all initial values.
The system DROs are not saved in the wizard set.
Its not a problem for duplication of numbers between wizards, since we can only run one wizard at a time. But duplication between macros and macropumps can be an issue We have had a couple strange bugs reported by guys that have a macropump running and then startup the Newfangled Wizards. It would have been nice if someone had set a standard back in the early days, like wizards start at 1000 and go up and macropumps start at 1255 and go down, but it has not happened, and its always a risk.
Global functions and buttons are not possible. I just had dinner with Brian tonight and bugged him again to do this, but its a big change in the way VB is integrated into Mach and its not likely to happen. He agrees it would have been a better way, but its to late to go back. One of the main features of Flash in my view is a more integrated programming environment.
Logged
RadiantHeat
Active Member
Offline
Posts: 30
Re: SaveWizard, Saving DROs, DRO/LED number allocation, global functions
«
Reply #3 on:
November 14, 2008, 04:11:47 PM »
Line from last message from Ron Ginger is below.
> One of the main features of Flash in my view is a more integrated programming environment.
so Flash sounds very good ! , the lack of Globals gets to be a big problem the more code I write ! Could someone please elaborate or point to any reading on "FLASH" ? and I don't mean the Action SuperHero !
Logged
Ron Ginger
V4 Screen Contributor
Offline
Posts: 568
Re: SaveWizard, Saving DROs, DRO/LED number allocation, global functions
«
Reply #4 on:
November 14, 2008, 05:18:14 PM »
Look under the screens topic, there is a whole topic on Flash. There is work being done on a doc for flash, but it is not ready yet.
Logged
Pages:
1
Go Up
« previous
next »
Jump to:
Please select a destination:
-----------------------------
Mach Discussion
-----------------------------
=> General Mach Discussion
=> Mach3 under Vista
=> Quantum
=> Mach SDK plugin questions and answers.
===> Finished Plugins for Download
=> VB and the development of wizards
=> Brains Development
=> Video P*r*o*b*i*n*g
=> Mach Screens
===> Screen designer tips and tutorials
===> Works in progress
===> Finished Screens
===> Flash Screens
===> JetCam screen designer
===> Machscreen Screen Designer
===> CVI MachStdMill (MSM)
=> Feature Requests
=> Non English Forums
===> Italian
===> French
===> Spanish
===> Chinese
===> German
===> Russian
===> Romanian
===> Japanese
===> Vietnamese
=> FAQs
-----------------------------
*****VIDEOS*****
-----------------------------
=> *****VIDEOS*****
-----------------------------
General CNC Chat
-----------------------------
=> Share Your GCode
=> Show"N"Tell ( What you have made with your CNC machine.)
=> Building or Buying a Wood routing table.. Beginnners guide..
=> Show"N"Tell ( Your Machines)
-----------------------------
G-Code, CAD, and CAM
-----------------------------
=> G-Code, CAD, and CAM discussions
=> LazyCam (Beta)
-----------------------------
Third party software and hardware support forums.
-----------------------------
=> LazyTurn
=> GearoticMotion Preliminary testing
=> Tempest Trajectory Planner
=> Contec
=> dspMC/IP Motion Controller
=> HiCON Motion Controller
=> Third party software and hardware support forums.
=> Galil
=> Newfangled Solutions Wizards
=> Mach3 and G-Rex
=> Mesa
=> Modbus
=> NC Pod
=> PoKeys
=> SmoothStepper USB
=> Sieg Machines
=> Promote and discuss your product
-----------------------------
Tangent Corner
-----------------------------
=> Tangent Corner
=> Competitions
=> Polls
=> Bargain Basement
-----------------------------
Support
-----------------------------
=> Downloads
===> XML files
===> Post Processors
===> Macros
===> Tutorials
===> Others
===> Beta Brains
===> Screen Sets
===> Documents
===> MACH TOOL BOX
=> One on one phone support.
=> Forum suggestions and report forum problems.
-----------------------------
Mach4
-----------------------------
=> Mach4 pre-Alpha Testing
Loading...