Machsupport Forum

Mach Discussion => Mach SDK plugin questions and answers. => Topic started by: ynneb on May 29, 2006, 08:41:56 PM

Title: New SDK plugin development forum.
Post by: ynneb on May 29, 2006, 08:41:56 PM
This section has been created in the interest of trying to keep all Plugin related questions and comments in the one place.
Over time it will become a good resource for all.

You will be able to upload and download developement files into these threads, as well as insert code examples using the # button above.
It may take a small habit change in order to remember to use this section, but It will help everyone in the long term.

Here is a temporary page for downloading Plugins from  http://www.machsupport.com/intro.htm
Title: Re: New SDK plugin development forum.
Post by: Brian Barker on May 29, 2006, 09:52:24 PM
O Boy this one is going to be fun to support :)  Hope there are a few  Cprogramers out looking for some fun ;)
Title: Re: New SDK plugin development forum.
Post by: ART on May 29, 2006, 10:46:14 PM
Hi Guys:
 
  Post any specific questions here and Ill keep tabs on this thread for getting back to you. Also keep track of the customising Wiki, Ill be posting explainations of each of the main block variables , I just added the Engine variables tonight.
We'll be adding as much as possibel tot he PlugIn sections of the code to allow for more power. The first big project is to add the G100 as a PlugIn, undoubtedly more functions will be added to support the complex interface required by a G100, so by the time the G100 is switched to a Mach plugiin, th eplugin facility will have enough power to hook pretty much anything in.

Regards,
Art
Title: Re: New SDK plugin development forum.
Post by: japrenticeuk on May 30, 2006, 07:07:01 AM
Apologies that the wiki is rather crude in its formatting rules.

I have been able to make Art's excellent info. on structures and variables a bit easier to follow by some editing. If you had problems please re-visit it at:

http://www.machsupport.com/MachCustomizeWiki/index.php?title=SDK_Variables

If anyone wants to post their own code the "rules" that work are:

(a) One or more spaces (not tab) at start of a line gives a TeleType font in a box.
(b) Avoid blank lines (i.e. new paragraphs in wiki markup) inside a collection of lines (e.g. a struct) as these will start a new box.

If you dummy edit the page linked above this should make sense!

On a different tack I am hoping that by setting up Notifications in my Profile I can keep track of any postings in this thread. It really is too easy reading Yahoo! with PGOffline ;=)

John Prentice
Title: Re: New SDK plugin development forum.
Post by: ART on May 30, 2006, 07:29:57 AM
Hi John:

 So sorry to make you jump the hoops. :) , I added that last last night and figured Id edit it later for formatting. I have more to add very shortly on the other two classes..

Art
Title: Re: New SDK plugin development forum.
Post by: japrenticeuk on May 30, 2006, 07:39:08 AM
Art

No problem - happy to do the easy bits.

John Prentice

And the e-mail Notification system does work - although the info. on my Profile screen seems unreliable
Title: Re: New SDK plugin development forum.
Post by: CncBr on June 02, 2006, 11:02:54 PM
HI ART,   
I am making a Auto install and uninstall for the pluins of the mach3. You have Some special placement for this installation Program.


Thanks
Junior
Title: Re: New SDK plugin development forum.
Post by: ART on June 02, 2006, 11:16:51 PM
Hi Junior:

   My thought was to make a system OCX that recognises a particular extension, if I were to name all plugins as *.M3P , then a system OCX could be registered to move any *.M3P file that is double clicked to the C:\Mach3\PlugIns folder. That way a PlugIn could just be download anywhere ont he desktop for example, and double clicking it woudl send it to its home. That may not work though as soem plugins may need support files.. Im not sure how to handle that yet. I think the G100 Plugin will teach me what I need to know about what we need.
 However, it will take me a couple weeks to make one up, so Id be happy to have one to do us for awhile. The Mach3 folder itself is probably a good place for it.

Thanks
Art
Title: Re: New SDK plugin development forum.
Post by: CncBr on June 02, 2006, 11:52:13 PM
HI ART,   
I am with an idea of Doing a program, to read a file XML with the installation information: 
 
Example: 
<MACH PLUGIN> 
<PuginName>MyPlugin </PuginName>
<PluginAuthor>Art</PluginAuthor>
<PluginCompany>Artsoft</PluginCompany>
<PluginCompanyLogo>Bitmapfile</PluginCompanyLogo>
<PluginIMGLogo>Bitmapfile</PluginIMGLogo> 
<PuginFile>******************x.********* </Pluginfile> 
<PuginEntryProfile>Input of Registro Mach Profile</PuginEntryProfile> 
</MACH PLUGIN>

It would be very simple Any developer to edit the file for a new plugin.

Thanks
Junior
Title: Re: New SDK plugin development forum.
Post by: ynneb on June 03, 2006, 01:52:50 AM
Junior, upload the program to this forum and I will make sure it will be put in a place where others will know about it and see it.
Thanks :)
Title: Re: New SDK plugin development forum.
Post by: CncBr on June 05, 2006, 01:46:53 PM
Before Any Thing I Want to Thank To my friend Benny, in convincing me in leaving of being a lonely lunatic:   
   
I hope you understand them expression of my madness, I want to open with this information a new concept of the control CNC MACH:   
   
With this I am adapting a series of softwares to work with MACH, I already have ready codes and I have to do some hundreds of CTRL+C CTRL+V and to redraft some lines to work as plugin of Mach:   
   
In Some weeks I will already be liberating them version BETA:   
   
They are Them:   
   
Code name TrackArt Baptized with this name in my Homage friend Art, that had a lot of patience in trying to understand each other in passing of these years.   
   
What is TrackArt:   
Mean: A protocol that I developed that it will allow two or more MACH to talk allowing a synchronism or a sequence of operations amongst themselves, it is a protocol that sends packages through web. THAT means that all of the existent mach in the world can talk amongst themselves and to execute multiple tasks been configured.   
   
WEBHMI:   
What is:   
A plugins that extends the panel of the mach through web, will allow to control a machine remotely in any point of the world.   
   
WEBIO   
What is:   
It is a plugin that will allow an extension of Port of input and output through WEB   
Allowing that an Entrance and Exit is in any point of the planet.   
   
I hope with those information enlarge the designer imagination for new machines.   
   
I hope to count with help of all you to turn my madness in a reality.

Thanks,
Junior
   
Title: Re: New SDK plugin development forum.
Post by: ART on June 05, 2006, 01:56:37 PM
Hi All:

  Junior is a very good programmer, and he and I have been coresponding for a very long time. I will translate his above letter
so you can read  it. Junior makes hardware deivces, motor controllers and seems to be very able at programmiing, so his letter is probably
of interest to those whoe wish to do plugins..

Translation ( as best I can ) follows. :)

>>Before Any Thing I Want to Thank To my friend Benny, in convincing me in leaving of being a lonely lunatic:   

  Thanks to Benny for helping in my lonely madness, He's been a great help with the translations of the language barrier as of late.
   
>>I hope you understand them expression of my madness, I want to open with this information a new concept of the control CNC MACH:   
  With this I am adapting a series of softwares to work with MACH, I already have ready codes and I have to do some hundreds of CTRL+C CTRL+V and to redraft some lines to work as plugin of Mach:   
 
  I am working on PlugIns to Mach3 to release for everyone to experiment with, this is a new concept available due to the new plugin technology.
 
>>In Some weeks I will already be liberating them version BETA:   

  The following will be relased over the next few weeks.
   
 
   
Code name TrackArt Baptized with this name in my Homage friend Art, that had a lot of patience in trying to understand each other in passing of these years.   
   
What is TrackArt:   
Mean: A protocol that I developed that it will allow two or more MACH to talk allowing a synchronism or a sequence of operations amongst themselves, it is a protocol that sends packages through web. THAT means that all of the existent mach in the world can talk amongst themselves and to execute multiple tasks been configured.   

 >> I have been inventing a new protocl, web based, to allow verisons of Mach on various network sites to exchange data. Kinda liek a Web Ring of running applications.
   
WEBHMI:   
What is:   
A plugins that extends the panel of the mach through web, will allow to control a machine remotely in any point of the world.   

>>Remote control through the web so one person can control anothers machine. (Wow, can you do that Junior? :-) )
   
WEBIO   
What is:   
It is a plugin that will allow an extension of Port of input and output through WEB   
Allowing that an Entrance and Exit is in any point of the planet.   

 >> WebIO will allow input from another computer to be used as IO on your machine. (Wow, you can do that as well. ? Im impressed. :))

   
I hope with those information enlarge the designer imagination for new machines.   
   
I hope to count with help of all you to turn my madness in a reality.


  As I said, Junior is very talented, there is a language barrier than sometimes confuses nboth of us, but Ive seen some of his work, and it always impresses me. I suspect he can actually do the above. Ill be interested in seeing the results.

Junior: I hope Ive translated this well enough. Let me know how you make out. Im adding to the Plugins now for ModIO, and then the "big" work starts for the G100 movement device. I know you have a huge interest in that one. :) )

Thanks
Art

 
Title: Re: New SDK plugin development forum.
Post by: ynneb on June 05, 2006, 07:22:43 PM
Junior, I am looking forwad to seeing some of your plug-in creations very soon.

When you say "Lonely Lunatic", it makes me think how hard it would be to be pationate about something, and not been able to talk to any one about it.
I would be very surprised if your messages and contributions in this forum were not understood and answered.

I am very excited you have decided to join us.

Title: Re: New SDK plugin development forum.
Post by: CncBr on June 05, 2006, 08:21:27 PM
Thanks Benny,

To my Thinking, that small expression can bring a smile many times in the worst moment Day.   
I hope you have smiled with my expression: "Lonely Lunatic"
Title: Re: New SDK plugin development forum.
Post by: CncBr on June 05, 2006, 08:25:29 PM
Thanks Art,

>>Junior: I hope Ive translated this well enough. Let me know how you make out. Im adding to the Plugins now for ModIO, and then the "big" work starts for the G100 movement device. I know you have a huge interest in that one.  )

It is true you know that my largest interest is to do Mach still much better a software, I have the ready solution for that to happen in a very fast way, as soon as I know you to liberate in the routines internal mach for me, I will explain to all companions that mach will be able to do.

Very Best Regards