nsaprotect.blogg.se

Lua read write serial port
Lua read write serial port












lua read write serial port

Output: "C:\Mach4Hobby\LuaExamples\Tims.mcc"Īt Breakpoint line: 1 file: C:\Mach4Hobby\LuaExamples\a I then created a new Lua script (tim.lua) and wrote the following: I tried to do the same thing in mach4 by placing the dll in the Mach4Hobby folder (the root folder is in the PATH). I ran the example for the luars232.dll and was able to make a connection to my com ports on my machine. I installed the "Lua for windows" package which comes with the luars232.dll.

lua read write serial port

I searched through as much documentation as I could find in the forums with no luck (Special thanks to Scott “Poppa Bear” Shafer and Ya-Nvr-No) I've done only a couple of things that required serial com. I'm new to Lua but have done a little vb developmet.

lua read write serial port

We have a need to have Mach make a serial connection and send and receive serial data. I posted this in another thread but wanted to bring it to the top to see if anyone could help.














Lua read write serial port