RE: [OpenMap Users] GPS emulator, issue with serial port lock

From: Sutphin, William B CIV NUWC NWPT <william.sutphin_at_navy.mil>
Date: Thu, 25 Jun 2009 11:48:02 -0400

So you have two applications, one sending messages, the other receiving, correct?

If so, it sounds like both applications are trying to open the same COM port. If you want to send thru the COM ports you'll need two (COM1 and COM2) of course, with a cross over cable (forgive me if I'm telling you stuff you already know) between them. Or two computers back to back, with same cross over.

I've never used Java comm before (JNI - eeeuuu). You can use HyperTerminal as a test inputter and outputter. You can have it load a file of NMEA captured data an play it out once a second.

Bill Sutphin
 

> -----Original Message-----
> From: owner-openmap-users_at_bbn.com
> [mailto:owner-openmap-users_at_bbn.com] On Behalf Of Mulone
> Sent: Wednesday, June 24, 2009 18:31
> To: openmap-users_at_bbn.com
> Subject: [OpenMap Users] GPS emulator, issue with serial port lock
>
>
> Hi guys,
>
> I'm trying to create a test environment for a GPS-enabled
> application based on OpenMap. I'd like to emulate a GPS
> sensor transmitting coordinates to a serial port (something
> like a GPS trace-player). I managed to read and write
> messages from and to a serial port on Windows through the
> comm library, but I can't get send messages from the GPS
> emulator and read it from OpenMap application, cause it gives
> out saying the serial port is in use.
> Any ideas? Are there better ways to emulate a GPS sensor?
>
> Specs: Windows Vista/XP, Eclipse 3.4.2, jre6,
> commons-net-1.4.1.jar, comm.jar, javax.comm.properties, win32com.dll
>
> Thanks in advance,
> Mulone
>
> --
> View this message in context:
> http://www.nabble.com/GPS-emulator%2C-issue-with-serial-port-l
> ock-tp24194029p24194029.html
> Sent from the OpenMap mailing list archive at Nabble.com.
>
> --
> [To unsubscribe to this list send an email to "majdart_at_bbn.com"
> with the following text in the BODY of the message
> "unsubscribe openmap-users"]
>



--
[To unsubscribe to this list send an email to "majdart_at_bbn.com"
with the following text in the BODY of the message "unsubscribe openmap-users"]
Received on Thu Jun 25 2009 - 11:53:39 EDT

This archive was generated by hypermail 2.3.0 : Tue Mar 28 2017 - 23:25:09 EDT