09-11-2015 04:44 PM
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.
09-14-2015
01:31 PM
- last edited on
06-10-2025
01:16 PM
by
Content Cleaner
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
09-15-2015 03:05 PM
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.
09-15-2015 03:40 PM
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.
09-16-2015 05:00 PM
I am not sure I understand your question. What do you mean by how do you configure it?
09-17-2015 11:16 PM
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
09-21-2015
09:51 AM
- last edited on
06-10-2025
01:16 PM
by
Content Cleaner
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