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

Similar Messages

  • [Urgent]How can I write to physical memory by using LabVIEW 8.2??

    Hi everybody,
    I am dealing with a project related to micro-EDM. We feed the gap voltage back to a NI DAQ card (not quite sure about the series number, might not be important to this problem), and we want to use this voltage to determine the command position of the motor, which is controlled by a Delta Tau PMAC motion controller. Now the problem is, the NI DAQ card and Delta Tau PMAC controller cannot communicate directly with each other. Therefore, we want the LabVIEW to write the value of voltage to a certain physical memory address, and then let the PMAC controller read that address. Is this feasible by using LabVIEW and NI-DAQ card? Which block or library in LabVIEW shall I use to achieve that? Or is there any alternative way to do it? Thanks a million!
    I have to get this done by the end of this week....if you know how to do it, please let me know. I really appreciate it! You are my lifesavor! 
    Regards,
    Xiaofei

    Duplicate post: http://forums.ni.com/ni/board/message?board.id=170&thread.id=289539&jump=true
    LabVIEW Champion . Do more with less code and in less time .

  • 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

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

  • 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 write an iBook review without using iTunes?

    I have a problem on how can I write a review on an iPad book or iBook without using iTunes. Some of my friends are also asking me on how can I write a review on an iBook without using iTunes. I am on dilemma and I need your help to solve this problem. I hope you can respond soon if possible. Thanks.

    Simple, you cannot.  You can only post reviews through the store front gateway.
    Well, actually, you can write the review in any editor or tool you wish to use, but to post it, you have to login to the store account.  If you do not have an AppleID and store account, you cannot post a review.

  • How can i write to the Step.Result.ReportText of a Sequence callback?

    i need to write to the Step.Result.ReportText and step.Result.Status of a sequence callback using a statement but it jus won't work...how can i do this?....

    I am not sure what you are asking but will give it a shot.
    Only a step has Step.Result.ReportText and Step.Result.Status properties. Therefore you cannot set these properties for a sequence callback. For certain callbacks that are called by a sequence call step, you can set Step.Result.ReportText and Step.Result.Status of the Sequence Call step that called the callback. To do this you can set Runstate.Caller.Step.Result.ReportText and Runstate.Caller.Step.Result.Status within the callback.
    If this does not help you then you must provide information as to which callback you are using and for what step you want to set the Step.Result.ReportText and Step.Result.Status properties

  • How to read and write from the serial port using java

    can anyone tel me how to capture data from a serial port and display on the screen and also store it in a database.

    Java Comm API, JDBC

  • How can I find out the server port for a secured FTP site and creating a FTP Connection Manager

    I have to create a FTP Task to go out and get the files that our 3rd party vendor will be dropping on a secured FTP site. I have all the credentials to access that Secured FTP Site and have successfully done so through FileZilla.
    Now I need to set-up a FTP Task to go out and get their files and in so doing create a FTP Connection Manager. Is there any way I can determine the
    Server Port number from the Secured FTP site? I let it default to 21 and tried the Test Connect and it failed.
    Thanks for your review and am hopeful for a reply.

    Hi ITBobbyP,
    SSIS has a built in FTP task, while this only works for the FTP protocol, it doesn’t support SFTP. But there are some free clients like WinSCP and
    SSIS SFTP Task Control Flow Component
    available in the CodePlex which can invoked from SSIS.
    References:
    SSIS SFTP Task Control Flow Component approach
    WinSCP approach
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • How can I write in the titles of songs I wrote and recorded other than track 1-2 etc.?

    How can I change the Titles of songs I recorded  on a playlist other than the given "track 1, 2,3 etc.? thanks Sigi

    Highlight a track. Press command + i to get information on the track. Enter the data.  For simultaneous multi-track editing use click and shift+ click to select a range of tracks on which to get information.
    Use iTunes help menu to find out how to use iTunes.

  • How to access parallel ports using LabVIEW?

    I want to send data to a device which is connected through LPT1.when Iam using serial port write.vi with port number 10(for LPT1) it is giving an error code 37 which means the device not found. whether those vis are only for accessing serial ports? Then how to access LPT1 using LabVIEW?

    Most likely you need to modify your labview ini file to let it know that LPT1 (or whichever) will be controled through the serial port control. See the following link for a knowledgebase answer to this question:
    http://digital.ni.com/public.nsf/3efedde4322fef19862567740067f3cc/a5abd9d76665217b86256333005ac9a5?OpenDocument
    Jared

  • How can i turn off the computer remotely using java?

    is it possible to use a java code for turning off the computer remotely by other computer in LAN?
    or if it is not possible how can i achieved that goal?
    thanx

    bd0 wrote:
    Well, if you're running linux you could use Runtime.getRuntime().exec() to execute 'halt -p', if the process was being run as root. Not terribly elegant but I suppose it would work. Although I wouldn't want an unattended process running as root.Yes, this is how you can do it, but on Windows machines as well. I'll go into pseudocode:
    App1: Server (running on every lab machine)
    open server socket on port X
    wait for connection
    verify connection is yourself so that not everyone can shut it down
    if not, wait for connection again
    if it is, run halt for linux or shutdown for windowsApp2: Client (running on just your computer)
    open a socket to each machine running the server app (or you could use multicasting)
    validate yourself however you did that
    close socketThere are some implications of this though - unless your validation mechanism is decent, pretty much anyone can shut down anything they want. Also, if you don't check for a logged-in user, you may destroy someone's work. Just keep those in mind.
    Also, if it is a Windows setting, there are usually better ways to do this - a well-managed windows network has built-in functionality to shut down computers remotely.
    Edited by: sprizor on Jun 22, 2008 10:59 AM

  • How can you increase/change the font size using window.print

    We don't use BI/XML Publisher.
    I have a button with an URL Redirect to print.
    javascript:window.print();
    How can I give the user the option to print with a different font or larger size or optionally to set it the same for everyone?
    thanks
    John

    Hi,
    I would think that, generally speaking, users would print from a Printer Friendly page. This is a page template that has most of the top and bottom (that is, the tabs and footers) of a normal page removed. You can switch a page to a Printer Friendly one fairly easily - see: Re: Print Report without Template for an example. As this is a separate page template, you can use printer-only styling. The downside is that you can only have one Printer Friendly page in your application, so you have to be careful to make any styling generic.
    Andy

  • How can my program keep the user from using Alt+Tab?

    Hi everyone,
    How can i make my program so that when the user tries to use Alt+Tab to open any other windows, it won�t allow it. Thanks in advance.

    You can't.
    Java runs in a virtual machine, and relies on the OS to forward events to the virtual machine for dispatch to the appropriate swing components.
    This means that the OS will get the alt-tab, before java, and it will consume it.
    You can however detect when a window is no longer receiving focus, by adding a WindowListener
    Window.addWindowListener(WindowListener l)And you can bring your window to the front (in theory) using
    Window.toFront()However, I have found this to be not always successful (since the jre dispatches the request to the OS, it is the OS that must do it, and depending on the context may not).
    I suggest you try another language, such as C.

Maybe you are looking for