digitemp in windows gives error port not found

568 views
Skip to first unread message

Janis Alnis

unread,
May 17, 2012, 8:13:00 AM5/17/12
to DigiTemp
Hi !

impressed by Digitemp, made very simple USB-serial adapter. Works With
Ubuntu, OpenWRT.
http://www.instructables.com/files/orig/FY2/GG4L/H1YONGN0/FY2GG4LH1YONGN0.pdf

With windows demo version 1.7 downloaded from CNET works
dtdemo -s7 -i

Works, but it can not log to file due to demo restrictions.



Version digitemp-3.6.0 gives error:

digitemp_DS9097 -s7 -i
Error: serial port does not exist
Please help.

Greetings,
Janis





Brian C. Lane

unread,
May 18, 2012, 7:29:33 PM5/18/12
to digi...@googlegroups.com
On Thu, May 17, 2012 at 05:13:00AM -0700, Janis Alnis wrote:
> Hi !
>
> impressed by Digitemp, made very simple USB-serial adapter. Works With
> Ubuntu, OpenWRT.
> http://www.instructables.com/files/orig/FY2/GG4L/H1YONGN0/FY2GG4LH1YONGN0.pdf
>
> With windows demo version 1.7 downloaded from CNET works
> dtdemo -s7 -i
>
> Works, but it can not log to file due to demo restrictions.

That version is ancient :)
>
>
>
> Version digitemp-3.6.0 gives error:
>
> digitemp_DS9097 -s7 -i
> Error: serial port does not exist
> Please help.

You need to point it to the serial port device path. Look at the output
from dmesg when you plug the USB device in and it will tell you
something like /dev/ttyUSB0

digitemp_DS9097 -s /dev/ttyUSB0 -i


--
http://www.brianlane.com

Janis Alnis

unread,
May 20, 2012, 4:47:24 PM5/20/12
to DigiTemp
Thanks for repply. But I want to use it on WINDOWS PC.
In Ubuntu everything is fine.

Brian C. Lane

unread,
May 21, 2012, 9:22:21 AM5/21/12
to digi...@googlegroups.com
On Sun, May 20, 2012 at 01:47:24PM -0700, Janis Alnis wrote:
> Thanks for repply. But I want to use it on WINDOWS PC.
> In Ubuntu everything is fine.

Ah, ok. I'm not sure then, I haven't built it for windows in years and
when I did it was with a native serial port. It likely depends on what
you used to built it with. cygwin may have some mapping from /dev/ttySX
to windows COM ports.

--
http://www.brianlane.com

Janis Alnis

unread,
May 21, 2012, 8:20:32 PM5/21/12
to DigiTemp
Dear Brian,

thanks a lot for support.
Nice that your project has been active for so many years.
I agree that Linux is much nicer for automation, but still most people
have windows.


I did not compile myself.
Downloaded digitemp-3.6.0.tar.gz
It has a folder win with .exe file

digitemp_DS9097 -s7 –i
Error: serial port 7 does not exist

I use USB-serail donge with CP2102 chip. It is recognized by windows
as com7.

Downloaded demo versin from CNET
dtdemo -s7 -i
dtdemo -a
works perfectly, but demo version can not save.

If you dont know a simple solution, we can let it be as it is and I
can use Linux.

Brian C. Lane

unread,
May 22, 2012, 8:58:26 AM5/22/12
to digi...@googlegroups.com
On Mon, May 21, 2012 at 05:20:32PM -0700, Janis Alnis wrote:
> Dear Brian,
>
> thanks a lot for support.
> Nice that your project has been active for so many years.
> I agree that Linux is much nicer for automation, but still most people
> have windows.
>
>
> I did not compile myself.
> Downloaded digitemp-3.6.0.tar.gz
> It has a folder win with .exe file
>
> digitemp_DS9097 -s7 –i
> Error: serial port 7 does not exist
>
> I use USB-serail donge with CP2102 chip. It is recognized by windows
> as com7.

Ha. I hadn't remembered building an .exe for 3.6.0

That would have been built with cygwin so the serial ports should be the
same as under Linux, eg. /dev/ttySX but I'm not sure about USB to serial
adapters, they may map to ttySX or they may not show up at all. So I'd
try /dev/ttyS6 ttyS7 ttyUSB0 and whatever else you can think of.

--
http://www.brianlane.com

Janis Alnis

unread,
May 24, 2012, 11:02:23 AM5/24/12
to DigiTemp
Dear Brian,
thanks a lot for help!

It works with USB serial adapter CP2102. In Windows for com7 needed to
write /dev/ttyS6.

digitemp_DS9097.exe -s /dev/ttyS6 -i



Janis Alnis

unread,
May 24, 2012, 11:02:35 AM5/24/12
to DigiTemp
Dear Brian,
Reply all
Reply to author
Forward
0 new messages