Parallel port / NT 4.0 / Labview 5.0

How can I control the parallel port i/o pins with labview 5.0 and NT 4.0 ?
The sub.vi "out.port" doesn't work.
Thanks for any advice
Andreas

I use a DLL that was written in CVI to control the parallel port. CVI
drivers for Inport and out port will work under windows NT. This is not a
fast solution but it does work.
Also a long time ago (In a galaxy far far away) there was a canned Import
and outport DLL that worked with LabVIEW under Windows NT on Nationals
Instruments web site. If you cannot find it, I could email you the dll I
wrote but it is designed to work with EPP printer ports.
From John Harmon
Web Page: www.bright.net\~harmonj
Email: [email protected]
Land Line: 330-848-0460
Pager: 330-490-0091
==========================================
Andreas Balzer wrote in message
news:[email protected]..
> How can I control the parallel port i/o pins with labview 5.0 a
nd NT 4.0 ?
> The sub.vi "out.port" doesn't work.
>
> Thanks for any advice
> Andreas
>
>
>

Similar Messages

  • Parallel port read with a CIN

    I need to read the status of a pin of the parallel port from within a Labview CIN.
    I intend to use this as a trigger for multiple camera acquisitions, and going back to Labview to read this value would not be fast enough.
    I know that under windows XP I need to "unlock" access to this port. I used a set of functions called "winio" to do this. This works fine from a regular C program, but won't work from within a CIN. Does Labview lock the use of the parallel port in any way?
    Does anyone know what I should do ?
    Thanks.

    Tchill wrote:
    Does Labview lock the use of the parallel port in any way?
    Does anyone know what I should do ?
    Thanks.
    Hi Tchill,
    I can't remember Win-XP causing trouble with the parallel port. But I do know about the security feature which does not allow to change the parallel port IO addressing (that's another topic )
    If you are running LV7.0, you can do a search example on parallel port. There are a couple of very useful vi's that you can run right away and it should get you going.
    You can also check this thread.
    or more directly into the developer zone for a tutorial by clicking HERE.
    JLV

  • Using parallel port

    Hi, i will use labview for my thesis project and i plan to input my data via parallel port.
    My input data is 8 bits so i tried to use control and status lines of the parallel port.
    I used the method that is described at NI`s developer zone web page which shows using control and status lines.
    http://zone.ni.com/devzone/conceptd.nsf/webmain/72​c6fc6ce4ad4d1386256b1800794596?OpenDocument
    By using that method i achieved to input first 4 bits of my data over status lines while there were no change at those of control lines.
    Because my data that i want to input consists of 8 bits, i could only be able to manage half of it.
    what can i do for using control lines?
    Or as a second alternative, is there any way to input 8 bits over data register?
    Below i have attached the code that i had written to input by using control and status registers.
    Attachments:
    can1.vi ‏30 KB

    Well, I looked at your VI and it looks like you have everything setup right. The only thing I can think of is that you are not grounding the control lines when you want to set them low.
    As far as your second question is concerned some parallel ports can be bidirectional. The article that you provided explains how you can test if you parallel port is bidirectional, and gives an example on how you would read and write from the data bits.
    Also, you may want to try the two parallel port shipping examples in LabVIEW. There is one that uses the data bits, and one that uses the status and control registers. You can find these examples by going to Help>>Find Examples, then search for Parallel.
    Shawn B.
    National Instruments
    Use NI products on Linux? Come join the NI Linux Users Community

  • How can I write to the parallel port using LabVIEW 6.0.2

    I have tried updating the labview.ini file and also using the parallel.llb available on the site. When I execute the program it gives me error 37 saying,"device not found". I am running this code on windows 98. I tried to use VISA write,serial port write (using port 10) but nothing seems to work. I also tried to develop a sample code using inPort and outPort, but no success, it is not able to read the data back from the parallel port, even if it seems (????i don't know any way to cross-check it though????) to write.
    Does anybody know the problem here?
    THanks.
    Pari.

    Thanks Brian.
    Well here is the next problem. I got a VI (attatched) off ni.com and it works fine on a windows98 platform. But quits working on NT.
    I can write perfectly (which i checked by hooking an LED display unit at the other end of the parallel port cable). I observed that the LEDs respond to the toggling of individual bits (data bits). But the error occures at the "out port.vi", when I try to run it on a NT machine (where I actually wanna use it). Are you aware of any changes to be made in order to run a VI on NT that works on 98?
    Thanks again.
    Pari.
    Attachments:
    parallelPortSwitcher.vi ‏124 KB

  • Parallel port adapter in labview

    I have usb to parallel port adapter . After plug it into my laptop some drivers installed automatically and it is detected in device manager as "parallel port printing support" under "universl serial bus controller".
    I know how to write data to serial port using visa write funtion but, i dont know how to access this adapter from labview 2010
    i am using windows 7.
    Can anyone help me in this regards.
    Thank you

    Please stick to the original post. Thanks.

  • How to use the Control lines of a parallel port as Input lines to be read using Labview ?

    The details are :
    NI Software : LabVIEW
    Version : 5.0
    OS : Windows 95
    NI Hardware : N/A
    Drivers : N/A
    CPU : Pentium
    RAM : 48
    Vendor : darcom
    Customer Information :
    SPEL TESTING
    SPEL, INDIA
    [email protected]
    Ph: (91) 4114 53818
    We do not have any DAQ cards within the PC. We have the parallel port which is EPP and ECP compatible having the address 278h on LPT2 and we are trying use this port for reading 8bit data from an external circuit. We developed a vi program in Labview 5.0 to control the parallel port.We tried with the Data lines to send signals from PC to external device through this parallel port with the addr
    ess 278h (which
    is Data lines) and it works fine. We also tried using reading 4bit data from external
    device to PC through this port with the address 279h (which is Status lines) and it
    is also working fine.
    But it was not possible for us to read through Control lines whose address is 27Ah. Whereas when line printer (dot matrix printer) was
    connected, it was possible for us to take print out. Thus printer was working. This
    informed us that the control lines are all OK!
    Can you please clarify, how to use both control lines and status lines to read 8 bit data through this parallel port using the Labview software.

    There are several Knowledge Base entries about this on the NI site, but probably the most detailed document is on the Advanced Measurements (www.advmeas.com) website. Try looking at this page, I think you will find it useful.
    http://www.advmeas.com/goodies/parallelport.html

  • "how to read parallel port using labview"

    "i am doing a bio medical project and need to read data from parallel port using labview. can anyone help me"

    Hi
    in most cases a simple example helps best.......see attachment. Find in addition in Word document a helpful picture of LPT - Pins.
    In case you work with WinNT, W2k, XP - you need to install accesshw.
    Regards
    Werner
    Attachments:
    printer_port_test.zip ‏41 KB
    dsub_25_parallel_port.doc ‏29 KB

  • Parallel port updating with labview

    I have a project to do that I will need to control using the parallel port. The problem is that I will need to use more than one pin at a time. An example is, when I press button 1, data pin1 and data pin3 will send a signal, and when I press button 2, data pin2 and data pin4 will send s signal and data pin1 and 3 will stop.
    I tried doing that but stopped at the programming stage.
    I have attached the file I've just did, and I would be most grateful if you kindly pointed me on how to configure this problem.
    note: am using win2000 and the parallel port is working fine and i've tried controlling things with it, to make the question more obvious, how could i control the 8 pins and update them as i like. i've read some articles
    and answers but didn't understand well since am new to labview
    Best regards,
    Attachments:
    semifinaltest.vi ‏39 KB

    Hi,
    find your vi with working parallel port (values should change). You have made a mistake - do not toggle byte/word, the paraport does not support 16bit. In addition I have attached a radio-button selection-vi; this should give an idea, how to select one of xx buttons; maybe the event structure could do the same job for your case. Unfortunately I don't have the time to deliver a complete solution for you....
    Hope this helps already. If you have further questions about paraport - mail simply to my .web-address
    You will find it by double-clicking on wha@atmel
    regards
    wha
    Attachments:
    semifinaltest.llb ‏46 KB
    Simulating_Radio_Buttons.llb ‏47 KB

  • Controlling XY stage connected to parallel port using labview

    Hi,
    I have a XY stage which I can control using mach3 software. I want to control a signal generator, VNA and the XY stage at the same time. I have programmed SG and VNA using Labview but I am having difficulties controlling XY stage using Labview. I have never controlled an instrument connected through parallel port using labview.
    Can anybody give me some ideas to start with? How do I use VISA to control the parallel port? I really appreciate your help. Thank you in advance.

    Hi srms,
    Since your question is related to using VISA, I would try posting your question on the Instrument Control Board. You're likely to have better luck there.

  • Reading/writing to parallel port LabVIEW 7.0 Win2000

    I'm using LabVIEW 7.0 on a Windows 2000 machine which also has the CVI runtime engine version 6.0.4.105.
    I wish to write to the parallel port, simply on/off signal to eight lines. I have previously done this with LabVIEW 5+Win98. I have downloaded the accessHW libraries and installed them but have discovered that I also need the CVI rte version 5.0 . When IT personnel try to install this run time engine "A newer version of this run time engine is currently installed"
    appears and won't install version 5 over version 6. Has anyone else come up against this and is there a way around this (without having to install an older version of LabVIEW)?

    Leeser wrote:
    > I'm using LabVIEW 7.0 on a Windows 2000 machine which also has the CVI
    > runtime engine version 6.0.4.105.
    > I wish to write to the parallel port, simply on/off signal to eight
    > lines. I have previously done this with LabVIEW 5+Win98. I have
    > downloaded the accessHW libraries and installed them but have
    > discovered that I also need the CVI rte version 5.0 . When IT
    > personnel try to install this run time engine "A newer version of this
    > run time engine is currently installed"
    > appears and won't install version 5 over version 6. Has anyone else
    > come up against this and is there a way around this (without having to
    > install an older version of LabVIEW)?
    You could also use the PortIO library from the OpenG project
    http://www.openg.org.
    It is currently only in the CVS source code
    repository on that site and not yet part of the OpenG Toolkit. Because
    it is not everybodys thing to use CVS I include that library as
    attachement here.
    I tested it myself on Win95, NT4, 2000 and XP and had no problems at all
    with it. But please consider it beta software and if you have problems
    let me know with as much details as possible.
    Rolf Kalbermatter
    Rolf Kalbermatter
    CIT Engineering Netherlands
    a division of Test & Measurement Solutions
    Attachments:
    portio.zip ‏195 KB

  • How can I do to communicate to parallel port using labview 5.0 and NT ?

    I am trying to write and read from parallel port using Labview 5.0. It does not work with NT.
    How can I do to communicate to parallel port using labview 5.0 and NT ?
    Thank you in advance.
    Regards,

    If you are trying to use In/Out port functions that come with LabVIEW they will not work with NT. I think the AccessHW file at the following link will fix that problem:
    http://zone.ni.com/devzone/explprog.nsf/6c163603265406328625682a006ed37d/49664743ded6f1da862564bc004e3a7f?OpenDocument
    Try also this link:
    http://zone.ni.com/devzone/conceptd.nsf/2d17d611efb58b22862567a9006ffe76/0989d3d9dafae64e8625680400679736?OpenDocument
    and do some searchs at NI.com for parallel port, you should find some more usefull info.
    Good luck
    Brian

  • I want to write data into eeprom(93LC86) in parallel port using labview?

    I want to write data into eeprom(93LC86) in parallel port using labview? Also I want to read data from EEprom.

    Hi Mr. Mz,
    after having a look to 93LC86-Datasheet I do not see a problem. The self-timing programming cycle of this Chip avoids timing problems; the rest is only logical stuff.
    If you need more general info, how to use the parallel port, I recommend: http://[email protected]/ or
    in case you need an example of SPI-Interface in LabVIEW with paraport - then write to: [email protected]
    You are welcome
    regards
    wha

  • Labview cant see parallel port

    We have this old computer in the lab and when I tried to test a new program
    on it I found that labview cannot seem to see the serial port. The port
    works fine in hyperterminal, but in labview the serial control which usually
    has a dropdown box to choose com1, com2, etc, now cannot dropdown.
    Measurement and Automation also does not list serial and parallel ports
    after a refreshview. The computer has both 6.02 and 6.1 installed on it, so
    I suspect that maybe I need to uninstall and reinstall but I hate to go
    through all that trouble if it's something simple. Has anyone seen this
    kind of thing before?

    Hi Adam,
    You can have both Labview 6.0.2 and 6.1 on the same machine without problems. But you should have only one version of the drivers on the machine. You may have multiple versions of the drivers since the basic drivers get installed with labview. You can uninstall the old drivers by going to add/remove programs. Choose the older labview version (6.0.2 in this case)and hit change. Select Modify on the next window, on the drivers section in the next window right click on drivers and select 'Do not Install this feature'.
    This should leave you with only one version of labview installed drivers. Also look into add/remove programs for multiple versions of Measurement and Automation Explorer (MAX)and NI-VISA.
    You must have VISA 2.5 (or higher) for this. MAX needs
    the NI-VISA driver in order to access the COM ports on your system. Without NI-VISA installed, you will be unable to access or create serial, GPIB-VXI, or TCP/IP interfaces.
    Note: Though you mention parallel port in the title, since you refer to COM1, COM2 i guess you are refering to serial ports.
    Hope this helps,
    Pravin

  • Aquerir from parallel port with labview

    I want to aquerir digital data from parallel port of the PC then representing them on a graph with labview.
    How can i do that ?
       finaly thnx.

    You can use the port in and port out VIs found in the Advanced>Port I/O palette.  For an example check out 'Parallel Port Read and Write Loop.vi'.
    Using LabVIEW: 7.1.1, 8.5.1 & 2013

  • PICO DrDAQ USB Parallel Port setting for labview 8.2

    Hi,
    I have a PICO DrDAQ card (parallel port) and by using USB Parallel Port  (USB)connect to the laptop, and i already install this software. I can run DrDAQ with PicoScope(DrDAQ software) and can produce a result, but when i try to run it in LabVIEW 8.2 there's no result generated from it. Furthermore, i had check through the device manager (in My Computer=>System Properties) and prompt to see the Pico parallel port within the USB controllers. Therefore, i would like to know is there any setting i need to perform so that the problem can be solve.
    Thanks.

    Hi,
    Thanks for your reply. Ya before the driver installed, i specify the USB port for this device to used on and after that i set it to port 101 (for USB) in the LabVIEW.
    and the programming is on the attach file.
    thanks.
    Attachments:
    DrDAQ.vi ‏32 KB

Maybe you are looking for

  • Web Start beginner - Web Start front end to existing web app?

    Hi all, I'm new to Web Start, though have been hearing about it for some time. Even after reading the documentation, I have some basic questions about it. Specifically, is it possible to invoke business methods via something like a Struts ActionServl

  • How can I have 2 icloud accounts on one computer?

    My wife and I both have Iphones and only one computer.  We were curious if it is possible to setup up two icloud accounts on the one computer?  This would be so we can have the photostream setup up on the computer so we don't always have to sign in a

  • Forms not Opening

    I am having a sudden issue with Adobe Form Central. The application opens but as soon as i Click on one of the forms it loads and then freezes without opening the form. What could cause this?

  • Running matlab mfile in labview 8.2

    Hi i am working in a project using basically labview 8.2 and i wrote a program in matlab R2008(m file)and i want to run this file in my labview program; i also load this program into mathscript window but it didn't work because the m file contains ma

  • Procedure for XI Development

    Hi Experts, I am just fresher/learned for XI3.0 and have 2 yrs. experience on Java Technologies including ABAP knowledge. Could you pls. explain me like... 1) How the Functional/Technical Specification looks like.. and after we receive Technical Spec