<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">I have not tried to compile this on windows, but looking at obdsim.cc it is a windows only option. &nbsp;You can see in CMakeLists.txt that this is defined when you run cmake<br><br># For now, assume the choices are "windows" or "posix"<br>IF("${CMAKE_SYSTEM}" MATCHES "Windows")<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ADD_DEFINITIONS(-DOBDPLATFORM_WINDOWS)<br>ELSE("${CMAKE_SYSTEM}" MATCHES "Windows")<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ADD_DEFINITIONS(-DOBDPLATFORM_POSIX)<br>ENDIF("${CMAKE_SYSTEM}" MATCHES "Windows")<br><br><a href="http://svn.icculus.org/obdgpslogger/trunk/src/sim/obdsim.cc?revision=538&amp;view=markup">http://svn.icculus.org/obdgpslogger/trunk/src/sim/obdsim.cc?revision=538&amp;view=markup</a><br><a href="http://svn.icculus.org/obdgpslogger/trunk/src/sim/CMakeLists.txt?revision=525&amp;view=markup">http://svn.icculus.org/obdgpslogger/trunk/src/sim/CMakeLists.txt?revision=525&amp;view=markup</a><br><br>So it sounds like under cygwin it's considered posix so you need to use -t /dev/ttyS0. &nbsp;Or build outside of cygwin maybe?&nbsp;<br><br>But is -t /dev/ttyS[01234..] not working? If not, I guess you'll have to wait for Gary to have time to respond.<br><br>hth<br>charles<br><div><div>On Nov 17, 2010, at 12:24 AM, Priyanka Shah wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>But when I compile on windows with cygwin there is no option of -w.....:(<br>Then when and how I will get this option -w??????<br><br>-----Original Message-----<br>From: Charles Galpin [mailto:cgalpin@lhsw.com]<br>Sent: Wednesday, November 17, 2010 10:04 AM<br>To: obdgpslogger mailing list<br>Subject: Re: [obdgpslogger] Need urgent help<br><br>What you are trying to do sounds reasonable. I think Gary is saying to use -w on windows, or &nbsp;/dev/ttyS0 etc so try<br><br>obdsim -w COM1<br><br>or<br><br>obdsim -t /dev/ttyS0<br><br>Just guessing though.<br><br>charles<br><br>On Nov 16, 2010, at 11:20 PM, Priyanka Shah wrote:<br><br><blockquote type="cite"><br></blockquote><blockquote type="cite">Thanks for the reply but I tried doing:<br></blockquote><blockquote type="cite">No apologies n all...<br></blockquote><blockquote type="cite">Me sorry for disturbing you....<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">psshah@pcp-psshah /cygdrive/d/obdgpslogger-0.15/bin $ obdsim -t COM1<br></blockquote><blockquote type="cite">tcgetattr tty_device: Inappropriate ioctl for device Error creating<br></blockquote><blockquote type="cite">virtual port<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">psshah@pcp-psshah /cygdrive/d/obdgpslogger-0.15/bin $ obdsim -t CNCA0<br></blockquote><blockquote type="cite">Error opening device: No such file or directory Error creating virtual<br></blockquote><blockquote type="cite">port<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">psshah@pcp-psshah /cygdrive/d/obdgpslogger-0.15/bin $ obdsim -t CNCA0<br></blockquote><blockquote type="cite">Error opening device: No such file or directory Error creating virtual<br></blockquote><blockquote type="cite">port<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Please tell me the steps to do......<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">And nobody has replied to my below question can I do such thing??????????<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">I am trying to simulate car's vehicle data on obdsim.Can i send these data from one PC to other PC over RS 232??<br></blockquote><blockquote type="cite">Please help. Instead of virtual com port i use other PC's come port to cummunicate over obdsim running ove one PC.<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">-----Original Message-----<br></blockquote><blockquote type="cite">From: Gary Briggs [mailto:chunky@icculus.org]<br></blockquote><blockquote type="cite">Sent: Wednesday, November 17, 2010 12:39 AM<br></blockquote><blockquote type="cite">To: obdgpslogger mailing list<br></blockquote><blockquote type="cite">Subject: Re: [obdgpslogger] Need urgent help<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">On Tue, Nov 16, 2010 at 06:16:18PM +0530, Priyanka Shah wrote:<br></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">When i compile on windows using cygwin it gets successfully build but<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">while running it shows com port as dev/tty0 but for windows i should get CNCA0....where i need to do changes..??<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">one more : can i do below???????????<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">I am trying to simulate car's vehicle data on obdsim.Can i send these data from one PC to other PC over RS 232??<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">Please help. Instead of virtual com port i use other PC's come port to cummunicate over obdsim running ove one PC.<br></blockquote></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">If you build on cygwin, you should find that using "/dev/ttyS0" maps to COM1, "/dev/ttyS1" maps to COM2, etc. Be sure to pass it with the "-t"<br></blockquote><blockquote type="cite">option for it to do the right hting.<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Using MSYS, you should just be able to use -w COM1, etc, directly.<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Apologies for not getting back faster, I've been very tied up with<br></blockquote><blockquote type="cite">work and haven't had any time recently for doing side projects like<br></blockquote><blockquote type="cite">this one<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Thanks,<br></blockquote><blockquote type="cite">Gary (-;<br></blockquote><blockquote type="cite"><br></blockquote><br>_______________________________________________<br>obdgpslogger mailing list<br><a href="mailto:obdgpslogger@icculus.org">obdgpslogger@icculus.org</a><br>http://icculus.org/mailman/listinfo/obdgpslogger<br><br>SASKEN BUSINESS DISCLAIMER: This message may contain confidential, proprietary or legally privileged information. In case you are not the original intended Recipient of the message, you must not, directly or indirectly, use, disclose, distribute, print, or copy any part of this message and you are requested to delete it and inform the sender. Any views expressed in this message are those of the individual sender unless otherwise stated. Nothing contained in this message shall be construed as an offer or acceptance of any offer by Sasken Communication Technologies Limited ("Sasken") unless sent with that express intent and with due authority of Sasken. Sasken has taken enough precautions to prevent the spread of viruses. However the company accepts no liability for any damage caused by any virus transmitted by this email.<br>Read Disclaimer at http://www.sasken.com/extras/mail_disclaimer.html<br>_______________________________________________<br>obdgpslogger mailing list<br>obdgpslogger@icculus.org<br>http://icculus.org/mailman/listinfo/obdgpslogger<br></div></blockquote></div><br></body></html>