Article View: borland.public.jbuilder.java.language
Article #526Re: Serial Port Communication
From: Magnus
Date: Thu, 16 Jun 2005 22:56
Date: Thu, 16 Jun 2005 22:56
44 lines
2630 bytes
2630 bytes
Lori M Olson [TeamB] wrote: > Magnus wrote: > >> Hi, >> >> I have an instrument connected to my PC via the serial port. I need to >> write a rogram to communicate with it and download testdata that was >> collected. >> >> I found the javacomm20-win32.zip on the web. However, the installation >> talks about jdk1.1.6 and the files are from 98. Does anyone know if >> this package would work with jbuilder 2005. Maybe there is another way >> to solve this? >> >> Thank you, >> >> Magnus Bjorkman > > > That's the one. Serial communications hasn't really changed all that > much ;-) > > Here's a nice article on using it: > > http://bdn.borland.com/article/0,1410,31915,00.html > I'm not have a great week ... I send my app to people for testing and everything works except the communication on the Serial Port. I create a new directory on a new partition on my PC and try myself. No problem. I have an old Win98 machine that I try my app on and it runs fine except for the Serial port communication. After copying javax.com.proprties and win32com.dll to every possible java directory I still can't get it to work. I only get an option pane with Exception [OK]. I get the BlackBox program to run but only to find that - no ports identified. Back to my WinXP and check where I have copied the files but nothing strange or new, same lib and bin as I tried. Anyone has any ideas on how to debug this? Magnus PS. I went into my Windows system setting and verified that the COMport settings were OK.
Technical Details
Message-ID:
<42b2038c$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!news-out.newsfeeds.com!propagator3-LAX.newsfeeds.com!news-in.spamkiller.net!news-in.superfeed.net!caladan.landsraad.net!newsgroups.borland.com!not-for-mailReferences:
<424341fb$1@newsgroups.borland.com> <42435b7b$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: f74b3,821424df64b1c5b9 X-Google-Attributes: gidf74b3,public X-Google-Language: ENGLISH,ASCII-7-bit Date: Thu, 16 Jun 2005 18:56:24 -0400 From: Magnus <magnus_bjorkman@iwon.com> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.2) Gecko/20040804 Netscape/7.2 (ax) X-Accept-Language: en-us, en, sv MIME-Version: 1.0 Newsgroups: borland.public.jbuilder.java.language Subject: Re: Serial Port Communication References: <424341fb$1@newsgroups.borland.com> <42435b7b$1@newsgroups.borland.com> In-Reply-To: <42435b7b$1@newsgroups.borland.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 71.0.99.227 Message-ID: <42b2038c$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1118962572 71.0.99.227 (16 Jun 2005 15:56:12 -0700) Lines: 44 Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!news-out.newsfeeds.com!propagator3-LAX.newsfeeds.com!news-in.spamkiller.net!news-in.superfeed.net!caladan.landsraad.net!newsgroups.borland.com!not-for-mail