For the Lua error, look in C:\Mach4Hobby\Profiles\PMDX-424-Sample\Macros and see what is there. This image shows what is on my PC. If you don't see those files then do this:
- Close Mach4 and unplug the PMDX-424 from the USB port
- Rename the Mach4Hobby\Profiles\PMDX-424-Sample directory to some other name (maybe "MyMachine" or something).
- Re-install the PMDX plugin, checking the boxes to install the sample profiles.
- Copy the contents of the macros directory from the newly created PMDX-424-Sample into MyMachine\Macros
- Plug the PMDX-424 into the USB port
- Start Mach4 and see if you still get that Lua error
As a side note - it is a good idea to clone the PMDX sample profiles before editing them. The current PMDX plug-in installer will not overwrite profiles that already exist, but future versions may change this. And if a new plug-in overwrites your highly modified version of the PMDX-424-Sample profile you will be very sad.
Now, for the VCP port issues. Just to make sure, with the PMDX-424 unplugged from the USB, bring up device manager and see if there are any devices with a yellow triangle. If not, plug the USB into the PMDX-424. Does a device a ppear with the yellow triangle? And does the yellow triangle & unknown device go away when you unplug the PMDX-424 USB cable?
If so, try one more thing. But first, what steps did you take to uninstall and re-install the VCP driver? Did you use the steps here:
https://faq.pmdx.com/content/2/8/en/how-to-manually-install-the-virtual-com-port-driver-version-14.htmlIf you are running Windows10, try unplugging the PMDX-424 and then uninstalling the VCP driver. The do NOT re-install the VCP driver. Instead just plug the PMDX-424 into the USB. With Win10, the "in box" 9i.e. supplied with Windows) driver that is used by the PMDX devices is the preferred driver. See if that works.