LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

pulse generation on PC parallel port and its maximum frequency

Can i generate pulse pattern on any one out of 8 lines of IEEE1284 using Labview? if yes what is minimum period and duty cycle?

 

Yours sincerely

0 Kudos
Message 1 of 6
(4,935 Views)

From what I read, in ECP mode: ~2mbps, or EPP mode (uses DMA): ~2.5mbps, 50% duty cycle.

0 Kudos
Message 2 of 6
(4,933 Views)

Does some one can tell me how can i use Labview to digital output input at PC parallel port and what is lts maximum data rate?

 

Yours sincerely

 

0 Kudos
Message 3 of 6
(4,907 Views)

Does some one can tell me how can i use Labview to digital output input at PC parallel port and what is lts maximum data rate?

 

Yours sincerely

 

0 Kudos
Message 4 of 6
(4,906 Views)

Yes, NI-VISA supports parallel ports as well as serial ports. If you put a VISA Resource control on your front panel, you should see it in the dropdown box (assuming NI-VISA has detected it).

 

And the max speed you can expect is what I posted previously.

 

Go to LabVIEW Help and search on "Configuring Serial and Parallel Ports with VISA"

  rt
0 Kudos
Message 5 of 6
(4,897 Views)

I doubt you will get up to 2 MBps and whatever you get you will not have any real control about the timing. If you use VISA LabVIEW sends the data to the COMM port driver and that driver outputs it with whatever handshake speed the remote side answers. Also in order to use anything but the old unidirectional printer mode you need to have a device that is intelligent enough to startup in Nibble mode to negotiate the maximum mode it supports. Without any remote device that does the negotiation and handshaking there won't be any EPP, ECP or whatever other bidirectional mode.

 

In unidirectional mode you can expect a few kBps at most and again the speed will be whatever the CPU is able to hammer through the parallel port. If you want to have any control of the speed you need to program the parallel port directly on register level. However that will maxout at 1 or 2 kBps at most and you should not expect any fine grained and steady speed control at that level. Windows is not realtime and trying to control anything reliably in software that is less than several 10ths of milliseconds is simply impossible without going into kernel mode and writing the timing critical parts in a kernel driver.

 

Also direct access to the paralell port registers is out of question for 64 bit Windows.

Rolf Kalbermatter
My Blog
0 Kudos
Message 6 of 6
(4,886 Views)