LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Access to Hardware

Is there a way to access parallel/serial ports of the computer through
labview? An example will be very helpful.. Thanks

Regards,
tj
0 Kudos
Message 1 of 3
(2,467 Views)
There several examples on using the serial ports with LabVIEW using serial
and VISA functions. Just search examples/IO interfaces/serial communication.
The examples are quite easy to use. The functions for talking to the parallel
port can be found in the Function Palette>>Advanced>>Port I/O. They are called
InPort and OutPort, they basically read/write to the data register of the
parallel port. The location of this register can be found in the Windows
device manager under lpt port resources.

"TJ" wrote:
>Is there a way to access parallel/serial ports of the computer through>labview?
An example will be very helpful.. Thanks>>Regards,>tj>>
0 Kudos
Message 2 of 3
(2,467 Views)
Is it OS dependent? I'm running win2k box with labview5 and am getting
error
"Capability not supported
VI 'untitled 2' was stopped at node 0x1D8 of subVI 'In Port.vi'"


"jason" wrote in message
news:39f74878@newsgroups.ni.com...
>
> There several examples on using the serial ports with LabVIEW using serial
> and VISA functions. Just search examples/IO interfaces/serial
communication.
> The examples are quite easy to use. The functions for talking to the
parallel
> port can be found in the Function Palette>>Advanced>>Port I/O. They are
called
> InPort and OutPort, they basically read/write to the data register of the
> parallel port. The location of this register can be found in the Windows
> device manager under lpt port resources.
>
> "TJ"
yt@hotmail.com> wrote:
> >Is there a way to access parallel/serial ports of the computer
through>labview?
> An example will be very helpful.. Thanks>>Regards,>tj>>
0 Kudos
Message 3 of 3
(2,467 Views)