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

Similar Messages

  • How can i write a vi in using parallel port for digital inputs

    Dear all,
    i am a beginner user of LabVIEW and i want to write a vi in using parallel port for digital I/O. After reading the article "Using the Parallel Port in LabVIEW
    " and download the parallel.zip, i know how to write the vi for output, but i still don't know how to write the input one.i've try to use a Inport.vi to test, but nothing change when i set pin2-9 to high. (my computer:win2K & LabVIEW 6.1)
    Can anybody teach me how to write it?
    Can anyone write the vi for me too?
    Thanks all!
    p.s.i've already install the "accessHW.exe"

    Are you using VISA or the accessHW VIs? You may need to goto the bios and set the parallel port to run in spp mode or standard mode. This is the simpliest configuration and where you should start.
    As far as writing the VI goes, just copy the diagram out of the tutorial you mentioned.

  • How to use the Control lines of a parallel port as Input lines to be read using Labview ?

    The details are :
    NI Software : LabVIEW
    Version : 5.0
    OS : Windows 95
    NI Hardware : N/A
    Drivers : N/A
    CPU : Pentium
    RAM : 48
    Vendor : darcom
    Customer Information :
    SPEL TESTING
    SPEL, INDIA
    [email protected]
    Ph: (91) 4114 53818
    We do not have any DAQ cards within the PC. We have the parallel port which is EPP and ECP compatible having the address 278h on LPT2 and we are trying use this port for reading 8bit data from an external circuit. We developed a vi program in Labview 5.0 to control the parallel port.We tried with the Data lines to send signals from PC to external device through this parallel port with the addr
    ess 278h (which
    is Data lines) and it works fine. We also tried using reading 4bit data from external
    device to PC through this port with the address 279h (which is Status lines) and it
    is also working fine.
    But it was not possible for us to read through Control lines whose address is 27Ah. Whereas when line printer (dot matrix printer) was
    connected, it was possible for us to take print out. Thus printer was working. This
    informed us that the control lines are all OK!
    Can you please clarify, how to use both control lines and status lines to read 8 bit data through this parallel port using the Labview software.

    There are several Knowledge Base entries about this on the NI site, but probably the most detailed document is on the Advanced Measurements (www.advmeas.com) website. Try looking at this page, I think you will find it useful.
    http://www.advmeas.com/goodies/parallelport.html

  • JTAG Digital Waveform transfered using USB or parallel port ?

    Hi all
    I was wondering if there is a way to send JTAG Digital Waveforms generated by LabVIEW into a parallel port or USB port.  I know that there is a way to use DAQmx devices with JTAG Digital Waveforms where DAQmx drivers take JTAG Digital Waveforms and transfer that into physical signals which is then send to UUT.  I really am in a need to try to mimic whatever a DAQmx can do to make that happen with a parallel port or usb port. I would really appreciate if you can help me it is very urgent.
    Thanks

    Hi Cristopher
    I do really appreciate for a quick response. I am full aware of the fact that NI products for digital waveform generation will do the job, plus it is easier to implement them. However my goal is to use an inexpensive device that can generate external timing and my JTAG library and make .exe files from my final code and distribute that setup for several computers in factory. So buying several digital waveform generators from NI for each PC in factory will be a very expensive option. I think now you have a better picture why I am trying to find another inexpensive way to implement these digital waveforms using JTAG library. It would be ideal if I can use parallel port with some external timing to do the trick but I am really not sure where to start. Cirstopher I would really appreciate if you can come up with any suggestions in regards to this problem that I am having.
    Thanks again.

  • 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 parallel port

    Hi, i will use labview for my thesis project and i plan to input my data via parallel port.
    My input data is 8 bits so i tried to use control and status lines of the parallel port.
    I used the method that is described at NI`s developer zone web page which shows using control and status lines.
    http://zone.ni.com/devzone/conceptd.nsf/webmain/72​c6fc6ce4ad4d1386256b1800794596?OpenDocument
    By using that method i achieved to input first 4 bits of my data over status lines while there were no change at those of control lines.
    Because my data that i want to input consists of 8 bits, i could only be able to manage half of it.
    what can i do for using control lines?
    Or as a second alternative, is there any way to input 8 bits over data register?
    Below i have attached the code that i had written to input by using control and status registers.
    Attachments:
    can1.vi ‏30 KB

    Well, I looked at your VI and it looks like you have everything setup right. The only thing I can think of is that you are not grounding the control lines when you want to set them low.
    As far as your second question is concerned some parallel ports can be bidirectional. The article that you provided explains how you can test if you parallel port is bidirectional, and gives an example on how you would read and write from the data bits.
    Also, you may want to try the two parallel port shipping examples in LabVIEW. There is one that uses the data bits, and one that uses the status and control registers. You can find these examples by going to Help>>Find Examples, then search for Parallel.
    Shawn B.
    National Instruments
    Use NI products on Linux? Come join the NI Linux Users Community

  • E4200V2 Print adapter - parallel port to usb compatibility.

    Currently my setup works fine except that I need another ethernet port.
    I have a E4200V2 with a HP laserjet 4000N printer connected via JetDirect ethernet and I am able to print with any of my devices.
    However, because I have need of another ethernet port, I am wondering if anybody has tried using a parallel to usb cable? The parallel side of the cable being connect to the printer and the usb side to the router. 
    Has anybody done this, or even know if it can be done?
    Or if I really want that port made available, will I have to get some type of external print server?
    I know that HP makes a JetDirect Card with a USB port, however, I don't want to spend the $80 on ebay to get a used one if a $10 new cable will work.  

    hiptechboy: "When I hear someone say that they want to use a Parallel to USB cable, I can't help but think of an HDMI to VGA cable haha. Anyways, I think that you have zero chance with a cable like that."
    Sadly, I think you right. The only reason why Parallel to USB does work is because the computers can emulate a parallel port through USB. Just like the HDMI to VGA. You’re not going to go from your computers VGA port to your TVs HDMI and have things turn out the way you want them to. It only works one way. For lack of a better term I was hoping my new router would be "smart" enough to emulate a parallel port through the USB.
    While I have no doubt that it is capable of doing so, the question is if the router is programed to do so without the need for me to build and load a custom ROM. Might not be a bad idea except that I doubt that there is a market to actually make that worthwhile financially. The time and effort required will go way past the $50 I’m willing to spend to make this work.
    I think I will just go troll around the University Surplus store and hope to luck out on a HP JetDirect USB Card.

  • 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

  • Parallel port stepper motor

    Hi All,
    I followed the instructions on this link
    http://zone.ni.com/devzone/conceptd.nsf/webmain/72C6FC6CE4AD4D1386256B1800794596,
    in an attempt to drive a stepper motor. I used the VISA method and grounded pins 12 and 13 and tried to obtained some output with no success... Is there any other pins that I should take care of other than the data pins 2-9 and pins 12,13. I am using a mulitmeter to measure the voltage of the output data pins. I also tried the register method by using the outport.vi but also without any success. Both vis I written does not give me any errors. I tested the parallel port on a printer and it seem to be working fine. Perhaps I had missed out something? An early thanks for anyone who could enlighten me on parallel
    port output.

    Hello;
    You don't need to worry about any other pins than the ones you described. The best way to trouble shoot that is by using a Scope to catch the output line of the parallel port and to have a really simple VI just writting a high level state on that line.
    Regards
    Filipe A.
    Applications Engineer
    National Instruments

  • Sending out a signal via Parallel port in interrupt mode?

    I am trying to send out a 5KHz TTL signal via parallel port. the CPU should be disturbed at most time. so we can't use loop structure. I guess I have to use interrupt mode to do this job.
    In other languages, we might be able to programm 8253, which is a timer and counter chip on mother board. can we generate a 5KHz siganl via parallel port without disturbing CPU?
    or can we call another labview program in our main labview program.by doing so, two programs are running at the same time, we may be able to solve my problem
    Thanks

    Hi Sean-
    This functionality is theoretically possible, but this might not be the best option if you are concerned about latency in operation. A few references for using the parallel port in LabVIEW are linked in this thread.
    If you are concerned about precise timing and operating system latency issues, you may want to consider a hardware-timed PCI counter/timer board instead. This utility is a good starting point for selecting such a card.
    Tom W
    National Instruments

  • Anybody knows how to control parallel port to generate digital line ?

    All,
         I have found at some website, there are a software can generate corresponding signal (I suppose that is digital line) to driver a relay board, the relay board is 8 channels. which out put is pin 2, pin3, pin 4, pin5, pin 6, pin7, pin8 and pin 9 of parallel port to control it . it is well control, how can it do ?  and I want to simulate it at LV with parallel port too , how can it achieve ? which command, or a simple sample which you provide will be appreciated.
    thanks in advance.

    You forget to search through NI Web site. Here are some links.
    http://zone.ni.com/devzone/conceptd.nsf/webmain/72C6FC6CE4AD4D1386256B1800794596
    http://sine.ni.com/apps/we/niepd_web_display.display_epd4?p_guid=B123AE0CB9CB111EE034080020E74861
    Sergey

  • What is labview digital write-to-line logic high voltage?

    i'm using a pci-6503 daq hardware and cb-50lp.I'm currently doing a project to interface a labview vi to a programmable chip(downloaded with a vhdl program),using the daq hardware.The chip must function according to the labview program.I'm using 2 digital write-to-lines and 6 digital read-from-lines to interface to the chip.
    Problem:
    the 6 digital read-from-lines are able to read from the chip,but the 2 digital write-to-lines are unable to reach a logic high of 5v.This means that the labview vi can only read and unable to write to the chip to function(only one way communication).In the daq wizard,when using the test panel to test the individual lines of port a,b and c,it is able to write a good
    logic low and good logic high(5v),even when all the lines are being used altogther.But when the labview vi is being run, the write-to-line cannot write a good logic high,thus unable to interface completely with the chip.
    Please advise.Urgent!
    grays

    LabVIEW does not do anything different to the PCI-6503. NI-DAQ outputs the same 5V from MAX and LabVIEW. Are you sure the FPGA isn't driving 0V on the same line? You could test this by putting a small resistor between the FPGA and the DAQ card. See what the voltage is across the resistor.
    Even at 2.5mA, the 6503 should output 3.7V.

  • How to config the digital write-to-line so it would independent when more than one is being used

    when one digital wirte-to-line is used in the labview vi, a good logic high(5v) can be read using a voltmeter,but when two or more digital write-to-lines are being using at the same time,the logic high seemed to have split voltages and thus having a bad logic high.how to make sure that in the labview program,that when many digital write-to-lines are used at the same time,all of them can abtain a good logic high (around 5v).
    I need the solutions urgently.
    grays
    np

    Hello,
    The probable reason you are seeing the behavior you are is due to a reconfiguration of the digital port. The Write to Digital Port VI is setup to configure the entire port, then write to one line (default settings). If you reconfigure the port it will reset all the lines, and then write your new value. You will want to use the iteration input on the Write to Digital Line so you can avoid the reconfiguration issue.
    The first time the Write to Digital Line is executed in your code wire a 0 to the iteration (or leave it unwired). This will configure the port for write and write your first value. The next time you use the write to digital port VI wire an integer greater than 0. This will bypass the configuration step and simply write the new value to the
    line. You can open the Write to Digital Line VI to see how the iteration input effects the execution and configuration of the digital ports.

  • Can you do Digital In or Out on the same port (byte) as PFI timing?

       I'm using an M series board with three digital ports.  Port 0 is only for DIO, ports 1 and 2 can be used for DIO or PFI (e.g. clocking, triggering).  My question is:  can I do both DIO and PFI functions on any one port.  For example, on Port 1, I would like to use bits 0 to 6 as Digital Inputs and have an external clock signal go into bit 7 as a clock for Analog Out.  Can the port be mixed like this?
    Thanks,
       Dave
    David Thomson Original Code Consulting
    www.originalcode.com
    National Instruments Alliance Program Member
    Certified LabVIEW Architect
    There are 10 kinds of people: those who understand binary, and those who don't.

    Dave,
    The DIO lines on any DAQ device that uses the DAQ-STC ASIC can be configured on a per line basis, so using PFI and DIO lines on the same port will work just fine. 
    You can run a quick test on this using the "Gen Dig Pulse.vi" example (found in the NI Example Finder under Browse -> Hardware Input and Output -> DAQmx -> Generate Digital Pulses).  You should be able to generate a pulse on one of the PFI lines on the board, then read that pulse back in on one of the DIO lines of that port using an external connection.
    -Justin

  • Can not use 'AT LINE-SELECTION' with SET PF-STATUS

    Hi experts,
    my code is like below:
    PARAMATERS: .....
    SET PF-STATUS 'st_nam'.
    Perform Load_data . ' For list display
    START-OF-SELECTION.
    AT LINE-SELECTION.
      Perform list_detail.
    AT USER-COMMAND.
      CALL SCREEN '1001'.
    END-OF-SELECTION.
    When I execute the report , the basic was displayed , but when then i double click on the list to call the next screen '1001'. It did not work , but if i omit the SET PF-STATUS m AT LINE-SELECTION worked week , so in this case what has happened i how can i solve this problem,
    Thaks,
    PS: Reward immediately

    Hi,
    Thank you very much for your helpful answers, I have copied the report downto my system and test it , When i used SET PF-STATUS , i can not use AT LINE-SELECTION to capture events ...May be we can not use these 2 statements in parallel,...:D
    Thanks,

Maybe you are looking for

  • Playing itunes movies from macbook to Projector over HDMI

    Hi, I'd like to play moves that are in my itunes library over an HDMI connection to a projector. I think that I will need to buy a Thunderbolt to HDMI adapter. Is there anything else that I need to know about settings for this?.. do I have to allocat

  • Not able to change Billing address

    Hello, I purchased my iphone4 when I was working in Dubai. 3 weeks back I decided to move back to my home back in India. Having resently got my credit card I decided to update my billing information. To my surprise it shows that I have $1.5 pending !

  • HT1725 Updates from app store are frozen. What do I do ?..

    Tried to get them to work through iTunes by tapping download icon in lower right corner but it just went to iTunes store terms and conditions. So I tapped on that and it took me to here to show me all the legal jargon...I need help ..not the run arou

  • Feels like Christmas in July! Thanks EQ!

    I logged into Credit Karma today since it was scheduled to update, and see that Equifax removed THREE negative accounts.  2nd Mortgage - $16,500 - DOFD 8/2008Capital One Auto - $14,800 - DOFD 9/2008Prompt Recovery/Time Warner - $240 - DOFD 10/2008 Th

  • Item filed- conversion agent

    hi,   i read many blogs stating that i can use item fields conversion agent to convert edi into xml. I also read(/people/william.li/blog/2006/03/17/how-to-get-started-using-conversion-agent-from-itemfield)  in this page that i can get the appropriate