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
678
Helped
39
Reputation
78
Reaction score
8
Trophy points
1,298
Location
Cairo
Activity points
6,417
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
 

jhbbunch

Full Member level 4
Joined
Feb 21, 2006
Messages
199
Helped
17
Reputation
34
Reaction score
3
Trophy points
1,298
Activity points
2,902
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.
 

alitavakol

Member level 2
Joined
Dec 1, 2005
Messages
48
Helped
2
Reputation
4
Reaction score
0
Trophy points
1,286
Location
Iran
Activity points
1,666
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

Top