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.

Similar Messages

  • Is it possible to use the parallel port to control a stepper motor (compumotor s6-drive)?

    I'm using a compumotor S6 drive and I was wondering if I could somehow use Labview to program the parallel port to send the required step and forward backward signal to the controller and motor. All I need it to do is go back and forth at a user defined rate. Considering I know very little about Labview this is a daunting task indeed.

    Hello Tiano!
    I found an example on the www.ni.com website named "Reading from the Bi-directional Parallel Port."
    Here is the link: http://sine.ni.com/apps/we/niepd_web_display.DISPLAY_EPD4?p_guid=B123AE0CBA4C111EE034080020E74861&p_node=DZ52058&p_submitted=N&p_rank=&p_answer=&p_source=External
    Hope this and the other documents help you along your way!
    BB_Phil

  • 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

  • Parallel port use Lookout

    Does anybody know how to read/write through the parallel port with Lookout 5.0? Is there any example code for this?

    Hi,
    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.
    Remzi A.
    National Instruments

  • Writing a String to the Parallel Port

    I am a new user of Labview and have very little experience. I am trying
    to write an arbitrary string (that I can input) to the parallel port.
    Basically, I need to communicate with a device that connects to it and
    will accept commands as plain strings. I have read the article "using
    the parallel port with labview" but it hasn't helped me as I am so
    inexperienced. I was hoping that someone could help to learn how to do
    this and if there's a vi that already does this. It seems like a simple
    enough task. Thanks.

    Rather than simply present an answer from which you will learn little, I will try and out line what it is that you should investigate......
    First have a look at a string control
    You might want a button and a case structure to tell the code when to start decoding the string
    Put the following code inside the case structure say on the true state
    Then, taking data from this string control get the strings length
    Then using this and a loop index through the string using the string subset VI on the string pallette, use the length of 1 and index the position in the loop
    Now figure out how to convert the character to an ASCII value
    Send this to the parallel port
    This should be a reasonable frame work to empower you to learn for yourself.
    "Give a man a fish and you feed him for a day, teach a man to fish and you feed him for life", enjoy the free meals!
    Message Edité par Conseils le 07-13-2006 09:17 PM

  • How can i us the parallel port of the printer to control a frequenz-generator?

    Hello all !
    I like to  control with LabVIEW 8 student-version, the Frequenz-generator gadget . For this challenge i like to us the parallel port of the printer. I need for data flow only 2 cable. The frequenz-generator gadget need two signal : Low and High.How  can i  us the parallel port of the printer to control a frequenz-generator gadget? I have us  the VIs-Visa  (Visa-Serial, write, Close ), but i dont no what command i have to write on the Visa-Write so that the Signal can be in the low or high position.
    Thanks

    Hi Jeanjac,
    first, look here:
    http://en.wikipedia.org/wiki/Parallel_port
    to get the port numbering. also, be sure not to leave pin unconected, sometimes you might get an error message otherwise (i remember pin11 has to be always connected or so for windows...)
    second, just run the test panel in MAX and write something to your device to check if it works.
    then in LV, you have to decide to which pin is connected your instrument. in any case you have to address all 8 output pins together! this is a parallel...
    if you prefere to use only one pin, then you can use the serial port, with just pin 2 and 3 connected. it would work easier for you, since you address only one bit.
    Gabriel
    ... And here's where I keep assorted lengths of wires...

  • Controlling pins on the parallel port

    Hey
    I'm writing a program in  labview to controll a matrix card with labview. For that I'll use the parallel port. On  the datasheet it says  that only one off the pins shall send data serial into the card, and others are pins for update. clk etc.
    So I need help on how to configure the parallel port to  send different  things to the dedicated pins.
    jonas

    Hi Jonas,
    your task is a typical  SPI - communication ( like it is used for many chips - A/D  or D/A- converters; µC's etc. )
    Find attached a SPI-example-program (LV7.1.1), ( 16 Bit in this case )  - there you will see the mechanism, how to
    serialize Data @ LPT - Port and how a clock and /CS signals are added.
    I think with all my comments inside the Diagram you should understand, how it works.
    Switch the yellow light bulb "ON" and step through the program in Debug mode - every single clock and
    Data change can be observed  .............. or use a scope in "loop mode".
    If there are still open questions - let me know.
    Regards
    Werner
    P.S. Next time you should first simply type "parallel port" or "SPI"  in search line.... on this forum you will
    find a lot of threads about this issue........
    Attachments:
    project xx SPI.zip ‏92 KB

  • Could you help me to control a DC motor with the parallel port and windows 2000?

    I have labview 5.1 and i want to control my application throught the internet

    I would recommend upgrading to LabVIEW 7.0 for a couple of reasons. First, LabVIEW 6.1 introduced remote front panels which allows you to control a VI through a web browser. Setting up remote front panels is very simple and that alone is worth the upgrade. As far a using the parallel port you can use VISA to send/receive commands via the parellel port if you are using a motor controller with a parellel interface. If you are talking about using the port on a bit level to control the motor, LabVIEW 7.0 ships which an example of how to do basic digital input output with the parallel port.
    Regards,
    JR A.
    Application Engineer
    National Instruments

  • How do I use the time capsule to share itunes music between multiple apple devices? Also, is it possible to control the music on one device using another, and how do you set this up?

    How do I use the time capsule to share itunes music between multiple apple devices? Also, is it possible to control the music on one device using another, and how do you set this up?

    unless i'm missing something, i think you got mixed up, this is easy google for walk throughs
    i'm assuming this is the new 3tb tc AC or 'tower' shape, if so, its wifi will run circles around your at&t device
    unplug the at&t box for a minute and plug it back in
    factory reset your tc - unplug it, hold down reset and keep holding while you plug it back in - only release reset when amber light flashes in 10-20s
    connect the tc to your at&t box via eth in the wan port, wait 1 minute, open airport utility look in 'other wifi devices' to setup the tc
    create a new wifi network (give it a different name than your at&t one) and put the tc in bridge mode (it may do this automatically for you, but you should double check) under the 'network' tab
    login to your at&t router and disable wifi on it
    add new clients to the new wifi network, and point your Macs to the time machine for backups

  • Is it possible to choose the serial port if only the run time engine is installed

    I have an application, which communicates over the serial port. When I use the full version of Labview I can change the serial port without any problem from Com1 to Com2 (similar to the example “Hardeware input output -> serial -> Labview serial vi"). When I build an application and try to run this program on a computer where only the run time engine 6.1 is installed, it is not possible to choose the serial port. Since there is no “Measurement and Automation Explorer” available on the run time engine and no directory C:\VXIpnp is created, when the run time engine is installed, I do not see a way, how I can satisfy the computer with the information it needs for configuring
    the different ports. Any suggestions?

    Hi Daniel,
    Before LV6.1 there was LV5.1 In LV5.1 the way to Spedify a resource was to use a string control with correct VIsa Resource Class identifier. For eg. "GPIB0::11" or "ASRL1::INSTR". With Introduction of VISA Resource Name Control and linking with MAX, These names are Available from Pull Down List and Can be Aliased, meaning ASRL1 which is Serial Port 1 can be called COM1 and so on. However the old method still works with all 6.1 Controls. Only thing is you have to make sure you Dont Conflict the Class Names ie Use "GPIB::.." instead of "ASRL..." when addressing Serial Port VI's.
    To solve your Problem I would Build a Menu ring with COM1 to COM4 in the Pull Down List.
    Next, If I use the Traditonal Serial Port VI wich accepts the Integer as Seria
    l Port #. I just Wire the Menu Ring to this VI.(Remember COM1 is 0, COM2 is 1 for this VI)
    If I use VISA Config Serial Post. I build an Array Constant with Corresponding VISA Class Names So in our case a String Array Constant of 4 elements "ASRL1::INST" to "ASRL4::INST". I Use Index Array Function With the Index Wired to my Menu Ring. The Array Input Terminal Wired to the Array Constant. The Output of this Array will be correct Visa Class Name Based on slection of my Menu Ring. I can Wire this as Input to my VISA Config Serial Port Vi.
    I have attached a Small VI to Illustrate this.
    Drawback: You must Predefine what Ports you will Want to Use. Basically you define all the cases.
    I hope this Answers your Q!
    Good Luck
    Mache
    Good Luck!
    Mache
    Attachments:
    Serial_Port_Select.vi ‏36 KB

  • Why does this loop used to write values to the parallel port keep going forever?

    Have a look at this VI guys. I'm trying to send a sequence of bits (used to trigger an IC). I'm interested in the last bit of the data port (D0). so I'm sending either 0 or 1 to that pin to trigger the IC. it works, but the problem is that the loop keeps going forever and i cant control it. if i send 3 to the loop count, I'm expecting to get: 1 0 1 0 1 0, but it doesnt stop and keeps going forever.
    It seems that the problem is not with the loop. because i deleted the loop and just left the flat sequence so that it executes only once, but still it keeps repeating. How can i make the flat sequence execute only once?
    I'm using a parallel port monitor (parmon.exe) and a LED connected to D0 of the parallel port to check.
    If anybody has an alternative or better method to send the bits to the parallel port, I'd be very thankful.Message Edited by krayzie on 05-14-2005 04:33 PM
    Attachments:
    pport.vi ‏24 KB

    It works just fine here. Place an indicator to the iteration terminal [i] to watch how things progress. Do the number ever increase above N-1 to what you wire to N? I don't think so!
    Also make sure you don't run the VI with the "Continuous run" button. In this case the VI would immediately restart whenever it is finished. use the "Run" button.
    LabVIEW Champion . Do more with less code and in less time .

  • How do I generate custom-made signals (impulses) from the parallel port

    I am trying to generate some simple pulses to drive an external device. I am sure this is simple, but I'm not sure how to do it in LabView. I need to generate to TTL-level (2.4 - 5v) pulses that are spaced 500ms apart and occur every 34 seconds (that's the period).
    Any suggestions?

    ilogix-
    The easiest way to write to the serial port in LabVIEW is with the Port Out.vi. You can find the help info here. You can find the address of the parallel port in the properties (located in Control Panel>>System>>Hardware Tab>>Device Manager) under the Resources tab. IT is the first number in the I/O range property (usually 0378).
    This is a digital line and the parallel port is written as a byte so your labVIEW program will need to write a byte, delay and write another byte to get a "waveform".
    Xaq

  • Using stand alone executables to send data to the parallel port

    I have a executable that uses the parallel port to activate an alarm. The program works well on the base machine which is running windows XP. However when I try to run the stand alone executable on a windows NT machine there is nothing sent to the parallel port. I have updated the Cvirt file on all machines. I don't get any error messages when running the stand alone executable.

    I have the same situation using parallel port to control a hot swap PCI extender card and no error showed.  I can turn on/off and read correct voltages from the card in base machine.  After creating executables, I can turn on/off the card, but got wrong voltages in target machine.
    I've installed AccessHW in both machines and copied AccessHW.dll and cvirte.dll to system32 folder and the folder same with executables.  I also tried installer with port support and serial support checked. 
    Windows XP is in both machines and LV 7 in base machine.  I use "Output Byte to Port.vi" and "Input Byte from Port.vi" in AccessHW lib.
    One thing I observe is initiation.  The card manufacturer provides a program with same functions.  After running their program, the voltage readings from the executables become correct.  The readings remain good after closing their program.  I close the executables and run the executables again and still see good results unless restarting the target machine.
    Any solution for the problem? Thanks in advance!

  • Format of the parallel port base address

    Just wondering if someone could please help with what I'm sure is a simple question
    I'm currently trying the control the first 3 bits of the parallel port using the Out Port sub vi.
    Using the Labview examples and help I can see how to find the base address of the port. My LPT1 port is 378 like most.
    However the parallel port I'm trying to control is a added in extra PCI card and looking in the Device Manager this is LPT3 with 2 an address ranges starting at CF00 and CE00 . I understand how the address range of starting at 0378 becomes 378 for the base address. But whatabout CF00 asnd 2 ranges? What do I need to put as the base address for the Out Port for CF00?
    thanks in advance
    Nick

    duplicate post. why did you feel the need to repeat the question, especially since it has already been answered.

  • 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

Maybe you are looking for

  • Tune up not working with itunes 12

    I've been using tune up version 2.4 without issue for months but since I upgraded to iTunes 12 yesterday, it keeps saying that my songs are "an unsupported format and can't be processed" whenever I try to 'clean' them. All my tracks are MP3s and it d

  • Bring files to new Mac - bad email address?

    Hi folks. I'm hoping someone can help me out here. I just got a new MacBook Pro, which I want to bring the music from my G5 over to. Now that seems to have worked ok, but now some songs require me to sign in, and thats ok, but it's asking for a passw

  • Adobe runs slow

    Hello, everyone. In linux, adobe runs slow, I use adobe 8.0, and I have to wait for one second just page-up and page-down. If I search for some keywords in the document, I have to wait for more time. Is there any tip to speed up the adobe speed? Or i

  • Dock process is running at 100%

    Hi there, Im trying to use my imac and its struggling to run anything even writing this email th ecomputer cant keep up.  I have run the maintance script to ensure my mac isnt clogged up but this made no difference.  The dock is using anywhere from 8

  • Where is the Pixel Motion Blur in AE CS6?

    Where is the Pixel Motion Blur in AE CS6?  When I type Pixel Motion Blur in the Effects Search, nothing comes up. Sean