Hello Guest it is April 20, 2024, 02:51:24 AM

Author Topic: Serial Plugin Questions  (Read 1606 times)

0 Members and 1 Guest are viewing this topic.

Serial Plugin Questions
« on: August 11, 2016, 09:43:25 AM »
I was delighted to see the new serial plugin.
However i cannot find any docs or examples on its use.
--------------------------------------------------------------------------------------------
i found this update description on the PDMX website

        - - - Build 4.2.0.2914 - 02 March 2016 - - -

7) Added plugin to allow send and receive from RS-232 serial port.

8) Convert LUA environment to use dynamic runtime to support loadable
   LUA modules. LUA RS232, LFS file system, LUA Sockets with TCP modules  now provided.

Where could i find Docs and more importantly , some examples of its use
any info greatly appreciated.
Re: Serial Plugin Questions
« Reply #1 on: August 11, 2016, 05:33:49 PM »
FWIW - There is a sample program here, which shows how to use some of the functions:

         C:\Mach4Hobby\Modules\luars232-Example.lua

If you so a web search for "luar232" there are other examples of usage, but an actual API document wasn't obvious.

Bob
Re: Serial Plugin Questions
« Reply #2 on: August 11, 2016, 07:30:40 PM »
Thank You !