Question: serial/parallel port

Hi, I am trying to control a simple digital switch using labview and either
my serial- or parallel port. I want to control each individual pin on the
port: to turn on/off +5V on the output pins. Does anybody now how? Is it
possible? I am running labview 6.1 on W2k.
Thanks in advance

Hi Luca, JS & Pawel,
in general everything is correct, but I would suggest to use the "Out Port" and "In Port" functions from LabVIEW. Have a look to the simple printer_port_test.vi. This also needs the accesshw as already explained.
In addition I recommend to use buffer-circuits in between LPT and an application in order not to destroy the motherboard-Chips by accident !!
Regards
wha
Attachments:
printer_port_test.llb ‏52 KB

Similar Messages

  • 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

  • RDA serial, parallel port

    Hello,
    Is it possible to use serial or parallel ports via Remote Device Access?
    with card AT-AO-6 system work fine.
    NI-DAQ 6.9.3f3
    NT WS 4.0 SP6
    Deniss Karai

    Check this link.
    http://zone.ni.com/devzone/conceptd.nsf/webmain/790B808B320DCF6F86256BE20069
    65E6?opendocument
    Deniss Karai
    "masszamp" wrote in message
    news:2XDR9.71499$[email protected]..
    > Deniss Karai wrote:
    >
    > > Answer is VISA version 2.6, with Visa server
    > >
    > > Deniss
    > > "Deniss Karai" wrote in message
    > > news:3e0b1ef9$0$160$[email protected]..
    > >
    > > >Hello,
    > > >
    > > >Is it possible to use serial or parallel ports via Remote Device
    Access?
    > > >
    > > >with card AT-AO-6 system work fine.
    > > >
    > > >NI-DAQ 6.9.3f3
    > > >NT WS 4.0 SP6
    > > >
    > > >Deniss Karai
    > > >
    > > >what,corry, really?
    >
    > pradipaldo
    >
    > >
    > >
    > >
    > >
    >

  • Satellite M45-S169 PSM43U: need to connect to a serial & parallel port

    Hello!
    I have an old model of Satellite and I need to connect it with a machine that has old fashioned entrences, with pins (mother and father) and was told that I need a replicator (serial and paralell).
    Now, I'm very confused because I'm not technical so please advise me on two things: is there something that does such thing? (usb to old fashion pins) and if there is I really need to buy it (so please pusrchase details).
    Sorry if I've been so bad at describing what I need. I'm an electronist and am working with big machines therefore I need to connect my laptop to the machine;s software.
    Thank you

    Hmm. The new-age generation notebooks dont support the serial or parallel ports
    Therefore youve got not many possibilities to connect a older devices to a notebook which was not equipped with the serial or parallel port.
    As far as I know there are some USB-to-serial or USB-to-parallel port adapters.
    Google a little bit and Im sure you will find some good offers.
    But note; I read somewhere that not all adapters work properly you will have to investigate a little bit.
    Good luck

  • Parallel port not detected in measurement and automation explorer

    I have installed labview 2010 in windows XP.
    The problem what I am facing is I could not find "Serial & Parallel port" option in Measurement and automation explorer.
    After seeing the similar problem in forum I have installed Ni-Daqmx 9.0.2.  But still I can not see the ports in MAX.
    I think i have attached enough document .
    If the parallel port is not detected in MAX can we send digital data to parallel port.
    I have tested parallel port with LED connecting one leg in 1st data line(pin 2) and another in gnd(pin 25).
    And my program is to blink the led for every one second but I cannot see the blinking.
    Can anyone help in this regards
    thank you
    Attachments:
    max.jpg ‏90 KB
    port setting tab1.jpg ‏30 KB
    device manager resource tab.jpg ‏34 KB

    Thank you for ur reply Smercurio
    I have changed the bios setting now 
    but still i cant see the printer port in MAX
    Regarding my vi, now i changed it please see that also 
    I have given values to element of arrays as (1,2&4) 
    Now also it is not blinking instead it is glowing all the time without blinking.
    What i have to do next.
    Attachments:
    device manger.JPG ‏43 KB
    device manger2.JPG ‏165 KB
    port test.vi ‏9 KB

  • How to detect signals from serial or parallel ports?

    Hi everybody!
    I'm developping a p.o.s. app, and I need to detect the printer status (serial or parallel), but I couldn't find the way to do it (I'm using Text_IO). I know about using a C program, but I want to find a simpler way.
    Is there any command or trigger in Forms 6?
    Thank you for your help

    Hi
    In your setup you have a ADAM 4250 RS232/485 repeater talking with 7 instruments in a network. Each instrument have a unique address, and you can only address 1 instrument at a time. If you need more speed you have to insert more ADAM 4250 units in your system and more RS232 ports on the PC. Identical ADAM instruments may receive commands over the same communication line, but transmit data on a unique communication line. You can not use the parallel port in your setup at all. This is not a Labview problem but a hardware problem. If speed is critical maybe the Ethernet I/O Modules: ADAM-6000 series are better for your setup 
    Besides which, my opinion is that Express VIs Carthage must be destroyed deleted
    (Sorry no Labview "brag list" so far)

  • Is there a docking station for the HP Compaq 625 with serial and parallel ports?

    Hi
    I am looking for a docking station with at least 4 USB ports plus serial and parallel ports for the HP Compaq 625 running Windows 7.
    If not, what are the cheapest laptops for which I could find such a docking station?
    Thanks
    soVision

    The TravelSound ZEN X-fi looks like is might work, but it says nothing that it will. If it works I will buy it in second.
    Look carefully to Creative's documentation for this docking station. It is not compatible with the X-Fi2 or X-Fi Style.

  • Simple parallel port question

    Dear everyone,
    I want to control some pins of the parallel port to be high voltage. So I read this NI webpage
    http://zone.ni.com/devzone/conceptd.nsf/webmain/72C6FC6CE4AD4D1386256B1800794596?opendocument&node=DZ52058_US
    I follow the instruction to connect pin 11 & 12 to ground and checked my LPT1 address is 378, but error message comes out when I run the program. Could you please help me to solve the problem
    thanks
    Attachments:
    2.JPG ‏73 KB

    It seems you are running windows XP.
    The old inPort and outPort VIs are not supported under Windows NT/2000/XP.
    You should upgrade to LabVIEW 7 (or higher) or follow the instructions HERE to install the accessHW utilities.
    LabVIEW Champion . Do more with less code and in less time .

  • Parallel Port & Printing

    Hi,
    I am new to ArchLinux and have been using Gentoo since qutie a while. After installing nearly everything I need I am now struggling with the printer setup. I guess this is due to a problem with my parallel port, cause it does not show up in the selection box of cups. I can choose serial and usb ports, but no parallel ports. I have installed some modules like
    lp & parport
    I also have cups running of course and it connects. My question is the kernel (2.6.4) must be compiled with support for the parallel port by default, right? At least after loading these modules it should work. What am I missing?
    Thanks already!!!

    Good advice!  Haven't solved it yet, but FWIW I can read the cups documentation.  So I set the log to debug mode and here it is: 
    This log content follows
        lp fstab
    18/Mar/2004:18:13:15 +0000] AcceptClient() 5 from localhost:631.
    ReadClient() 5 POST / HTTP/1.1
    ProcessIPPRequest: 5 status_code=1
    CloseClient() 5
    AcceptClient() 5 from localhost:631.
    ReadClient() 5 POST / HTTP/1.1
    ProcessIPPRequest: 5 status_code=1
    CloseClient() 5
    AcceptClient() 5 from localhost:631.
    ReadClient() 5 POST / HTTP/1.1
    ProcessIPPRequest: 5 status_code=0
    ReadClient() 5 POST /printers/lpr HTTP/1.1
    print_job: auto-typing file...
    print_job: request file type is text/plain.
    check_quotas: requesting-user-name = 'root'
    print_job: requesting-user-name = 'root'
    Adding start banner page "none" to job 16.
    Adding end banner page "none" to job 16.
    Job 16 queued on 'lpr' by 'root'.
    Job 16 hold_until = 0
    StartJob(16, 0x8093b70)
    StartJob() id = 16, file = 0/1
    job-sheets=none,none
    banner_page = 0
    StartJob: argv = "lpr","16","root","fstab","1","","/var/spool/cups/d00016-001"
    StartJob: envp[0]="PATH=/usr/lib/cups/filter:/bin:/usr/bin"
    StartJob: envp[1]="SOFTWARE=CUPS/1.1"
    StartJob: envp[2]="USER=root"
    StartJob: envp[3]="CHARSET=iso-8859-1"
    StartJob: envp[4]="LANG=en"
    StartJob: envp[5]="PPD=/etc/cups/ppd/lpr.ppd"
    StartJob: envp[6]="CUPS_SERVERROOT=/etc/cups"
    StartJob: envp[7]="RIP_MAX_CACHE=8m"
    StartJob: envp[8]="TMPDIR=/var/spool/cups/tmp"
    StartJob: envp[9]="CONTENT_TYPE=text/plain"
    StartJob: envp[10]="DEVICE_URI=parallel:/dev/lp0"
    StartJob: envp[11]="PRINTER=lpr"
    StartJob: envp[12]="CUPS_DATADIR=/usr/share/cups"
    StartJob: envp[13]="CUPS_FONTPATH=/usr/share/cups/fonts"
    StartJob: envp[14]="CUPS_SERVER=localhost"
    StartJob: envp[15]="IPP_PORT=631"
    StartJob: statusfds = [ 7 8 ]
    StartJob: filterfds[1] = [ 9 -1 ]
    StartJob: filter = "/usr/lib/cups/filter/texttops"
    StartJob: filterfds[0] = [ 10 11 ]
    start_process("/usr/lib/cups/filter/texttops", 0xbffeff30, 0xbffef2a0, 9, 11, 8)
    Started filter /usr/lib/cups/filter/texttops (PID 2486) for job 16.
    StartJob: filter = "/usr/lib/cups/filter/pstops"
    StartJob: filterfds[1] = [ 9 12 ]
    start_process("/usr/lib/cups/filter/pstops", 0xbffeff30, 0xbffef2a0, 10, 12, 8)
    I [18/Mar/2004:18:13:15 +0000] Started filter /usr/lib/cups/filter/pstops (PID 2487) for job 16.
    StartJob: filter = "/usr/lib/cups/filter/foomatic-rip"
    StartJob: filterfds[0] = [ 10 11 ]
    start_process("/usr/lib/cups/filter/foomatic-rip", 0xbffeff30, 0xbffef2a0, 9, 11, 8)
    Started filter /usr/lib/cups/filter/foomatic-rip (PID 2488) for job 16.
    StartJob: backend = "/usr/lib/cups/backend/parallel"
    StartJob: filterfds[1] = [ -1 9 ]
    start_process("/usr/lib/cups/backend/parallel", 0xbffeff30, 0xbffef2a0, 10, 9, 8)
    Started backend /usr/lib/cups/backend/parallel (PID 2489) for job 16.
    ProcessIPPRequest: 5 status_code=0
    This looks like the problem?  Can't find status 22 explanation but must be the next line.
    PID 2488 stopped with status 22!
    [Job 16] /usr/lib/cups/filter/foomatic-rip: No such file or directory
    [Job 16] Page = 612x792; 0,0 to 612,792
    [Job 16] ppd->num_fonts = 35
    [snip]
    [Job 16] ppd->fonts[8] = Courier
    [Job 16] Page = 612x792; 0,0 to 612,792
    [Job 16] slowcollate=0, slowduplex=0, sloworder=0
    [Job 16] 0 %%BoundingBox: 0 0 612 792
    [Job 16] 0 %%Creator: texttops/CUPS v1.1.20
    [Job 16] 0 %%CreationDate: Thu Mar 18 18:13:15 2004
    [Job 16] 0 %%Title: fstab
    [Job 16] 0 %%For: root
    [Job 16] 0 %%Pages: (atend)
    [Job 16] 0 %%DocumentNeededResources: font Courier-Bold
    [Job 16] 0 %%+ font Courier
    [Job 16] 0 %%DocumentSuppliedResources: procset texttops 1.1 0
    [Job 16] 0 %%+ font Courier-Bold
    [Job 16] 0 %%+ font Courier
    [Job 16] 0 %%EndComments
    [Job 16] 0 %%BeginProlog
    [Job 16] 0 %%BeginResource: font Courier-Bold
    [Job 16] 0 %%CreationDate: Wed Dec 22 1999
    [Job 16] 0 %%EndResource
    [Job 16] 0 %%BeginResource: font Courier
    [Job 16] 0 %%CreationDate: Wed Dec 22 1999
    [Job 16] 0 %%EndResource
    [Job 16] 0 %%BeginResource: procset texttops 1.1 0
    D [18/Mar/2004:18:13:15 +0000] [Job 16] 0 %%EndResource
    [Job 16] 0 %%EndProlog
    [Job 16] 0 %%Page: 1 1
    [Job 16] 0 %%Page: 1 1
    [Job 16] pw = 612.0, pl = 792.0
    [Job 16] PageLeft = 0.0, PageRight = 612.0
    [Job 16] PageTop = 792.0, PageBottom = 0.0
    [Job 16] PageWidth = 612.0, PageLength = 792.0
    [Job 16] 0 %%Trailer
    [Job 16] Saw Trailer!
    [Job 16] Saw EOF!
    UpdateJob: job 16, file 0 is complete.
    CancelJob: id = 16
    StopJob: id = 16, force = 0
    StopJob: printer state is 3
    CloseClient() 5
    Bill Barnes

  • RXTX Parallel port communication with Pin Printer

    I have successfully installed and configured RXTX-2.0-7pre1 on Linux platform.
    2 printers, one Laser jet printer connected to the Serial port and the other Pin Printer connected to the Parallel port.
    I can print my files out successfully with RXTX on both my 2 printers. But, there is some problem with my Pin Printer performance. The print job is a little slow and the printing is word by word output.
    While the Laser printer received the whole string of my RXTX output and printed them out asap.
    RXTX read my data and write them to the Parallel/Serial port directly, so, for my laser jet printer, it buffered the RXTX output data and processed them all in one. No problem, laser printer works well. But to the Pin Printer, it got the RXTX output and printed them out with no buffer. I am not authorized to deal with the Pin Printer device driver.
    So, my question is that, is there someone knows how to resolve this problem on RXTX side? That is to say, how to modify the source code of RXTX and customize it?
    I wanna know how to create buffer in RXTX, for example, buffering a whole string line and then sending them to the Parallel port. Then, It supposed to be that the Pin Printer will receive once a whole line output and printing line by line in the paper! Not the problemly slowly word by word output!
    Thanks a lot!

    Simple metrics from google should suffice the SUN team from understand the need/huge requirement for supporting Serial and parallel port programming in windows. Platforms would always change and the team at SUN should remain commited in supporting new platforms.

  • 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

  • Thinkpad T60/T61 Serial/parallel adapter kgdb support

    Hi,
         Does anyone know if the thinkpad T60/T61 serial/parallel bay adapter 
        40Y8121 supports kgdb ? It must be able to run even if the system crashes with
        just the default minimal kernel serial driver.
    Regards,
    Sanjeev.

    I know several people who use this adapter for programming industrial robots or specialised measuring instruments which require a native serial port, all reports are 100% AOK
    Andy  ______________________________________
    Please remember to come back and mark the post that you feel solved your question as the solution, it earns the member + points
    Did you find a post helpfull? You can thank the member by clicking on the star to the left awarding them Kudos Please add your type, model number and OS to your signature, it helps to help you. Forum Search Option T430 2347-G7U W8 x64, Yoga 10 HD+, Tablet 1838-2BG, T61p 6460-67G W7 x64, T43p 2668-G2G XP, T23 2647-9LG XP, plus a few more. FYI Unsolicited Personal Messages will be ignored.
      Deutsche Community     Comunidad en Español    English Community Русскоязычное Сообщество
    PepperonI blog 

  • Can digital I/O lines emulate a parallel port?

    BACKGROUND:
    I am writing a VI that needs to sample multiple analog channels at high speeds (~2 msec) while simultaneously receiving byte-sized codes transmitted from a second computer (from either it's serial port or parallel port). These other posts of mine might help you get a better idea of what I'm doing:
    http://exchange.ni.com/servlet/Redirect?id=1052290
    http://exchange.ni.com/servlet/Redirect?id=1057299
    THE PROBLEM:
    I need a way to receive these codes at the same high sample rate that the analog channels are being sampled with, and they need to be on the same timing signal (so I know when the codes arrived relative to the analog data). Thus I can't use the built in serial or parallel ports, since the timing would
    be inaccurate at such high speeds.
    MY QUESTION:
    Is there an established way to make the digital I/O lines on a NI daq board receive codes from a serial or parallel port? I am using a PCI-6033e, so if I can just use the digital I/O lines on that board, that would be ideal. However, I would also be willing to buy a sepparate digital I/O board that could be linked (for timing purposes) via an RTSI bus, and use that to receive the bytes from the second computer.
    Any ideas for a software or hardware solution to this problem?
    Thanks,
    Zach Crittendon

    Thanks, Filipe. That's pretty much what I expected as far as the PCI-6033 card was concerned.
    However, one thing I failed to mention was that the host computer can only use its standard built-in serial or parallel port, not an NI DIO card (the signals are coming from antequated software that can't realistically be ported to use an NI card).
    So...is there a way to take a parallel-port signal from the host computer and have an NI DIO card on the client computer receive it? (Presumably after passing through some sort of adapter, if necessary.) If so, what sort of DIO card should I look at?
    Thanks again,
    Zach Crittendon

  • Reading Ascii charactors from Parallel port???

    Greetings:
    I have a question about instructing a third party vender who is writing code in VB6.0. (windows XP sp2) 
    They will be sending cycle counts thru the parallel port to my computer that i will be capturing using Labview 7.1.1 (windows XP sp2)
    The format of the streaming will be Ex.   *000000324*000000325*000000326*... etc. Continuously
    I can tell him to get rid of leading zeros if need be.
     I think i can capture this using VISA serial read.
    a) But what should i tell the third party vender for him to write to the parallel port?  Also should set the printer port to RAW
        and/or bi-directional printing .
    b) What is the pinout of the parallel cable between the two computers , is there a Null modem type of cable available, or is it pin to pin?
    c) What about handshaking , such as printer not ready, buffer full, etc.etc.
    Any help would be apreciated.
     Thanks
     Forrest 
    [email protected]
    to modify thier software to a
    Parallel port. so that i could capture.
    I have a third party group that is running a process sending and receiving
     data
    > thru a USB port for control of a frequency test. They are keeping track of
    > cycle counts that
    > are important in there test. They are using Visual Basic 6.0.
    >
    > What I want to do is to send the cycle counts ( which could be up to
    > 999,999,999 cycles)
    > (on an older system I would capture the cycle counts from a RS232 port
    that
    > they were send to me on another computer[Running Labview 7.1.1])
    >
    > I need ( since RS232 ports are sort of going away on new computer system
    > nowadays) to capture a streaming cycle count from the third Party system.
    > etc which will be continuous. They can modify there Visual Basic 6.0 to
    > incorporate USB drivers for your chips. I will be capturing the Data
    either
    > RS232 or USB into Labview 7.1.1 .
    >
    > I noticed you had drives on your web site with VB and Labview.
    >
    > Could you guys give me some suggestions if possible.
    > Thanks
    >
    >

    Hi Forrest,
    Okay... that makes more sense.  You are trying to communicate beetween 2 PC's.  Something like LapLink.. And yes, it would be okay to do this with the parallel port, it may have more speed than the serial port.  However for ease of implementation, you can use the serial port communication.  It is actually quite easy to implement. 
    The first step (if you are using Windows), is to establish the communication between the PC's using Hyperterminal.  You should be able to "chat" between the 2 PC's.  Maybe I shouldn't use the word chat..  You can communicate (Tx/Rx - ASCII) between the 2 PC's.  Once you verify that this works (at the desired speed - and configuration), you can implement it in Labview. 
    RayR

  • Parallel Ports vs. Trashing Printers

    Recently bought 3 new workstations:  2 w/Windows 7 - - 1 w/Windows XP Pro... Question is:  my old HP Laserjet 2100tn will not work with these computers due to their not being a paralel port on the back of the computer.  
    Do they make converters for the cables to make them work? Or is the printer basically worthless at this point?
    This question was solved.
    View Solution.

    You can purchase and install parallel port adapter cards and the printer will work. I can't specify which cards as you haven't stated what the specs are on your workstations. There are also usb to parallel port converter cables available.
    Best regards,
    erico
    ****Please click on Accept As Solution if a suggestion solves your problem. It helps others facing the same problem to find a solution easily****
    2015 Microsoft MVP - Windows Experience Consumer

Maybe you are looking for

  • How to Import entire structure located on a system to a new system.

    Hi Experts, I have been working on this project from one week.Now i need to get that entire project located on that system to another system where in the project can be worked on both the systems simultaneously. I would like to know the procedure for

  • InetAddress.getLocalHost works differently with jdk1.4.0 beta65 and rc

    I am using jdk1.4.0 on Linux with two network interfaces, one of them with a private IP. When using jdk1.4.0beta65 InetAddress.getLocalHost seems to return the IP of the first entry in /etc/hosts corresponding to my machine's hostname. With jdk1.4.0

  • Small CIN problem...

    Hi all, I am having problems with calling external dll function from a CIN code. Please help. The CIN input consists of few integers and one integer array. Inside the code a C structre array is created sizeof the integer array. The code then calls a

  • Lotus Traveler sync issue

    Our company is syncing Lotus Notes emails, contacts via Lotus Traveler. Time to time (ones a week) I have to switch off/on my iPhone 3GS as the push method stops to work. I can still receive emails as soon as I open Mail app on the iPhone but company

  • Having two oracle clients installed at the same time

    Hi, I was wondering if there is a way to have two oracle clients installed at the same time on one computer, and if there is a way to be changing the default client between the two. I need to have installed the oracle client 10g and 8 versions on the