Industrial Communications

cancel
Showing results for 
Search instead for 
Did you mean: 

using VISA Open Test Panel to talk with EPP Printer port

I have a custom device that connects to my PC LPT1 port.

My PC is running WIN7/32 bit, Labview 2012 and NI-VISA 15.

MAX finds this LPT1 and assigns it ASRL::10 INSTR"LPT1".

When I Open VISA Test Panel, it offers serial settings, not parallel port.

I created some test VIs that use VISA to comunicate to the LPT1 port. 

I use bitwise booleans to set the data and control lines. 

When they run, they find the ASRL::10 and open a VISA session.

The VISA Open returns a timeout error.

An example on how to communicate with the LPT1 port would help.

All suggestions are welcome.

 

 

 

0 Kudos
Message 1 of 7
(5,586 Views)

I would try this example: https://forums.ni.com/t5/Example-Code/Using-VISA-to-Access-the-Parallel-Port-in-LabVIEW/ta-p/3996020 on how to write to a parallel port using VISA

0 Kudos
Message 2 of 7
(5,562 Views)

Thanks for your reply.

I working with Access_Parallel_Port_with_VISA.llb  to see if I can make this work in my Labview application.

This question is about configuring VISA for the parallel port.

The attached screenshots show the VISA Test panel with serial options not parallel.

This VISA panel should allow me to test my parallel output lines.

Any suggestions on this manual approach are welcome.

 

 

 

Download All
0 Kudos
Message 3 of 7
(5,550 Views)

The Access_Parallel_Port_with_VISA.llb  seems to work when I check the outputs with a DMM.

The VISA Test panel should do the same but how to configure it is my question.

Thanks in advance for your help.

 

0 Kudos
Message 4 of 7
(5,547 Views)

I am not sure I understand your question. What do you mean by how do you configure it?

0 Kudos
Message 5 of 7
(5,535 Views)

Please give this a try and see what you get.

open NI-MAX.

look at the INST to find if you have LPT1

if so, click on it and try to open the VISA test panel ( its on the top banner).

Look at the screenshot I posted to this thread.

The VISA test panel shows serial options, not parallel port parameters.

Please post up your findings.

Thanks,

Don

 

0 Kudos
Message 6 of 7
(5,521 Views)

Hi donmoore,

 

Have you seen this article:

 

http://digital.ni.com/public.nsf/allkb/31DC65938A666A9A86256F56005B2624 

 

It may be helpful; please let me know if you need further assistance.

 

Thanks,

 

KingPGeorge

0 Kudos
Message 7 of 7
(5,476 Views)