12-01-2006 12:22 PM
I need to control the output on the parallel port (LPT1) - Both data and control lines. Once the data is written (Pins2-9), I then need to toggle the Sprocket signal (PIN1) - on the parallel port. The sprocket signal is also referred to as the Data Strobe Output.
The required method is as follows:
1. Lower the sprocket signal on PIN1
2. Send the data (Pins2-9) and wait
3. Raise the sprocket signal and wait.
4. Repeat.
I am looking for a method to control the data on LPT1 pins 2-9 and then be able to toggle PIN1 - Strobe signal - without the data falling from the other pins. What I have found is that whenever the state is changed on the strobe - the data that was written to Pin2-9 falls to zero. This will not work for my application - the strobe tells the hardware device that the data is ready. If it falls to zero when I toggle the strobe - that will not work.
Regards,
Guy
12-05-2006
08:51 AM
- last edited on
08-11-2026
08:53 AM
by
Content Cleaner
Hello Guy,
It is possible to use VISA to write data to the parallel port. There is an example program on the web which does just that (the versions listed are older, but they should open with current software).
Hope this helps!
Adam W
Applications Engineering
National Instruments
12-05-2006 09:14 AM