* sensor on serial com timing problem under Win > 98
@ 2007-10-23 17:17 Dieter Blaas
[not found] ` <op.t0nvd3nvqw3wu1@titan>
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Dieter Blaas @ 2007-10-23 17:17 UTC (permalink / raw)
To: linux-msdos
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.....
Thanks a lot for hints, Dieter
------------------------------------------------------------------------
Dieter Blaas,
Max F. Perutz Laboratories
Medical University of Vienna,
Inst. Med. Biochem., Vienna Biocenter (VBC),
Dr. Bohr Gasse 9/3,
A-1030 Vienna, Austria,
Tel: 0043 1 4277 61630,
Fax: 0043 1 4277 9616,
e-mail: dieter.blaas@meduniwien.ac.at
------------------------------------------------------------------------
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: sensor on serial com timing problem under Win > 98
[not found] ` <op.t0nvd3nvqw3wu1@titan>
@ 2007-10-24 3:58 ` Dieter Blaas
0 siblings, 0 replies; 4+ messages in thread
From: Dieter Blaas @ 2007-10-24 3:58 UTC (permalink / raw)
To: Andrew Brooks; +Cc: linux-msdos
Thanks, Andrew, the problem is only that I do not have much
experience with Linux and I shall have to start with installing it!
Dieter
On 23 Oct 2007 at 18:40, Andrew Brooks wrote:
Date sent: Tue, 23 Oct 2007 18:40:41 +0100
To: dieter.blaas@univie.ac.at
Subject: Re: sensor on serial com timing problem
under Win > 98
From: "Andrew Brooks" <arb@sat.dundee.ac.uk>
Organization: Dundee Satellite Receiving Station ==
www.sat.dundee.ac.uk
> On Tue, 23 Oct 2007 18:17:24 +0100, Dieter Blaas <dieter.blaas@univie.ac.at> wrote:
> >
> > 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.....
>
> Given the pain you've already gone through (XP/DOSbox/VPC/VMWare)
> I think you should just try it and see!!! What have you got to lose?
> ;-)
>
> Andrew
>
> P.S. I've had reasonably good success with serial ports in dosemu.
>
------------------------------------------------------------------------
Dieter Blaas,
Max F. Perutz Laboratories
Medical University of Vienna,
Inst. Med. Biochem., Vienna Biocenter (VBC),
Dr. Bohr Gasse 9/3,
A-1030 Vienna, Austria,
Tel: 0043 1 4277 61630,
Fax: 0043 1 4277 9616,
e-mail: dieter.blaas@meduniwien.ac.at
------------------------------------------------------------------------
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: sensor on serial com timing problem under Win > 98
2007-10-23 17:17 sensor on serial com timing problem under Win > 98 Dieter Blaas
[not found] ` <op.t0nvd3nvqw3wu1@titan>
@ 2007-10-24 5:03 ` Andris Pavenis
2007-10-25 1:52 ` bambang
2 siblings, 0 replies; 4+ messages in thread
From: Andris Pavenis @ 2007-10-24 5:03 UTC (permalink / raw)
To: dieter.blaas; +Cc: linux-msdos
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?
It perhaps depends how fast meteo sensors are sending data to PC. As
faster it does as less probable it is, that it will work properly in
operating system running in virtual machine.
Additionally it also depends how the serial port reading is being done.
If using BIOS calls directly then You may perhaps be out of lack. If it
is interrupt based, then it may possibly work in DOSEMU, but I don't
really know.
I would recommend using Linux directly if possible.
> I am a LINUX beginner and would only try it
> when there is a good chance of success.....
So perhaps it is good time to begin to learn.
Andris
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: sensor on serial com timing problem under Win > 98
2007-10-23 17:17 sensor on serial com timing problem under Win > 98 Dieter Blaas
[not found] ` <op.t0nvd3nvqw3wu1@titan>
2007-10-24 5:03 ` Andris Pavenis
@ 2007-10-25 1:52 ` bambang
2 siblings, 0 replies; 4+ messages in thread
From: bambang @ 2007-10-25 1:52 UTC (permalink / raw)
To: linux-msdos
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!
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2007-10-25 1:52 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-10-23 17:17 sensor on serial com timing problem under Win > 98 Dieter Blaas
[not found] ` <op.t0nvd3nvqw3wu1@titan>
2007-10-24 3:58 ` Dieter Blaas
2007-10-24 5:03 ` Andris Pavenis
2007-10-25 1:52 ` bambang
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox