LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

how can use parallel port as an input channel?

The document "Using the parallel port as an input/output Channel" just talking about how to do output.
0 Kudos
Message 1 of 4
(3,463 Views)
> The document "Using the parallel port as an input/output Channel" just
> talking about how to do output.
I's been a lifetime ago, but IIRC the parallel port is very limited in what it can do as an input
channel. You are better off using the serial port for that.
--
Guillaume Dargaud
http://www.gdargaud.net/
"A celibate clergy is an especially good idea as it eliminates any genetic tendencies towards
fanaticism." - Carl Sagan.
0 Kudos
Message 2 of 4
(3,463 Views)
I think a good resource for using the parallel port in new and interesting ways is Jan Axelson's Parallel Port Central.

Or even his book ("Parallel Port Complete").

Martin.
--
Martin
Certified CVI Developer
0 Kudos
Message 3 of 4
(3,463 Views)
Hi,

In addition to the above resources, here is a link that talks about using inp and outp functions in CVI to communicate with parallel port devices LINK. Another option is to use VISA commands. You should be able to set up your printer port and specify a resource name for your printer port in Measurement and Automation Explorer (MAX). Also, a tidbit of information that you may find when browsing through those parallel port resources is that I believe these ports are set up to have 8 output lines and only 5 input lines. These input lines however, are generally used as status lines, but you can still use those for norm
al input lines.

Jeremy L.
National Instruments
Jeremy L.
National Instruments
0 Kudos
Message 4 of 4
(3,463 Views)