# Mach4 setup problem

**URL:** <https://forum.avidcnc.com/t/mach4-setup-problem/3149>\
**Category:** General Chat\
**Tags:** mach4\
**Created:** [April 17, 2024, 1:42am UTC](https://forum.avidcnc.com/t/mach4-setup-problem/3149 "2024-04-17T01:42:19Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![kcclarkfw](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.avidcnc.com/kcclarkfw/32/3498_2.png) [@kcclarkfw](https://forum.avidcnc.com/u/kcclarkfw)\
**Post date:** [April 17, 2024, 1:42am UTC](https://forum.avidcnc.com/t/mach4-setup-problem/3149/1 "2024-04-17T01:42:19Z")

</div>

My old control computer bit the dust and I’m trying to get a new one up and running.

The setup went fairly well, Mach4 talks to the controller ( z axis touch plate is responding ) but I get the an error on starup and none of the motor controls work.

Lua: Error while running chunk  
C:/Mach4Hobby/ScreenScript.lua:1489: attempt to call a nil value (field ‘ReadAvidJSON’) …

The new machine is a Window 11 HP laptop.

Any ideas of what is wrong.

---

<div class="post-metadata">

**Author:** ![Eric](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.avidcnc.com/eric/32/3220_2.png) [@Eric](https://forum.avidcnc.com/u/Eric)\
**Post date:** [April 17, 2024, 10:45am UTC](https://forum.avidcnc.com/t/mach4-setup-problem/3149/2 "2024-04-17T10:45:04Z")

</div>

Did you download Mach fresh from our website?

Check to make sure that your machine is configured correctly in setup (make sure every drop down and setting matches your hardware)

If that doesn’t work reach out to support.
