Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Real time ports under windows

Status
Not open for further replies.

alzomor

Advanced Member level 2
Joined
Jun 9, 2005
Messages
674
Helped
39
Reputation
78
Reaction score
8
Trophy points
1,298
Location
Germany
Activity points
6,406
Hi

Is it possible to use any of the PC ports (serial , Parallel or USB) to send data in gurenteed time frame under Windows OS?

Salam
Hossam Alzomor
www.i-g.org
 

No. Windows is a preemptive multitasking enviroment. Your program can be preempted at anytime. Intensive Hard Drive accesses - reads and writes - can cause your program to be held off the processor for 10's of milliseconds. Realtime control, like motion control is always done with dedicated boards.. That being said, I've run steppers with good accuracy off of the parallel port. If your needs aren't critical, port control with Windows may suffice, but if you need microsecond accuracy, you need dedicated hardware.
 

some usb chips like cypress and ftdi ones support isochronous and interrupt transfers. Isochronous transfer has accurate timing, and windows accepts timing concepts related to this type of transfer. Interrupt transfer has a maximum latency.

but ftdi didn't supply isochronous device driver, and you should write it yourself (a very confusing and time consuming task).
cypress supplies this and many books and tutorials on usb also work with cypress chips.
 

    alzomor

    Points: 2
    Helpful Answer Positive Rating
Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top