Increasing dos program compatibility

B

Bruce Musgrove

My boss has a dos based Data collection program that collects data through a
propietary board on the computer. The program works under in win2k, but we
have intermittent regular dropouts in the data gathering, as if the dos box
was suspended while win2k did something elese and then came back to the dos
box.

We reinstalled win2k in a basic configuration and no other programs except
our data collection program, and had the same results... SO.... can i
somehow increase the priority of the dos box so win2k will devote all of its
time to this box when we run the program?
 
G

guard

My boss has a dos based Data collection program that collects data through a
propietary board on the computer. The program works under in win2k, but we
have intermittent regular dropouts in the data gathering, as if the dos box
was suspended while win2k did something elese and then came back to the dos
box.

We reinstalled win2k in a basic configuration and no other programs except
our data collection program, and had the same results... SO.... can i
somehow increase the priority of the dos box so win2k will devote all of its
time to this box when we run the program?
You could start the command window with AboveNormal, or even RealTime
priority.

See (http://TheSystemGuard.com/TheGuardBook/CCS-Int/START.htm)

-tsg

/-----------------+---------------+----------------------\
| COMPATIBILITY | CLARITY | SPEED |
| Write code ONCE | Make it clear | THEN...Make it fast! |
\-----------------+---------------+----------------------/
400+ command-line resources using ONLY native NT commands!
(http://TheSystemGuard.com/default.asp#MasterCommandList)
 
M

Matt Hickman

Bruce Musgrove said:
results... SO.... can i
somehow increase the priority of the dos box so win2k will devote all of its
time to this box when we run the program?

You can use start.exe to set priority when initiating the program.
I suggest that you be careful about using "realtime" priority as
it may starve essential OS threads and processes of needed CPU time.

--
Matt Hickman
He was dead--he knew that he was dead; yet for a time he was able to walk
and breathe and see and feel.
Robert A. Heinlein (1907 - 1988)
"The Long Watch" c.1948
 
M

Mike Brown - Process Manager

Bruce Musgrove said:
My boss has a dos based Data collection program that collects data through a
propietary board on the computer. The program works under in win2k, but we
have intermittent regular dropouts in the data gathering, as if the dos box
was suspended while win2k did something elese and then came back to the dos
box.

We reinstalled win2k in a basic configuration and no other programs except
our data collection program, and had the same results... SO.... can i
somehow increase the priority of the dos box so win2k will devote all of its
time to this box when we run the program?

If your program and peripheral both function in DOS, and this is the only
operation the computer performs (which I'm just assuming) then would it not
be easier to simply load DOS on the machine as the operating system?
 
D

David Wang [Msft]

Or, you can keep the W2K machine, buy Virtual PC for Windows, and load DOS
into a Virtual PC VM to natively run the DOS program inside the virtual
machine.

--
//David
IIS
This posting is provided "AS IS" with no warranties, and confers no rights.
//
message My boss has a dos based Data collection program that collects data through a
propietary board on the computer. The program works under in win2k, but we
have intermittent regular dropouts in the data gathering, as if the dos box
was suspended while win2k did something elese and then came back to the dos
box.

We reinstalled win2k in a basic configuration and no other programs except
our data collection program, and had the same results... SO.... can i
somehow increase the priority of the dos box so win2k will devote all of its
time to this box when we run the program?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top