LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

What is the max bit rate of the parallel port when used in labView

I'm trying to develop SPI communication through parallel port but data coming out is too slow compared to the timing requiremnts of 16.67uS (8 clk cycle). Pls. advice.
0 Kudos
Message 1 of 2
(3,051 Views)
Hi Mr. SPI

I think it will not be possible to create a SPI - Interface direct at LPT with your speed requirements - if I understand your timing right.
In general the clk-speed depends on OS ( Win9x is faster then NT, W2k, XP because of not using accesshw); and the CPU-speed.
Additionally I could speed-up aplications by using PCI-add-on cards instead of LPT on motherboard and creating an .exe-file for NT, W2K....

Find attached a simple vi, that sends Data to LPTx.
This can be used on your machine - take a look with a scope to clk-line and see how fast your PC is.

explanation of scope-picture in Diagram:
the Reference channels R1 + R2 are added in order to
show the different timing for .exe-file, created on
different OS.
Possibilities to overc
ome your problem:
- use a (buffered) I/O - board
- in case you have a Pattern Generator - load Data to
into this flexible machine
- take a MicroController and create an I/O program that
handles the Data-Transfer in your required speed (I
did this with - of course- ATMEL-µC (here the serial
port might be also a good choice)

hope this is not too much........
regards
wha
0 Kudos
Message 2 of 2
(3,051 Views)