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

Similar Messages

  • 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

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

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

  • Problems accessing the parallel port

    Dear All,
    I'm having problems to access to the parallel port using the VI write /
    read to the serial port, it returns the error code 37. As far as I've
    seen in the documentation this error code is for UNIX systems and we're
    using Windows 95.
    Anybody know what's going on?
    Cheers,
    Ernest
    Ernest Mendoza
    Institut de Ciencia de Materials de Barcelona
    Consejo Superior de Investigaciones Cientificas
    Campus de la UAB. E-08193 Bellaterra (Barcelona)
    Tel- 34- 93 580 18 53
    Fax- 34- 93 580 57 29
    http://www.icmab.es/dmag/new/index.html

    This is the device not found error. It is platform independant. It means
    that you are addressing a serial port that LabVIEW cannot find. This is
    becuase the port is not there or LabVIEW cannot access it. Make sure the
    serial port you are addressing is configured in Windows device manager and
    then make sure you have the file serpdrv in your LabVIEW (or compiled executable)
    directory.
    -Jim
    Ernest Mendoza wrote:
    >Dear All,>>I'm having problems to access to the parallel port using the
    VI write />read to the serial port, it returns the error code 37. As far
    as I've>seen in the documentation this error code is for UNIX systems and
    we're>using Windows 95.>>Anybody know what's going on?>>Cheers,>>Ernest>>>-->____________________________________________
    _______>>Ernest
    Mendoza>Institut de Ciencia de Materials de Barcelona>Consejo Superior de
    Investigaciones Cientificas>Campus de la UAB. E-08193 Bellaterra (Barcelona)>Tel-
    34- 93 580 18 53>Fax- 34- 93 580 57 29>http://www.icmab.es/dmag/new/index.html>___________________________________________________>>

  • How can i use the parallel port

    I was wondering how to adress my PC´s
    parallel port. I did'nt find a suitable
    VI in the palettes.
    Do I have to read/write somehow directly
    to the port adress in memory 0378 ...?
    If so, how can this be done ?
    Thanks for any help,
    Holsch

    Use VISA to read/write to the parallel port just like you would read/write
    to the serial port. I would staty away from the inport/outport stuff. I believe
    there's some articles in the KnowledgeBase if you get stuck.
    [email protected] (Helmut Hullen) wrote:
    >Hallo, Holger,>>Du meintest am 29.07.00 zum Thema how can i use the parallel
    port>> I was wondering how to adress my PC's>> parallel port. I did'nt
    find a suitable>> VI in the palettes.>>Look at "in port" and "out port".>Under
    Windows NT/Windows 2000 you need a special library for direct port >access,
    look for "hwaccess" or "accesshw".>>Viele Gruesse!>Helmut>

  • How can I clear the parallel port?

    I'm sending image-files to a custom made printing unit via VISA through the parallel port.
    Sometimes the unit doesn't accept the file.
    Therefore I need to clear the parrallel port completely and send the file again.
    (Right now I'm switching off the unit and waiting for the error message from WindowsNT).
    How can I clear the parrallel port via LabVIEW?
    (VISA clear.vi doesn't work, the data is still on the port).

    Rainer,
    Maybe you can try the "VISA Flush I/O Buffer" vi (VISA - VISA Advanced -
    Interface Specific). It worked on a serial port, but I have no idea if it
    works
    also on a parallel port. It is worth trying it.
    Good Luck.
    "rainer" schreef in bericht
    news:[email protected]..
    > I'm sending image-files to a custom made printing unit via VISA
    > through the parallel port.
    > Sometimes the unit doesn't accept the file.
    > Therefore I need to clear the parrallel port completely and send the
    > file again.
    > (Right now I'm switching off the unit and waiting for the error
    > message from WindowsNT).
    > How can I clear the parrallel port via LabVIEW?
    > (VISA clear.vi doesn't work, the data is still on the port).

  • 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 use the parallel port as an input channel to communicate with a SPECTROMETER?

    Hello,
    The sensing system we use is called: FieldSpec Pro from www.asdi.com.
    The spectrometer has a LPT terminal. I'd like to use LabVIEW to acquire signals from the spectrometer for further analysis.
    Thank you!

    Dennis,
    I appreciate your time.
    I have asked the copmany for such infos, but it seems to be confidential.
    Do I need an I/O DAQ-Card?
    Dennis Knutson wrote:
    About all that tells me is
    that I'm located in the same town as the manufacturer. You'll need to
    find some specification that describes the parallel port protocol.
    Without that, you're just wasting your time. Even if the instrument is
    constantly sending data, you'll need to know how to interpret the data
    and there's nothing that says it has to be sending constantly. Maybe
    you first have to write something to the port first. Talk to them and
    tell them you want to replace their software with software of your own
    and need to be able to read the data.

  • Can we read the status of a particular pin in the Parallel port(LPT1)?

    Hi,
    I have a Camera.I'm trying to read the status of the camera by connecting it to the parallel port.The camera has a DB26 ,high-density I/O connector .A high level on pin 19 indicates that the camera power is switched on(+5v =on ,0v=off).I want to read the status of this pin by connecting it to the parallel port.Can i read the status of a particular pin in parallel port thru LABVIEW? if so how ? Any help in this regard is appreciated.

    Rajesh,
    You may find the following tutorial useful:
    http://zone.ni.com/devzone/conceptd.nsf/webmain/72C6FC6CE4AD4D1386256B1800794596?opendocument&node=DZ52058_US
    Regards,
    Khalid

  • How can I connect my Ipad Air to my PC to see the Ipad screen on the PC? I have connected them via the Ipad to a LIGHTNING DIGITAL AV ADAPTER-ZML connected to a APPLE HDMI TO HDMI CABLE (1.8 M)-ZML, and to the HDMI port on the PC. Thanks

    How can I connect my Ipad Air to my PC to see the Ipad screen on the PC?
    I have connected them via the Ipad to a LIGHTNING DIGITAL AV ADAPTER-ZML connected to a APPLE HDMI TO HDMI CABLE (1.8 M)-ZML, and to the HDMI port on the PC. But now I don't know how to show the Ipad screen on the PC, as if it was a monitor / screen, so that I can then use Lync and share my PC screen with people virtually.
    Thanks for any help! Regards

    Hi Rob - thanks so much for your help!  Could you tell me what "air sever or reflector apps." are? and where can I look for information about them?
    Do you use them on the Ipad or on the PC?
    Do I need a cable too and which one?
    Sorry... I am not very technical as you can see, thanks for your help.
    Regards

  • I want to transfer data through the serial port in the same coding that hyperterminal uses. How can i do it?

    The serial port seems to be working, and labview seems to be sending the data, but the problem is in which format does it send the data, because in hyperterminal i just input the string "JDX" and it sends it to my device, with labview it sends something but my device does not recognize it.

    nobuto wrote:
    > I want to transfer data through the serial port in the same coding
    > that hyperterminal uses. How can i do it?
    >
    > The serial port seems to be working, and labview seems to be sending
    > the data, but the problem is in which format does it send the data,
    > because in hyperterminal i just input the string "JDX" and it sends it
    > to my device, with labview it sends something but my device does not
    > recognize it.
    Hyperterminal adds the carriage return/line feed to the string which is
    generated by the return key to send out the current line. LabVIEW simply
    sends out what you tell it, so try to set the string to "Show \ Display"
    format and add a \r or \n or \r\n to the command you want to send out.
    Assumes of course that you set the right baudr
    ate/bits/parity etc in
    LabVIEW with the VISA property node, when opening the serial port.
    Rolf Kalbermatter
    Rolf Kalbermatter
    CIT Engineering Netherlands
    a division of Test & Measurement Solutions

  • My problem is that one of the USB ports and the device does not detect this and inactive but can not find how to reactivate.Help me please! greetings thanks!

    Hello good evening, I have a MacBook Pro and my problem is that one of the USB ports and the device does not detect this and inactive but can not find how to reactivate.
    Help me please! greetings thanks!

    Do you have the Firefox new tab page but the actual sites are missing, or do you have some other page?
    If you have some different page, try the quick fix in Fred McD's reply.
    If the sites are missing, did you use the Reset feature? That will clear the storage associated with the new tab page. I'm not sure it's possible to recover from that; you probably need to rebuild your page from scratch as you browse.
    For possible future reference, here is how to access the hidden setting for the page to display on new tabs:
    (1) In a new tab, type or paste '''about:config''' in the address bar and press Enter. Click the button promising to be careful.
    (2) In the search box above the list, type or paste '''newtab''' and pause while the list is filtered
    (3) Double-click the '''browser.newtab.url''' preference and enter your preferred page:
    * ''Page thumbnails (default)'' => about:newtab
    * ''Blank tab'' => about:blank
    * ''Built-in Firefox home page'' => about:home
    * ''Any other page'' => full URL to the page
    Press Ctrl+t to open a new tab and verify that it worked. Fixed?
    Some gotchas:
    ''If Firefox won't let you edit this setting:'' you may have something called SearchProtect on your system.
    ''If Firefox lets you save your change but ignores it:'' one of your extensions may be overriding it. You can review, disable, and/or remove extensions on the add-ons page:
    "3-bar" menu button (or Tools menu) > Add-ons > ''in the left column click'' Extensions
    ''If the change works during your session, but at the next startup is back to an unwanted page:'' you might have a user.js file in your personal Firefox settings folder (your Firefox profile folder). This article describes how to track down and remove the file: [[How to fix preferences that won't save]].
    Any luck?

  • How can I find my Mac Adress for the Ethernet Port from a Apple Airport Express Device ?

    How can I find my Mac Adress for the Ethernet Port from a Apple Airport Express Device ?

    You can only locate, lock or erase your device when it is logged into iCloud and 'Find My Phone' is enabled, additionally the device will need to be switched on and connected to a wifi or cellular network.
    Unfortunately, you cannot activate iCloud or 'Find My Phone' remotely.

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

Maybe you are looking for