Ports
May 19, 2013, 02:22:29 pm *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: SMF - Just Installed!
 
   Home   Help Search Login Register  
Welcome to the PORTS Forum. Please post your questions, answers, and comments relating to USB and other hardware interfaces in the appropriate forums below. - Jan
Pages: [1]
  Print  
Author Topic: Serial Communication with OpenOffice.org Basic  (Read 2794 times)
ForrestErickson
Member
*
Posts: 1


« on: September 03, 2010, 06:24:25 pm »

Hello Form Members,

I have purchased Jan's Serial Port Complete for help with our serial port programing.  At my company, VRX Company Inc we have a factory test system for our product running the Openoffice.org basic macro language.

We are just not able to find good information on programing the serial port in this language.  We have resorted to very very clumsy methods involving shelling out to Realterminal in order to get any data in or out of the COM ports.  This method is very brittle so that when a unit testes abnormally it is highly likely it will crash our OpenOffice.org factory test system because the serial port never times out.

I really would like to be able to communicate bidirectionally with the unit under test and need some sort of time out if the unit under test fails to respond.  Example: I want to test that the unit under test echo's back serial data sent to it.  If no echo I have to have a time out so that my program does not hang waiting for a bad unit to echo.

Any ideas?

Forrest Erickson
President and floor sweeper
VRX Company Inc.
865-977-1242
Logged
Jan Axelson
Administrator
Frequent Contributor
*****
Posts: 1625


WWW
« Reply #1 on: September 04, 2010, 08:55:53 am »

No personal experience, but this page looks like it might have some ideas:

http://user.services.openoffice.org/en/forum/viewtopic.php?f=20&t=14349

Jan
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!