How to control a parallel port with labview

Hi. I'm trying to control a dc motor with a parallel port using labview. the program has to be able to vary the out put voltage of the computer (0 - 5V) through the parallel port into a circuit which will step up the voltage for the motor. Any help would be greatly appreicated. garreth

Do you want to output and varying signal from the parallel port pins? If so you can't do it, the port pins are digital and can only be high or low, not inbetween. You can control the individual lines high or low using the In/Out Port vis in Advanced>>Port I/O. For more help on doing this search the message archives (I know I've answered a few) and NI's site, there is some good info on it out there. Try some of these for starters:
http://zone.ni.com/devzone/conceptd.nsf/2d17d611efb58b22862567a9006ffe76/0989d3d9dafae64e8625680400679736?OpenDocument
http://digital.ni.com/public.nsf/3efedde4322fef19862567740067f3cc/f4146c66990c46388625695f00726581?OpenDocument
http://digital.ni.com/public.nsf/3efedde4322fef19862567740067f3cc/f3c4ee6ee2c23ef386
25646b007882c8?OpenDocument
http://www.advmeas.com/goodies/parallelport.html
I hope this helps get you started
Brian

Similar Messages

  • Is it possible to control the parallel port with Lookout 5.0

    I want a simple demo setup on a PC, so I can control the 8 data bits of the parallel port. Example, to use START p/b that would toggle bit 0 and data returned on bit 1.

    It is possible to send bytes to the parallel port using the ASCII object within Lookout. However, it is presently not possible to control the state of the individual bits on the parallel port with Lookout.
    If you need to control the individual bits on a parallel port, consider using LabVIEW. It is much more powerful when programming serial and parallel ports.

  • 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

  • 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.

  • 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

  • How to access SPECIFIC camera attributes tree (camera controls) located in MAX with Labview?

    How to access specific camera attributes tree (camera controls) located in MAX with Labview?
    I want to be able to access frame, trigger and grab properties. Does anyone know?
    Thanks.
    /Peter

    Please see this related thread http://forums.ni.com/t5/LabVIEW/IMAQdr-Property-Node/m-p/1642950/highlight/false#M590168
    Matt
    Product Owner - NI Community
    National Instruments

  • "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

  • 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

  • Direct Controlling of parallel port

    Hi.
    I need to be able to read/write direct to the parrel port under Solaris. Would I need to write a device driver, or is there one I just can download?.
    In case I need to write the driver, Could somebody please help with following information:
    (I have a working driver, which can read/write to a PCI board memory space - based on pio sample)
    - How to allocate the parallel port
    - How to read / write to the port
    Thanks
    Sarbjit

    If someone has the same problem, I found a lot of things seraching for Java Comm API. Here is the link:
    http://java.sun.com/products/javacomm/index.jsp

  • How can I record a video with LAbview?

    Hi,
    I have a question: How can I record a video with labview?
    I have a camera (AXIS 221) connected via rj45 on PC. I see the video of the camera in a browser.
    And I would to acquire the video in labview.
    Could someone help me?
    Thanks
    Raf

    Unfortunately I haven't any experience with this camera. Iguess, you should install API, then crete new VI, place ActiveX container (palette Container->ActiveX) on the Front Panel, then right mouse click, then choose Insert ActiveX object..., then found you camera object and select it and press OK. Then you probably can see image from the on the front panel. Also probably you will be able to get image data in array (how easy is it - depends from the camera API).
    If you able to see image from camera in the Internet Explorer, then another method - you can put Microsoft Web Browser as ActiveX object, then you should also see the image. Disadvantage of this method - you will be not able to get image data.
    Andrey.

  • How can i control the I2C bus with Labview

    Hi
    How can i control the k8000 from http://www.velleman.be ( I2C bus) with
    Labview.
    all info is welcome.
    [email protected]

    if you are using Linux (and the Linux version of LabVIE W) it should be
    fairly easy to use the lm_sensors ( http://www.netroedge.com/~lm78/ )
    libraries and source code to control a device connected to a PC's I2C bus.
    Go here http://www.netroedge.com/~lm78/hardhack.html to see how to tap into
    the I2C bus of your PC. You may be able to apply info here to roll-your-own
    on a MS Windows 98 / 2000 OS.
    Chris
    "Wouters V" wrote in message
    news:39fff2de$0$4493$[email protected]..
    > Hi
    >
    > How can i control the k8000 from http://www.velleman.be ( I2C bus)
    with
    > Labview.
    > all info is welcome.
    >
    > [email protected]
    >
    >
    >
    >
    >

  • 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

  • How can i control the Tektronix AFG3022 with LabView 7.0

    I am trying to control the Tektronix AFG3022 Function Generator with LabView 7.0. Is there a premade program I can download and use?

    If it is not in 7.0 make new thread and ask nice if someone can convert to labview 7.0.
    Besides which, my opinion is that Express VIs Carthage must be destroyed deleted
    (Sorry no Labview "brag list" so far)

  • How to compile COM 1 data with LabVIEW?

      I have a device connected to my COM 1 port. How do I input data with that into labVIEW? The program that comes with it is really elementary, it only shows me the data that the comes straight from the device, no analysis.  Its like labVIEW and MAX dont recognize the device, but my device manager says its connected and works fine. How do i input that data and compile it with labVIEW?

    Much better
    MAX will not detect instruments connected to a com port. The reason is that there is no standard for serial instruments (unlike GPIB). You should only have your com port listed in MAX. If the instrument is listed in your device manager, then it sounds like the driver you got with the instrument is a little weird. It may be that the driver software has taken control over one of your serial ports. Normally, all you would have to do is use the serial functions on the Instrument I/O palette. However, if the instrument driver has taken control of the com port, you won't be able to do this because the OS will only allow one process access to the port at any one time. You can test this by trying to open a Hyperterminal session to the com port. If you can an error indicating that the port is in use, then that's the driver running in the background. You can uninstall the driver and everything should be okay. You could also try to use the driver as provided. I'm assuming it's a DLL. You could call the functions in the DLL with the LabVIEW Call Library Node function. You will need documentation from the vendor on the DLL in order for this to be done. It's probably simpler, though, just to use the LabVIEW serial functions. You would still need the command set/syntac from the instrument manufacturer in order to communicate with it.

  • How to use Serial/Parallel Port/DAQ card of a PC to run a SPI communication?

    Hi, dear all,
    I am looking for a method to send 10-bit word data to AD8403 Digital Potentiometer from PC’s Serial/Parallel Port or DAQ card.
    Is it possible to implement such a communication with LabVIEW?
    Are thee ready VIs for this application?
    Thank you very much for your kind help!
    Xiaogang
    [email protected]

    There are some vi's that should work for you for the parallel port. However it has been communicated that with windows after 98 it's a little bit more complex...
    I add a llb I downloaded from this forum a while ago that should perfectly fit your need (if you get it to work :-)
    Greetings from Germany
    Henrik
    LV since v3.1
    “ground” is a convenient fantasy
    '˙˙˙˙uıɐƃɐ lɐıp puɐ °06 ǝuoɥd ɹnoʎ uɹnʇ ǝsɐǝld 'ʎɹɐuıƃɐɯı sı pǝlɐıp ǝʌɐɥ noʎ ɹǝqɯnu ǝɥʇ'
    Attachments:
    AD9835 SPI.llb ‏339 KB

Maybe you are looking for

  • Can't open from skydrive in Reader for Android

    I have adocument I needtowork in whileIam travelling. It had tobedownloaded fromanon-linesource and I THINK I had to use Microsoft Explorer to open it nitially. I startedtoworkon it (its a document one had to enter data into in stages). I saved it an

  • Old desktop photo shows on projector!

    I used to have photo #1 as my desktop photo. When I turned on my projector, the desktop photo would project onto the screen. I recently changed my desktop photo in system preferences. (Now I have photo #2 as my desktop) Although my desktop is now pho

  • What reader should I use to read 2007 versions of powerpoint?

    I have 2004 office for mac. What do I need to do to read newer files form microsoft office?

  • Cache questions.

    I have recently had a faulty hard drive replaced in my Imac, and reinstalled a clone off a BBU and have been running of this. Whilst everything appears OK, I am a bit wary (some may say paranoid) since it was cloned from the faulty hard drive. I foun

  • Anybody Know How To Change My Podcast Title Artwork?

    I just need to know which file I need to replace. I have a new logo and would like to display it as my podcast photo.