Unable to change logic on parallel port

I am using Outport from accesshw with LV6.1 to control logic staes of parallel port. The port LPT1 does not repond to the program. On changing the address to LPT2 and switching the device to this port (additional PCI parallel port on the comp.) everything seems fine. Just the LPT1 wont work.. Any ideas why this might be?

Thank you for your response. It is certainly one of the things i checked, but finally this is how the problem was solved, which i would like to share for anyone else who might have the same experience..
The BIOS setting for LPT1 was set to bidirectional, since i was successfully using this program on a previous computer i checked the BIOS setting on that PC and it was ECP, changing the LPT1 to ECP in the BIOS did the trick although i am not sure why!
I would welcome if anybody can explain the details...
Thanks

Similar Messages

  • Tecra M2 parallel port disabled

    I have a Tecra M2 series laptop that reports it is running ACPI BIOS version 1.4
    I have Kubuntu installed (previously 7.10 now 8.04). I am unable to print via the parallel port. If I go into the bios the port is shown as disabled which I can enable, save a boot and then I am able to print. The problem is, next time I start the computer the bios has forgotten that I enabled the parallel port and I can no longer print.
    As it is a bit of a pain to have to enter the bios every time I think I might want to print, does anyone know how to make bios changes stick?

    you have to press end and then answer yes to save the settings after making any changes - it is quite clear on the bios screen what you have to do and it obviously works as the parallel port works. the problem is that it does not remember when I next shut down and start up again
    I have just found that if I change the parallel port from ECP to std bi-directional the bios remembers this but this makes no difference to it remembering the enabled state of the port. Interesting!
    Message was edited by: peterroots

  • Change logical port during runtme

    Hi,
    i have program that read logical port of webservice and i want to know if i can change it during runtime from the default to other logical port ,
    Thanks ,
    Joy
    Edited by: Joy Stpr on Jul 25, 2009 11:06 PM

    I encounter the same issue in my project.
    If changing  logical ports of webservice during runtime is possible, we need not recreate the project archive when the logical port changed, and just modify a configuration file.
    Can I do that?
    Thanks in advance!

  • Push button signal to parallel port to trigger a process

    I just need to connect a push button to the parallel port to set it as a trigger signal for a process.
    When push button is pressed, labview executes a process.
    Kindly help me how to do this, the wiring please
    Regards
    Grugh Mike
    Success is Everything !!
    Solved!
    Go to Solution.

    Data Lines to be used as inputsSome parallel ports can be configured to use the data lines as inputs. It depends a great deal on the way the manufacturer designed the parallel port. With some models the data lines can be read the same way we read the control lines, by driving them to high logic so they will take on the value of an external signal. However, most parallel ports require that you set the direction bit for input. This is bit 5 in the Control register (base+2). If the port is capable of it, setting the direction bit high has the effect of making the lines tri-state so it can be driven externally. Sometimes it is also necessary to toggle bit 6 high or low. However, it should be noted that some manufacturers actually lock these bits so that software cannot change them. An example is shown below in Figure 7.
    To test whether your data lines can be used for input, try the following:
    Set bit 5 of the control register high (at base address+2).
    With nothing connected to the port, write a couple of values to the data port, and read each back after you write it.
    If the reads DON'T match the writes, your port is probably bidirectional. Setting C5 disabled the data outputs and you're reading the open inputs of the data-port buffer. If the reads DO match the writes, your port isn't bidirectional. The data outputs are still enabled, you're reading back what you wrote, and you won't be able to read external signals. If it is possible to use your data lines for input, then you just need to set control register bit 5 high and read from the value of the data lines at the base address.

  • Unable to enumerate USB device on port 1

    I can't use my Newman Mp3 player in archlinux.And I googled,but I still don't know how to do
    uname -a
    Linux foolfrog 2.6.28-ARCH #1 SMP PREEMPT Sun Mar 8 10:18:28 UTC 2009 i686 Intel(R) Core(TM)2 Duo CPU T6400 @ 2.00GHz GenuineIntel GNU/Linux
    dmesg
    HDA Intel 0000:00:1b.0: power state changed by ACPI to D0
    HDA Intel 0000:00:1b.0: PCI INT A -> GSI 22 (level, low) -> IRQ 22
    HDA Intel 0000:00:1b.0: setting latency timer to 64
    usb 2-1: new high speed USB device using ehci_hcd and address 3
    usb 2-1: configuration #1 chosen from 1 choice
    Initializing USB Mass Storage driver...
    scsi4 : SCSI emulation for USB Mass Storage devices
    usbcore: registered new interface driver usb-storage
    USB Mass Storage support registered.
    usb-storage: device found at 3
    usb-storage: waiting for device to settle before scanning
    scsi 4:0:0:0: Direct-Access     Newman   Mp3 Player       1.00 PQ: 0 ANSI: 0
    sd 4:0:0:0: [sdb] 2013696 512-byte hardware sectors: (1.03 GB/983 MiB)
    sd 4:0:0:0: [sdb] Write Protect is off
    sd 4:0:0:0: [sdb] Mode Sense: 00 06 00 00
    sd 4:0:0:0: [sdb] Assuming drive cache: write through
    sd 4:0:0:0: [sdb] 2013696 512-byte hardware sectors: (1.03 GB/983 MiB)
    sd 4:0:0:0: [sdb] Write Protect is off
    sd 4:0:0:0: [sdb] Mode Sense: 00 06 00 00
    sd 4:0:0:0: [sdb] Assuming drive cache: write through
    sdb:
    sd 4:0:0:0: [sdb] Attached SCSI removable disk
    sd 4:0:0:0: Attached scsi generic sg2 type 0
    scsi 4:0:0:1: Direct-Access     Newman   USB SD           1.00 PQ: 0 ANSI: 0 CCS
    sd 4:0:0:1: [sdc] Very big device. Trying to use READ CAPACITY(16).
    usb 2-1: reset high speed USB device using ehci_hcd and address 3
    usb 2-1: reset high speed USB device using ehci_hcd and address 3
    sd 4:0:0:0: [sdb] Result: hostbyte=0x07 driverbyte=0x00
    end_request: I/O error, dev sdb, sector 0
    Buffer I/O error on device sdb, logical block 0
    sd 4:0:0:0: [sdb] Result: hostbyte=0x07 driverbyte=0x00
    end_request: I/O error, dev sdb, sector 8
    Buffer I/O error on device sdb, logical block 1
    Buffer I/O error on device sdb, logical block 2
    Buffer I/O error on device sdb, logical block 3
    sd 4:0:0:1: [sdc] READ CAPACITY(16) failed
    sd 4:0:0:1: [sdc] <6>sd 4:0:0:0: [sdb] Result: hostbyte=0x07 driverbyte=0x00
    end_request: I/O error, dev sdb, sector 0
    Buffer I/O error on device sdb, logical block 0
    Result: hostbyte=0x07 driverbyte=0x00
    sd 4:0:0:1: [sdc] Use 0xffffffff as device size
    sd 4:0:0:1: [sdc] Sector size 0 reported, assuming 512.
    sd 4:0:0:1: [sdc] 4294967296 512-byte hardware sectors: (2.19 TB/2.00 TiB)
    usb 2-1: USB disconnect, address 3
    sd 4:0:0:1: [sdc] Write Protect is off
    sd 4:0:0:1: [sdc] Mode Sense: 00 00 00 00
    sd 4:0:0:1: [sdc] Assuming drive cache: write through
    sd 4:0:0:1: [sdc] READ CAPACITY failed
    sd 4:0:0:1: [sdc] Result: hostbyte=0x01 driverbyte=0x00
    sd 4:0:0:1: [sdc] Sense not available.
    sd 4:0:0:1: [sdc] Write Protect is off
    sd 4:0:0:1: [sdc] Mode Sense: 00 00 00 00
    sd 4:0:0:1: [sdc] Assuming drive cache: write through
    sd 4:0:0:1: [sdc] READ CAPACITY failed
    sd 4:0:0:1: [sdc] Result: hostbyte=0x01 driverbyte=0x00
    sd 4:0:0:1: [sdc] Sense not available.
    sd 4:0:0:1: [sdc] Write Protect is off
    sd 4:0:0:1: [sdc] Mode Sense: 00 00 00 00
    sd 4:0:0:1: [sdc] Assuming drive cache: write through
    sd 4:0:0:1: [sdc] Attached SCSI removable disk
    sd 4:0:0:1: Attached scsi generic sg3 type 0
    usb-storage: device scan complete
    hub 6-0:1.0: unable to enumerate USB device on port 1
    I can use my MP3 player in winxp,but can't use it int Vista,and Ubuntu also can't use it.Could you help me?

    I've been having the same problem with a usb stick of mine, the same error - unable to enumerate USB device.  I figure explaining my experiences here may help someone else trying to figure this out.
    This seems to be hardware related, unfortunately.  I don't know if anyone can correct me.  I have two laptops, one old one new.  Both use 2.6.29.  This one usb stick I have just wont work on the old laptop, regardless of kernel version or distribution.  Other usb mass storage devices work.
    I suspect that this is a combination between a kernel bug and hardware issues.  All google searches on this error seem to indicate that the only way people fixed this was through replacement hardware.
    I know that the usb flash drive I'm using has a hidden second volume on it.  A 1GB read writeable volume, and a 4MB volume that is uneraseable, includes a pdf document that came with it.  This is not a second partition, the OS sees it as a virtual CDROM drive.  (I got the stick for free at a conference.)  I don't know how this is implemented in hardware, but on other systems (on mac/windows/linux), a second volume appears after 10 seconds of insertion.  I suspect this quirk is what prevents me from using this as a usb boot stick too.
    My guess is that the usb device does not follow specification exactly, and borks on certain OS/hardware combinations.  I would call my usb stick broken, and it only manifests itself on some hardware.  The newman mp3 player may be similar, not following the usb specs 100%.  As you said, it won't work in Vista either.
    Do you have a different usb mass storage device that you can try?  Plug in a hard disk, a thumb drive, a different mp3 player, see if it works right away.  It makes me sad when hardware doesn't work on Linux, but sometimes that means a trip to ebay and newegg.  I'm going to be doing that with my thumb drive.

  • 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

  • K9A plantinum and Parallel Port. [closed]

    Greetings,
    I'm wondering bout the parallel port settings in the bios.   
    What settings are recommended for Vista 64.  I've tried most "common" settings without luck. :(
    I've been trying to get my hp2100 to function under vista and linux, but just cant get it to operate.
    I'm starting to fear a defective MB.   In fact vista has been terribly unstable on this system.
    I've verified the RAM with memtest.
    I've had the printer functioning perfectly on a prior computer.  Normally windows auto detects the hp 2100.  I get nothing from vista.... thought the hardware manager does say the LPT for is operational.
    comments?  Suggestions? 
    Thanks

    Any answers to those?:
    Quote from: Bas on 16-December-07, 09:39:26
    What HP 1200 might this be?
    LaserJet, DeskJet, what???
    HP has hundreds of devices that have the number 1200...
    What you have tried from those and what are the results?:
    Quote from: BOSSKILLER on 16-December-07, 07:02:54
    "Next I tried ECP DMA 1  This also did not detect the 2100 but I was able to finish the wizard, but alas I was still unable to print.  Testing the printer stated that the test sheet was sent, but the printer never responds."
    Check printer cable connections, try change printer port, switch to EPP+ECP.
    Pickup latest drivers from HP for your Printer:
    http://h20000.www2.hp.com/bizsupport/TechSupport/ProductList.jsp?lang=en&cc=us&prodTypeId=18972&prodSeriesId=25469&taskId=135

  • Control parallel port (data and control lines)

    I need to control the output on the parallel port (LPT1) - Both data and control lines.  Once the data is written (Pins2-9), I then need to toggle the Sprocket signal (PIN1) - on the parallel port. The sprocket signal is also referred to as the Data Strobe Output.
    The required method is as follows:
    1. Lower the sprocket signal on PIN1
    2. Send the data (Pins2-9) and wait
    3. Raise the sprocket signal and wait.
    4. Repeat.
    I am looking for a method to control the data on LPT1 pins 2-9 and then be able to toggle PIN1 - Strobe signal - without the data falling from the other pins. What I have found is that whenever the state is changed on the strobe - the data that was written to Pin2-9 falls to zero. This will not work for my application - the strobe tells the hardware device that the data is ready. If it falls to zero when I toggle the strobe - that will not work.
    Regards,
    Guy

    Hello Adam,
    I am familiar with both references.  If you look more closely at the library reference - it allows me to communicate using VISA across the parallel port pins 2-9.  It does not permit direct communication to pin1 (the strobe signal) - property nodes don't allow the strobe to be refereced either (similar to control lines/signals for COM ports).
    Worse, I have also located examples using OUT PORT that does enable pin1 to be toggled.  The problem is, when those VIs are used, the data falls from the data pins when the strobe signal is written, even if its value is not changed.  For example, if the strobe is already high, if another high value is passed, the data falls from the data lines.  The other issue, when using VISA, as soon as the data is writen, the strobe signal automatically goes high even though I need a wait before setting the strobe high.  This is in complete contradiction to the second article you referenced which clearly discusses writing data to pins2-9 then taking the strobe high to indicate to the printer that new data is available.  It must be possible since this is the typical handshake.
    I am still looking for a more complete answer/solution.
    Regards,
    Guy

  • Unable to change volume iOS6

    Hello,
    I upgraded to iOS6 tonight on my 4s via wifi and noticed that I am unable to change the volume of music/calls/ringer/videos via the volume buttons and the volume slider does not appear in the music or video apps..I am aware that a similar issue is caused by a buildup of dust in the universal port but these functions were working fine before updating.
    I've checked the restrictions part in General and volume limit has not been enabled)
    Declan

    POSSIBLE FIX
    I phoned my voicemail number (I had not made calls since updating) and played around with the call volume)
    After hanging up, I have full use of the volume buttons/music player and video slider
    I hope this helps some people and if not, don't give up your search for a fix

  • 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

  • Using XP software with a parallel port dongle in windows 7 professional

    Please help...  Looking to have my parallel port dongle recognized for my older version software (XP) in Windows 7 under the XP PC mode.  Help in figuring out if LPT1 is set correctly or what I am doing wrong.
    Thanks

    Hello,
    I have W7 Professional 64 bit with Windows Virtual PC/Windows XP Mode installed. I have some older programs installed in XP Mode and they are working properly.
    Unfortunately, I have one older program that I currently have working on an older XP Machine and that program requires a Sentinel dongle to be seen on the LPT1 Parallel Port. Since my W7 computer has an LPT1 Header on the mother board, I have purchased and
    installed a PCI-Express Parallel Port and I have the ribbon cable connected to the LPT1 Header.
    After I enabled the parallel port in the bios, I could see LPT1 in the W7 Device Manager and in the Windows XP Mode Device Manager. However, when I click on
    Windows Virtual PC, highlight Windows XP Mode.vmcx and click on Settings, LPT1 does not appear.
    I have installed my old program in Windows XP Mode and it starts to run but, when it gets to the point where it must see the Sentinel dongle on the LPT1, the
    program does not find the dongle.
    I also purchased a Manhattan MHUSB to DB25 Parallel Converter and plugged it in. It said that it found new hardware and installed drivers for it but that didn’t
    work either.
    I am not married to any particular solution. So, I would use a USB Adapter or LPT1 connected to the mother board but there must be some code editing or changes
    in settings to make the dongle work in XP Mode.
    Can you tell me how to get W7 Professional 64 bit with Windows Virtual PC/Windows XP Mode to find the Sentinel dongle 
    on LPT1?
    Thank you,
    Dan
    Dan

  • Problem in sending data to parallel port

    Hello,
    I can open a parallel port (LPT1) using java comm api i,e javax.comm.
    but problem in sending data to parallel port,
    I choose the appropriate port(LPT1), it is in bi-directional mode according to BIOS configuration.
    but according to the java program the mode is SSP.
    when i write data to parallel port the volt-meter give a reading of high state for all data pin (pin1 to 9) i,e the parallel port doesnot change state. I am using windows XP.
    What is the solution?

    try it on Open Solaris 10 or Linux platform.
    also just try using the new FileWriter("LPT1").write("Hello");
    on windows platform
    Pravin

  • Parallel Port

    I have an application that uses the parallel port. It works fine on Win2K using the AccessHW stuff. However, the piece of hardware I have hanging off the parallel port requires the parallel port to be put in SPP or AT mode. I change the mode in the computers BIOS. However, I have a computer that does not have that option in the BIOS. Is there a way of programatically changing the mode through LabVIEW or through Win2K?

    I would think that if there is no BIOS support, there's no hardware support on the motherboard. You might want to check with the manufacturer of the motherboard. I suppose it's possible that the motherboard was newer than the BIOS that they used. If that's the case, a BIOS upgrade would be the solution to using the port on the motherboard. You could also look for an add-on board with a newer parallel port.

  • Parallel port switcher

    Hi all,
    I have attached a parallel port switcher that I downloaded but I keep getting the error "manager call not supported" as attached.
    How can I run/ use the attached vi? I have Labview 7 and Labview 8.5 installed, in my Windows XP and Windows 2000.
    Attachments:
    untitled.JPG ‏11 KB
    parallelportswitcher7.vi ‏112 KB

    Hi all,
    I've soldered 3 LEDs to pin 2, pin 6 and pin 9 and pin 25 to ground. I need to control the on off of the 3 pins through Labview. I've modified an example I found in Labview as attached but there are things that I don't understand:
    1. Why is it when I clicked both LED 18 and 22 on Labview, all my 3 LED on breadboard (connectted to pin 2,6,9) turned on?
    2. Why is the "register write value" in Labview consists of 32 LEDs? How can I change it to may be 8 or 3 LED?
    3. If I change the "register write value" to constant, what value or number should I insert to on/ off my LED?
    Please advice.
    Kim
    Attachments:
    Untitled 3.vi ‏25 KB

  • Parallel Port & USB Connections

    I have several older Macs & a Windows PC, all connected to an Apple 16/600PS laser printer. The arrangement has worked fine and minimized duplicating hardware. I'm thinking of upgrading the PC, but all newer models do NOT have parallel port connections -- only USB ports.
    How does one deal with these changes in connectivity? Is there a way to connect parallel to USB?
    Thanks.
    Bill
    Windows PC   Windows 2000   Apple 16/600PS Laser Printer

    Also, you did not indicate whether your other Macs
    are simply old and using AppleTalk-over-Ethernet to
    the printer, or really, really old and using
    LocalTalk from the serial printer ports..
    Grant,
    Thanks for your suggestions. Yes, the Macs are pretty old (a Quadra and a PPC), but the LocalTalk network does just fine. My connectivity issue would be with any new PC, and Ethernet connectivity is certainly one option. Another is to buy a fairly cheap port replicator for a new laptop that gives one parallel port connectivity. One piece of new HW, no SW or driver changes to make -- that might be a more simple solution to the problem.
    Again, my thanks.
    Bill
      Windows 2000  

Maybe you are looking for