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 26, 2012, 06:58:54 AM
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
General Mach Discussion
Developing new macropump, faster way to retest?
Pages:
1
2
3
»
Go Down
« previous
next »
Author
Topic: Developing new macropump, faster way to retest? (Read 1218 times)
0 Members and 1 Guest are viewing this topic.
Zaaephod
Active Member
Offline
Posts: 73
Developing new macropump, faster way to retest?
«
on:
June 14, 2010, 03:53:46 PM »
Like the title says, I'm working on changes to the macropump, but all this restarting mach to test stuff is wearing on my nerves. Is there a faster way to restart the macropump code from inside mach3 without restarting?
Thanks
Logged
Hood
Active Member
Offline
Posts: 17,345
Carnoustie, Scotland
Re: Developing new macropump, faster way to retest?
«
Reply #1 on:
June 14, 2010, 04:08:36 PM »
Afraid not, Mach loads the macropump at startup and it constantly runs, only a restart will load any changes you have made.
Depending on your macropump it may be possible for you to test by stepping through the code in the VB window or even just clicking the run arrow.
Hood
Logged
Zaaephod
Active Member
Offline
Posts: 73
Re: Developing new macropump, faster way to retest?
«
Reply #2 on:
June 14, 2010, 05:04:34 PM »
Solved. Wrote an autohotkey script to restart
Thanks
Logged
Hood
Active Member
Offline
Posts: 17,345
Carnoustie, Scotland
Re: Developing new macropump, faster way to retest?
«
Reply #3 on:
June 14, 2010, 05:06:21 PM »
Quote from: Zaaephod on June 14, 2010, 05:04:34 PM
Solved. Wrote an autohotkey script to restart
Thanks
To restart Mach or to somehow reload the macropump? If the latter care to share
Hood
Logged
Zaaephod
Active Member
Offline
Posts: 73
Re: Developing new macropump, faster way to retest?
«
Reply #4 on:
June 14, 2010, 05:13:15 PM »
Autohotkey is a freebie macro program I've come to love. All it does is restart mach, but it takes care of the "are you sure?" menu, the restart, and the profile choice screen at the beginning. Still have to wait for mach to restart though.
Even so, Autohotkey is worth looking into for people who like to automate things, and aren't afraid of code. Everything it does is scripted, but it's extremely flexible, and can interact with most windows forms without the messy automated mouse clicking strategy.
Logged
Hood
Active Member
Offline
Posts: 17,345
Carnoustie, Scotland
Re: Developing new macropump, faster way to retest?
«
Reply #5 on:
June 14, 2010, 05:20:58 PM »
Ah ok, thanks for the info, worth looking into
Hood
Logged
Zaaephod
Active Member
Offline
Posts: 73
Re: Developing new macropump, faster way to retest?
«
Reply #6 on:
June 14, 2010, 05:31:45 PM »
No problem. I do have another question though, is there a way to trigger a script when an input goes high?
Logged
Hood
Active Member
Offline
Posts: 17,345
Carnoustie, Scotland
Re: Developing new macropump, faster way to retest?
«
Reply #7 on:
June 14, 2010, 05:51:30 PM »
Not really sure what you mean but maybe this?
If IsActive (Input1) Then
Code("M1234")
End If
Hood
Logged
Zaaephod
Active Member
Offline
Posts: 73
Re: Developing new macropump, faster way to retest?
«
Reply #8 on:
June 14, 2010, 06:02:51 PM »
Sorry, I should have been more clear. I meant to actually run a separate macro file, but to somehow have it triggered by an input going high. Maybe I'm being too conservative when it comes to putting code into the macro pump. I don't have any loops or anything in there, but I'm aware that since that code is run all the time, it could eventually affect performance. I have some code that runs when the digitize signal goes high, but I was hoping to get it out of the macropump code.
Logged
Zaaephod
Active Member
Offline
Posts: 73
Re: Developing new macropump, faster way to retest?
«
Reply #9 on:
June 14, 2010, 06:05:50 PM »
Also, since the machines are running in the shop, and I'm usually in the office, I run a series of video monitors. I was considering things like, writing to a file when it's time for a blade / program change, current program line, etc. Something that I could read at regular intervals from different pc's on the network to get info about the machines.
Logged
Pages:
1
2
3
»
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...