From mboxrd@z Thu Jan 1 00:00:00 1970 From: bambang Subject: Re: sensor on serial com timing problem under Win > 98 Date: Thu, 25 Oct 2007 08:52:57 +0700 Message-ID: <1193277178.5944.0.camel@bambang-desktop> References: <471E48C4.30242.64931FA@dieter.blaas.univie.ac.at> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:subject:from:to:in-reply-to:references:content-type:date:message-id:mime-version:x-mailer:content-transfer-encoding; bh=p9X/SMAvj4uv5vFIcZakLAlsyVJgZmziDPZRoIKMGfY=; b=TmGa/viZLqVrOfXJT/V0Wl0Fl0G2CD77ZS7/WSk0h1hNnx4fHy/2Bdoi2d7PVSK01fCPWu9zAq2i6twLbaMllOWVtbhruEtDp+wmzLu/0JngfnQm59y3h8BJ8xG41RWIxR942ud01q4S7GUJlmu6dBz46823HF9aextgWcV/z8I= In-Reply-To: <471E48C4.30242.64931FA@dieter.blaas.univie.ac.at> Sender: linux-msdos-owner@vger.kernel.org List-Id: Content-Type: text/plain; charset="us-ascii" To: linux-msdos@vger.kernel.org On Tue, 2007-10-23 at 19:17 +0200, Dieter Blaas wrote: > Hi, > I have a temperature / humidity sensor that sends frequency > modulated data to the com port. The program collecting them > runs under DOS (up to Win98). I can run two DOS Windows > with two sensors without any problems from within Win98. > > Migrating to WinXP, I have tried to emulate DOS with DOSBox, > VirtualPC, and VMWare but in all cases the data are wrogly > interpreted in that the values are unreliable. This appears to be > a timing problem. > > Does anybody know whether DOSEmu under Linux would do > the job correctly? I am a LINUX beginner and would only try it > when there is a good chance of success..... > I have a dos application connected to electronic weighing indicator through serial port. The application works flawlessly under dos emu. Just tell dosemu how to map the serial port in the dosemu.conf: $_com1 = "/dev/ttyS0" Good luck!