Hello Guest it is March 28, 2024, 01:59:02 PM

Author Topic: Mach4 Variable Counter  (Read 4565 times)

0 Members and 1 Guest are viewing this topic.

Re: Mach4 Variable Counter
« Reply #10 on: October 25, 2015, 08:14:48 AM »
Ok, I understand that, and I do show my info in the history line at the bottom, too.  But, how about making a dro or some kind of larger text field on screen
that I can put that value in as it increments?
Re: Mach4 Variable Counter
« Reply #11 on: October 25, 2015, 08:22:02 AM »
yep you can do that, I just showed you how I have one of my screens set up like.
Re: Mach4 Variable Counter
« Reply #12 on: October 25, 2015, 10:35:35 AM »
Ok, I bailed on the dro, so I opted for a UserLabel,
Edited my screen, created a label, called is UserLable25, put UserLabel25 in the text of it,
changed my vb to setuserlabel(25,"test")

Didn't work either, any thoughts?  I guess I just don't understand the way that Mach is handling it?
Re: Mach4 Variable Counter
« Reply #13 on: October 25, 2015, 07:34:36 PM »
Not sure why you keep using Mach3 VB code.

Mach4 uses LUA for coding. I provided what you needed to do what you wanted,  just have to grasp the new coding process.

Either way you have to read, read, read and practice. Most everything you need is provided in the document section of Mach4, help "F1" in the mcLuaEditor or this Mach4 forum, full of examples.

Mach4/Lua will take hundreds of hours to grasp it all.

Good Luck & Have Fun

Offline dude1

*
  •  1,253 1,253
    • View Profile
Re: Mach4 Variable Counter
« Reply #14 on: October 25, 2015, 07:40:34 PM »
chris have a read through Ya Nvr No posting here http://www.machsupport.com/forum/index.php/topic,27162.0.html and do a surch in the M4 section a lot of what you wont to know is there allready.

also you can do a google search on anything to do with .Lua there is 000 of pages

also look in the manual Docs folder in M4 root folder.
« Last Edit: October 26, 2015, 10:41:42 AM by Chaoticone »