LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How do I generate custom-made signals (impulses) from the parallel port

I am trying to generate some simple pulses to drive an external device. I am sure this is simple, but I'm not sure how to do it in LabView. I need to generate to TTL-level (2.4 - 5v) pulses that are spaced 500ms apart and occur every 34 seconds (that's the period).

Any suggestions?
0 Kudos
Message 1 of 2
(2,569 Views)
ilogix-

The easiest way to write to the serial port in LabVIEW is with the Port Out.vi. You can find the help info here. You can find the address of the parallel port in the properties (located in Control Panel>>System>>Hardware Tab>>Device Manager) under the Resources tab. IT is the first number in the I/O range property (usually 0378).

This is a digital line and the parallel port is written as a byte so your labVIEW program will need to write a byte, delay and write another byte to get a "waveform".

Xaq
0 Kudos
Message 2 of 2
(2,542 Views)