View Full Version : Log serial receive

Matthew Evans
October 8th, 2012, 05:56 AM
I am trying to automate conference system using girder.
I have a Life size conference system and its controlled using a rs232 serial connection.
I am sending ascii commands to the life size no problem using the simple send and receive transport component and a Global Cache box.
How can I log the commands that the Life Size is sending back as I need to be able to trigger specific events from the ascii responses.

October 8th, 2012, 07:23 AM
Have a look at the file called "SimpleSendAndReceive.lua" in the <girder>\luascript\transport\devices directory. It has a function called "OnReceiveData".

If you change




You should see the replies show up in the Lua Console.

edit: Make sure you then also use the Simple Serial Send and REceive device not the global cache one!