Hello Guest it is February 21, 2024, 12:04:54 AM

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - adamchapman

Pages: 1
Hi karimi,

I was wondering if you got anywhere with this or if it die off?

I've also been thinking of something similar, but having difficulty finding any documentation on the ethernet port for mach3

VB and the development of wizards / getting MAC address in VB
« on: October 25, 2012, 02:09:34 PM »
I've found a piece of code that should find the MAC address of the host machine in VBscript.

However, I can't seem to display the MAC address object for some reason.
The code is:

On Error Resume Next
Dim strComputer
Dim objWMIService
Dim colItems

strComputer = "."
Set objWMIService = GetObject("winmgmts:" _
 & "{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2")

Set colItems = objWMIService.ExecQuery _
    ("Select * from Win32_NetworkAdapterConfiguration")

For Each objItem in colItems

   If Not IsNull(objItem.MACAddress) Then
        'Wscript.Echo objItem.MACAddress
      msgBox("mac address is null?")
    End If


I have no idea why no message box pops up, and I don't know if ojbItem.MACAddress is a string.

If anybody could help I would be massively grateful

Is it then possible to license these macros?

I have spent a lot of time developing a macro that I'd like to sell, but am worried about it spreading freely through the interwebs.

Video P*r*o*b*i*n*g / Re: prevent G31 from writing to file
« on: October 06, 2012, 10:15:01 AM »
I've just realised that G31 will continue moving in a straight line and won't write coordinates to a file until the probe is triggered.

Is there a way to say "while x<target, keep moving, but stop if x>=target" ?

Video P*r*o*b*i*n*g / prevent G31 from writing to file
« on: October 06, 2012, 09:46:33 AM »

I'm trying to build a digitizing routine where the probe rasters horizontally by a certain distance, then if it hasn't touched anything, head downwards in z until the probe contacts something.

The problem I'm anticipating is that I'll need to use G31 to stop horizontal motion if the probe contacts before the z-axis movement is initiated. However, if contact ISNT made during the horizontal movement, is a coordinate written to the saved file of measured x,y,z coordinates? If so, that would mean a coordinate is recorded in thin air :(

Is there a way to prevent this? I'm effectively trying to reproduce the raster tchnique in this video: http://www.youtube.com/watch?v=IcVv1So1n_8

General Mach Discussion / Coding Digitiizing Wizard
« on: July 08, 2012, 07:51:42 AM »

I'm trying to write a faster digitizing algorithm for a wizard. I've been reading the "Customising Mach2" pdf documentation and have opened Art Fenerty's wizard in machscreen to interrogate the code.

However, there are two main things that I can't manage to find:

1. Where is the input from the probe considered in the code?

2. Where is the code that writes coordinates to a file?

Any help is greatly appreciated.

Many Thanks

Pages: 1