Hello
Guest
it is
April 18, 2024, 09:46:55 PM
Guest
Login
Register
Menu
Home
Help
Search
Calendar
Members
Members
View the memberlist
Search For Members
Login
Register
YouTube
Machsupport Forum
/
Mach Discussion
/
Mach4 General Discussion
/
How to make Lua wait for signal state to change
« previous
next »
Print
Pages:
«
1
2
Go Down
Author
Topic: How to make Lua wait for signal state to change (Read 3318 times)
0 Members and 1 Guest are viewing this topic.
joeaverage
7,575
Re: How to make Lua wait for signal state to change
«
Reply #10 on:
December 08, 2017, 04:23:52 PM »
Hi,
signal 'loosendraw', missed that one!
I thought I saw it in a post...the same one that had:
mc.mcSignalGetHandle(inst,'GetMeACupOfCoffe')
mc.mcSignalGetHandle(inst,'AndPeelMeAGrape')
LOL.
Craig
Logged
'I enjoy sex at 73.....I live at 71 so its not too far to walk.'
Chaoticone
5,624
Precision Chaos
Re: How to make Lua wait for signal state to change
«
Reply #11 on:
December 08, 2017, 04:46:01 PM »
Logged
If you could see the things I have in my head, you would be laughing too.
My guard dog is not what you need to worry about!
jderou
59
Re: How to make Lua wait for signal state to change
«
Reply #12 on:
December 09, 2017, 08:30:25 AM »
tightendraw is defined earlier as mc.OSIG_OUTPUT4.
Anyhow, it works. Stops the program and exits the macro as expected.
Will post the complete program once it is cleaned up.
Logged
Chaoticone
5,624
Precision Chaos
Re: How to make Lua wait for signal state to change
«
Reply #13 on:
December 09, 2017, 11:21:52 AM »
OK, Good. I thought you may have defined it elsewhere. That's why I said not sure. I knew if you hadn't defined it elsewhere it would not work. I also knew there was a chance you had. Anyway, I felt like I needed to say something in case you did not understand that or others looked at it as an example.
Logged
If you could see the things I have in my head, you would be laughing too.
My guard dog is not what you need to worry about!
Print
Pages:
«
1
2
Go Up
« previous
next »