Windows' interruptions and real-time programs 
Author Message
 Windows' interruptions and real-time programs

I'am writing a real-time acquisition program with Visual C++
under Windows'95.
1) How can I avoid the interruptions generated by W'95?
Can I put for instance my program or at least the critical
section uninterruptible?
2) How should I write my program so that IRQ are handled
at once and not after the 55ms delay of W'95 interruptions?



Sat, 16 Oct 1999 03:00:00 GMT  
 Windows' interruptions and real-time programs

Quote:

> I'am writing a real-time acquisition program with Visual C++
> under Windows'95.
> 1) How can I avoid the interruptions generated by W'95?
> Can I put for instance my program or at least the critical
> section uninterruptible?
> 2) How should I write my program so that IRQ are handled
> at once and not after the 55ms delay of W'95 interruptions?

Patrick,

A number of platitudes come to mind:

You can't make a silk purse out of a sow's ear.
Use the right tool for the job.
Don't send a boy to do a man's work.
As ye sow, so shall ye reap.
You get what you pay for.
Caveat emptor.

Ron Martin
Ann Arbor, MI



Sat, 16 Oct 1999 03:00:00 GMT  
 Windows' interruptions and real-time programs


Quote:
>I'am writing a real-time acquisition program with Visual C++
>under Windows'95.
>1) How can I avoid the interruptions generated by W'95?
>Can I put for instance my program or at least the critical
>section uninterruptible?
>2) How should I write my program so that IRQ are handled
>at once and not after the 55ms delay of W'95 interruptions?

Sorry but Win95 isn't really suitable for a real-time program.  The
solution may be to write your acquisition code as a device driver.  Or get
an acquisition card with a large buffer that will decrease your response
time requirements.

Good luck
-Dango



Sat, 16 Oct 1999 03:00:00 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. ClassMagic Professional -- a toolkit for assembling real-time applications and components for Windows

2. Real Time and Windows

3. Real Time in Windows

4. real time in Windows Application

5. Measuring real time elapsed in a C program.

6. real time sharing of files on DEC by Ada and C programs

7. real time programming using C, DOS extender

8. Real time programming extension s to C (any?)

9. Book on Real Time Programming

10. anybody has written a real timing program??

11. Can't Happen OR /* NOT REACHED */ OR Real Programs Dump Core

12. real-time vs. user-time

 

 
Powered by phpBB® Forum Software