Hello Guest it is April 25, 2024, 05:16:52 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 - Rimmel

Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 »
21
Mach4 Plugins / Re: mcX360 Plugin for Lua
« on: June 07, 2022, 03:12:55 PM »
So how are you gathering the input form the USB device? In C++, C# etc etc I have used DirectX for this, is there a USB library including in the Mach4 CoreAPI? as i cannot seem to find anything

thanks 

22
Mach4 Videos / Re: Creating a function for the Screen Load Script
« on: June 05, 2022, 01:25:15 PM »
An interesting one this, as I was looking to do the same thing. So I looked at DaztheGaz's video... Great!

However something struck me, in this instance there is already a button on the screen that does exactly the same thing (marked on the image attached). The screenshot was taken directly from the video.

Why cannot the functionality that is already provided, be tapped into  - rather than reinventing thwe wheel (so to speak).

Genuine question.

Thanks


23
Mach4 Plugins / Re: mcX360 Plugin for Lua
« on: June 05, 2022, 12:52:07 PM »
These are Mach4 specific registers

DazTheGas
Ah - thank you

24
Mach4 General Discussion / Homing - back off velocity is ignored.
« on: June 05, 2022, 12:24:29 PM »
Version 4.2.0.4809 - the backoff velocity is being ignored, it executes a G0 full speed back off instead of the slow controlled velocity that is expected.

Anyone else come across this? Fixes?

thanks

25
Mach4 Plugins / Re: mcX360 Plugin for Lua
« on: June 05, 2022, 12:21:55 PM »
Also did you pick the XBOX360 controller just because you had one or was it a technical decision e.g. easier to interface?

thanks

26
Mach4 Plugins / Re: mcX360 Plugin for Lua
« on: June 04, 2022, 10:02:35 AM »
Heres a different kind of plugin for you using an X360 controller that populates registry values so you can write your own scripts for it, if you have the registry plugin loaded you can see the values.

I will try and get some video`s on usage as soon as possible but is straight forward, create a lua panel from the screen editor and make sure you select that its hidden and in the code add as an example

Code: [Select]
local inst = mc.mcGetInstance()

local X360_PNL = mcLuaPanelParent;


    function GetXin(xinput)
    local hreg = mc.mcRegGetHandle(inst, string.format("mcX360_LUA/%s", xinput))
    return mc.mcRegGetValueString(hreg)
    end


X360_timer = wx.wxTimer(X360_PNL)

    X360_PNL:Connect(wx.wxEVT_TIMER,   function (event)

    if GetXin("Btn_A") == "1" then
     -- do something after button A is pressed
    end
   
    if GetXin("Btn_B") == "1" then
     -- do something after button B is pressed
    end
 
    end)

    X360_timer:Start(100)

You should get the gist ;-)

DazTheGas

When you say registry values, do you mean the actual OS registry or an internal registry for Mach4?

thanks

27
Mach4 General Discussion / Re: Mach4 bug - or by design????
« on: June 04, 2022, 09:45:30 AM »
SwiftyJ - absolutely spot on - thank you very much. It was one of those little anooying thing.

Thanks again

28
Mach4 General Discussion / Re: Mach4 bug - or by design????
« on: June 03, 2022, 06:51:11 AM »
Oh - I thought it was their "Support Forum", it even says it in the title "Machsupport.com" and "Machsupport Forum/Mach Discussion/Mach4 General Discussion"

Is theere a way to report bugs officially as a licenced user?

thanks

29
Mach4 General Discussion / Mach4 bug - or by design????
« on: June 02, 2022, 08:23:29 AM »
I have mach4hobby running (licensed) and a Miller. On the jogging tab the "Jog Rate%" input text-box will not accept any manual input e.g. it if set at 40.0 and I type in 50 and press enter it reverts back to 40.0.

The event is firing as I put a message for screen in it and it shows.

I am using Mach4 Hobby version 4.2.0.4809 with ESS 278.1*  (as recommended by the Warp9td site) see here -> https://warp9td.com/index.php/gettingstarted/setting-up-the-smoothstepper-and-mach4   

I aslo tried this on another machine that was was fiddling with mach4hobby on before purchase, Version 4.2.0.4612 and this works fine, although it is just the simulator as I don't have a machine hooked up to it and that version isn't registered for a license.

I have checked the code and all the settings fo the input box on both machines and they are identical.

Anyone? Developers??

thanks (pics attached)



30
Mach4 Plugins / Re: ShuttlePRO Spindle Override ++ and --
« on: June 02, 2022, 07:16:41 AM »
These plugins are basically locked.

Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 »