Welcome, Guest. Please login or register.
Did you miss your activation email?
December 02, 2008, 10:40:55 AM

Login with username, password and session length
Search:     Advanced search
* Home Help Search Calendar Links Login Register
+  Machsupport Forum
|-+  Mach Discussion
| |-+  Mach SDK plugin questions and answers.
| | |-+  Mach3 Plugin Tutorial Document and Prototype File Set
Pages: 1 2 3 4 5 6 »   Go Down
Print
Author Topic: Mach3 Plugin Tutorial Document and Prototype File Set  (Read 6195 times)
0 Members and 7 Guests are viewing this topic.
jemmyell
Active Member

Online Online

Posts: 70


View Profile WWW
« on: November 17, 2007, 04:08:11 PM »

Hi,

Building on the work of Art, Brian and John Prentice I have written a tutorial that shows the mechanics of getting started with Mach3 plugin development.  If there is sufficient interest I will make this a series.

UPDATE (04/10/08): Please use PluginProto_v01b.zip on this page with this V01 tutorial.  It contains the missing header files that were left out accidentally and Proto.h has added declarations needed to complete the tutorial using the PluginTest dialog and CMyScriptObject.

-James Leonard

* PluginTutorial_V01.doc (1790 KB - downloaded 886 times.)
* PluginProto_V01b.zip (13.37 KB - downloaded 222 times.)
« Last Edit: April 10, 2008, 01:21:28 PM by jemmyell » Logged

ynneb
Guest
« Reply #1 on: November 17, 2007, 05:26:03 PM »

Hi James, you have been very busy. Thanks so much for taking the time to share with us.
You mention "sufficient interest" I am never sure how to gauge peoples interest, given that the old "Ten lepers" story is true. In other words many will benifit, but only a few will let you know that they did.
I guess this is a long winded way of encouraging you to do the series, even if you dont hear back from many people.

Two thumbs up to you.
Logged
poppabear
S S SYSTEMS, LLC
Global Moderator
*
Online Online

Posts: 770


Briceville, TN, USA



View Profile WWW
« Reply #2 on: November 17, 2007, 07:23:10 PM »

Awesome, I am looking forward to manyh more of these!!!

Please continue posting!!!

Any one else that would like to add to the knowlegde base please contribute so we can all learn!!

Scott
Logged

All things Mach3, Screens, Wizards, Plugins, Brians, complete control solutions for complex machines, Macros, ATC's, any kind of CNC machine build, retrofit or repair.
N4NV
Active Member

Online Online

Posts: 48


View Profile
« Reply #3 on: November 21, 2007, 11:25:40 PM »

I am trying to go through your tutorial.  When I get to the part of creating CustomPlugin I get error shown in shot2 and my file hierarchy is shot1.  What might I have wrong?

Vince


* Shot1.jpg (97.56 KB, 1017x524 - viewed 1348 times.)

* Shot2.jpg (6.05 KB, 257x120 - viewed 1325 times.)
« Last Edit: November 21, 2007, 11:27:12 PM by N4NV » Logged
jemmyell
Active Member

Online Online

Posts: 70


View Profile WWW
« Reply #4 on: November 22, 2007, 11:24:07 AM »

Your file heirarchy is correct.  Are you using VS 2003?  Do you have the service packs applied?

I have never encountered this error personally.  Please tell me at what point that message box pops up.  A detailed list of steps will help a lot.

-James
Logged

N4NV
Active Member

Online Online

Posts: 48


View Profile
« Reply #5 on: November 22, 2007, 11:55:26 AM »

Yes, I have VS 2003.  When I click on help , check for updates, it says there are no updates available.  Are the updates the same as service packs?  I get the error when I try to create the new project, CustomPlugin, on page 11.  After I enter the name and hit enter, the error comes up.

Vince
Logged
jemmyell
Active Member

Online Online

Posts: 70


View Profile WWW
« Reply #6 on: November 22, 2007, 12:23:28 PM »

It looks like you have a corrupted MS scripting engine.  You can completely uninstall and reinstall VS 2003 or try the fix found here:

http://support.microsoft.com/kb/323885

Service pack 1 for VS 2003 can be found here:

http://www.microsoft.com/downloads/details.aspx?FamilyID=69d2219f-ce82-46a5-8aec-072bd4bb955e&DisplayLang=en

Release notes:

http://support.microsoft.com/default.aspx?scid=kb;en-us;924009#appliesto

and a security patch for it can be found here:

http://www.microsoft.com/downloads/details.aspx?familyid=1dd6d8e7-390b-4e02-9f16-ab9d5ef7792e&displaylang=en&tm

-James Leonard



Logged

N4NV
Active Member

Online Online

Posts: 48


View Profile
« Reply #7 on: November 22, 2007, 03:23:23 PM »

Thanks for all the links.  I downloaded everything and installed and that fixed the problem.  I can now move on in the tutorial.  I don't know how the average person is supposed to figure all this stuff out.

Vince
Logged
Chaoticone
South Carolina, US
Administrator
*
Online Online

Posts: 2,810


Precision Chaos



View Profile WWW
« Reply #8 on: November 22, 2007, 03:39:19 PM »

Quote
I don't know how the average person is supposed to figure all this stuff out.

Dedication and a boat load of want too.  Cheesy

Thanks a lot for shareing James. As Benny said, you will most likely never know how many you have helped or will help with future tutors. You can see by the number of downloads allready, it will be quite a few. Hats off to James. Great job.

Brett
Logged

Grin If you could see the things I have in my head, you would be laughing too. Grin
www.precisionchaos1.com
My guard dog is not what you need to worry about!
Jeff_Birt
Active Member

Online Online

Posts: 162



View Profile
« Reply #9 on: November 25, 2007, 12:31:04 AM »

Wow! This is great James and very much appreciated. I just started working on the Galil plugin to get the extended I/O working. Your tutorial has anwered many questions I have had (the biggest being the configuration GUI in the resources file).

I do have one question, on page 8 you say:

Quote
To make a plug in of your own you must either use ‘BlankPlugin’ as a starting point or you can use the prototype file set and instructions that I am providing.  This document will only discuss the second method.

What advantage/disadvantage is there to these two choices? While I appreciate knowing how to set up a project 'from scratch' I was wondering what differences there may be for the developer for these two paths.

Thanks,

Jeff
Logged

Jeff
Pages: 1 2 3 4 5 6 »   Go Up
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.7 | SMF © 2006-2008, Simple Machines LLC Valid XHTML 1.0! Valid CSS!