LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

parallel

Which driver can I use to send commands to the parallel port? I can't find
it anywhere. I've heard that VISA can be used, but what is the learning
curve on that? I just need to send commands to the LPT1 port. Thanks!!!

Charley
0 Kudos
Message 1 of 7
(3,231 Views)
Hallo, charles,

Du meintest am 08.03.00 zum Thema parallel:

> Which driver can I use to send commands to the parallel port?

No driver, but a *.vi.
Do you want to control a printer, or do you want to control the lines of
the printer port?
The latter goal you can reach with the "port-IO"-vi, should be in
"memory".

Viele Gruesse!
Helmut
0 Kudos
Message 2 of 7
(3,230 Views)
Hi Charles

You will find that ASRL::10 is LPT1.

Tim

charles adams wrote:

> Which driver can I use to send commands to the parallel port? I can't find
> it anywhere. I've heard that VISA can be used, but what is the learning
> curve on that? I just need to send commands to the LPT1 port. Thanks!!!
>
> Charley
0 Kudos
Message 3 of 7
(3,230 Views)
> Which driver can I use to send commands to the parallel port? I can't find
> it anywhere. I've heard that VISA can be used, but what is the learning
> curve on that? I just need to send commands to the LPT1 port. Thanks!!!

The other responses mention several important steps, but don't mention that
as far as LV is concerned, the parallel ports are treated the same as serial
I/O. Use the serial VIs to control the port.

Greg McKaskle
0 Kudos
Message 4 of 7
(3,230 Views)
In article <38C99D58.3CA2B2DF@austin.rr.com>,
gmckaskle@austin.rr.com wrote:
> > Which driver can I use to send commands to the parallel port? I
can't find
> > it anywhere. I've heard that VISA can be used, but what is the
learning
> > curve on that? I just need to send commands to the LPT1 port.
Thanks!!!
>
> The other responses mention several important steps, but don't mention
that
> as far as LV is concerned, the parallel ports are treated the same as
serial
> I/O. Use the serial VIs to control the port.
>
> Greg McKaskle
>


I am trying to accomplish the same parallel port communication. I tried
to use the serial I/O vi's but it keeps giving me an error message if I
try to use anything but the COM ports. I tried to read from serial with
the po
rt=10(should be LPT1), I received the same error on two different
computers. It doesn't seem to be able to find LPT1.

Mike


Sent via Deja.com http://www.deja.com/
Before you buy.
0 Kudos
Message 5 of 7
(3,231 Views)
mjcibulk@my-deja.com wrote:

> In article <38C99D58.3CA2B2DF@austin.rr.com>,
>
>
> I am trying to accomplish the same parallel port communication. I tried
> to use the serial I/O vi's but it keeps giving me an error message if I
> try to use anything but the COM ports. I tried to read from serial with
> the port=10(should be LPT1), I received the same error on two different
> computers. It doesn't seem to be able to find LPT1.
>
> Mike
>
> Sent via Deja.com http://www.deja.com/
> Before you buy.

I believe that you must have an entry in the labview.ini file
that states what ports you are using. (Win 9x and NT)
For the parallel port you should have an entry called
labview.serialDevices="com1; com2; ..... \\.\com10"

Check the help file to make
certain this string is correct.
Kevin Kent
0 Kudos
Message 6 of 7
(3,230 Views)
"Kevin B. Kent" wrote:
>
> mjcibulk@my-deja.com wrote:
>
> > In article <38C99D58.3CA2B2DF@austin.rr.com>,
> >
> >
> > I am trying to accomplish the same parallel port communication. I tried
> > to use the serial I/O vi's but it keeps giving me an error message if I
> > try to use anything but the COM ports. I tried to read from serial with
> > the port=10(should be LPT1), I received the same error on two different
> > computers. It doesn't seem to be able to find LPT1.
> >
> > Mike
> >
> > Sent via Deja.com http://www.deja.com/
> > Before you buy.
>
> I believe that you must have an entry in the labview.ini file
> that states what ports you are using. (Win 9x and NT)
> For the parallel port you should have an entry called
> labv
iew.serialDevices="com1; com2; ..... \\.\com10"
>
> Check the help file to make certain this string is correct.
> Kevin Kent
>
> ------------------------------------------------------------------------
> Name: Kevin.Kent.vcf
> Kevin.Kent.vcf Type: VCard (text/x-vcard)
> Encoding: 7bit
> Description: Card for Kevin B. Kent

BTW,

Does anybody managed to control Parallel port vith VISA. Is it even
possible and where is an example? ASRL10::INSTR is very good, but how to
control communication?

Thanks,
--
Sergey Krasnishov
____________________________________
National Instruments Alliance Member
Moscow, Russia
sergey_acs@levsha.ru
0 Kudos
Message 7 of 7
(3,230 Views)