Pulse generation on PC parallel port and its maximum frequency

Can i generate pulse pattern on any one out of 8 lines of IEEE1284 using Labview? if yes what is minimum period and duty cycle?
Yours sincerely

I doubt you will get up to 2 MBps and whatever you get you will not have any real control about the timing. If you use VISA LabVIEW sends the data to the COMM port driver and that driver outputs it with whatever handshake speed the remote side answers. Also in order to use anything but the old unidirectional printer mode you need to have a device that is intelligent enough to startup in Nibble mode to negotiate the maximum mode it supports. Without any remote device that does the negotiation and handshaking there won't be any EPP, ECP or whatever other bidirectional mode.
In unidirectional mode you can expect a few kBps at most and again the speed will be whatever the CPU is able to hammer through the parallel port. If you want to have any control of the speed you need to program the parallel port directly on register level. However that will maxout at 1 or 2 kBps at most and you should not expect any fine grained and steady speed control at that level. Windows is not realtime and trying to control anything reliably in software that is less than several 10ths of milliseconds is simply impossible without going into kernel mode and writing the timing critical parts in a kernel driver.
Also direct access to the paralell port registers is out of question for 64 bit Windows.
Rolf Kalbermatter
CIT Engineering Netherlands
a division of Test & Measurement Solutions

Similar Messages

  • I'd like to Pilot Parallel Port an its seperate bits

    Hi...
    I'd like to pilot 8 relays with the normal parallel-port of a PC using LabView. In this case I have to pilot 9 bits of the parallel port. How can I realise to pilot the parallel port and the seperate bits and which VI should be used?
    Message Edited by Sushi on 05-16-2006 11:05 AM
    Message Edited by Sushi on 05-16-2006 11:05 AM

    Hi Sushi,
    The first thing to investigate is whether the PC's parallel port can actually drive that many relays due to loading conditions.  Check out the specs of your PC's bus versus the loading requirements (typically mA) for a given relay. 
    As for controlling the relay using the parallel port, you can have a look at the example provided by Labview by searching within the Help menu, under "Find Examples", then search "parallel port".  Although reading & writing to the parallel port is relatively easy, the nice thing with the examples is that it provides information on each line of the port (data vs control, etc).  I also posted an attachment a few years ago on how to set up the port.  This was used to open / close relays..  I will look for the thread.
    Regards,
    JLV

  • Parallel port and labview

    I am trying to control a OMHT23-400 stepper motor through a 3540M motor drive using a Moschip PCI Parallel Port. I created a program to send alternatilng pulses to the motor and rotate it a desired amount of degrees. The address of the stepper motor in my computer is I/O Range BD00-BD07. The same program worked in another computer who's parallel port address was I/O Range 0378-037F. I dont know why the program is working in the first computer and the same program wont work in this one. Thank you for your help.
    PS: the program that i wrote is attached below.
    Guillermo Naranjo
    Physics/Space Science
    Florida Institute of Technology
    Phone: 768 537 6392
    e-mail: [email protected]
    Solved!
    Go to Solution.
    Attachments:
    Rotation of Camera2.vi ‏17 KB

    Dear Gant88,
     first download and unpack accesshw.zip as instructed  (you can also unpack it to the directory where your .vi files for this projet are, thugh this is not good practice).
    I attached my write_port and my read_from_port. (LV 7.1)
    In my case I wanted to write (or read) 32 bit integer from the port, for this purpose I am writing (or reading) three (data, status, control) bytes at different locations. You will figure out.
    Take care not to have any printer installed (in win xp) on parallel port, because windows will do some check-ups on printer from time to time. This will interfere with your program. 
    Try and let me know.
    regards.
    Bojan
    Attachments:
    write_to_port.vi ‏28 KB
    read_from_port.vi ‏32 KB

  • Could you help me to control a DC motor with the parallel port and windows 2000?

    I have labview 5.1 and i want to control my application throught the internet

    I would recommend upgrading to LabVIEW 7.0 for a couple of reasons. First, LabVIEW 6.1 introduced remote front panels which allows you to control a VI through a web browser. Setting up remote front panels is very simple and that alone is worth the upgrade. As far a using the parallel port you can use VISA to send/receive commands via the parellel port if you are using a motor controller with a parellel interface. If you are talking about using the port on a bit level to control the motor, LabVIEW 7.0 ships which an example of how to do basic digital input output with the parallel port.
    Regards,
    JR A.
    Application Engineer
    National Instruments

  • IPod 4th generation will not turn on and its brand new!

    I just got my iPod touch. It is a 4th generation. I got it for Christmas of 2012. Now it wont turn on. I had left my iPod touch on the floor, my window was open, and it was very cold. I left it fully charged and I went to sleep and woke up and it wouldnt turn on. I didnt have music playing or the wifi on so that wouldnt be the cause of it not turning on. The coldness may have something to do with my iPod not turning on. It won't show up on the laptop and I'm scared the battery isnt working anymore. I am considering the thought of bringing it to the Apple Store. I dont want to get a new one cause I have a touch screen cover on my iPod. I hope someone comes up with an answer. Please help ASAP!

    Try:
    - iOS: Not responding or does not turn on
    - Also try DFU mode after try recovery mode
    How to put iPod touch / iPhone into DFU mode « Karthik's scribblings
    - If not successful and you can't fully turn the iOS device fully off, let the battery fully drain. After charging for an least an hour try the above again.
    - If still not successful that usually indicates a hardware problem and an appointment at the Genius Bar of an Apple store is in order.

  • My phone is stuck on the itunes logo and the charging port and its stuck in recovery mode and please help

    please help im about to cry it wont even turn on.

    Hi itzzzlill,
    If you have an iPhone that is currently in Recovery mode, you may find the following article helpful:
    iOS: Unable to update or restore
    http://support.apple.com/kb/HT1808
    Regards,
    - Brenden

  • Macbook pro and its maximum resolutioni

    Hello!
    I was wondering if I can connect a monitor with a resolution above 1920 x 1200 using the MiniDisplay to DVI adaptor?
    thanks!

    No, the $99 adapter is only is you have the old 30" cinema display form Apple.
    Your display, which I'm taking a wild guess is a 23" Samsung does not need dual link DVI.
    (UPDATE: I saw your other post. I didn't know Acer made a monitor at that resolution. I thought the only monitor that ran at the resolution was the samsung...and the only reason I knew that is because I almost bought that model specifically because of the higher then 1080p resolution.)
    You need the Mini DisplayPort to DVI adapter. It's $29 - $19.
    Hope that helps!
    -Scott

  • Pulse Generation application with DAQmx and a PXI-6624 module?

    What is the best implementation method for the following pulse generation application
    using LabVIEW, DAQmx and a PXI-6624 counter\timer module?
    I have two rising edge trigger signals (Trigger-1 and Trigger-2).
    There is ample spacing between each trigger. They never occur at the same time.
    I need to generate a single pulse (fixed width, variable delay) whenever Trigger-1 occurs and
    a finite pulse train (fixed width, variable delay, N-pulses) whenever Trigger-2 occurs.
    However, the output must appear on one counter output because this composite signal
    will be used as a trigger source for another PXI module in the rack.
    With DAQmx and a TIO counter\timer can I use both the GATE (for Trigger-1) and
    AUX (for Trigger-2) at the same time on the same counter to gate out the desired pulses?
    Trigger-1 would be wired to the GATE of CTR0. One Trigger-1 event would generate one pulse on the output of CTR0.
    Trigger-2 would be wired to the GATE of CTR1 and the output of CTR1 would be routed to the AUX input of CTR0.
    One Trigger-2 event at the GATE of CTR1 would generate multiple pulses on output of CTR0.
    Would DAQmx and the PXI-6624 TIO support this implementation?
    What is the best way to accomplish the task at hand.
    Thank You.
    Best Regards,
    Scooby

    Hi Scooby,
    I have looked into the application you have described and I see a potential problem with what you describe.  In DAQmx, it is not possible to call the counters of the same DAQ device in the same task, so you cannot have the finite pulse train generation and the single pulse generation tasks running at the same time.  What you can do, since you mention the triggers will not occur at the same time, is to stop one counter task while you are triggering another.  The way I would suggest you merge the outputs is with a two input Or logic gate to avoid damaging your counters.  Your signals will effectively be added together by this logic gate.   I do not see any way to merge the outputs internal to the DAQ device. 
    Please let me know if I can be of additional assistance.
    Laura

  • Parallel port(help)

    Hi,
    I wanna try to do a project.its about parallel port and show the numbers on the display.The user will enter a number between 0-255.For example: user entered 36 . So the code will send the 6 number.the low label(level) bits will be sent.And we ll see the number on the display with 7 leds.I need help and maybe can give codes for me ..Thansk for all..
    Message was edited by:
    yetcom

    anyone can not ????:(((

  • Low frequency measuremen​t from Parallel Port

    Hi there...
    I need to calculate the "on" and "off" time and duty cycle in pulse form from a parallel port. By making the circuit in 5 or 0 V, I just simply put it in my parallel port. The problem comes when I need to measure a very very low frequency. In this case, I want to measure the duty cycle from my operated refrigerator. I need to know when the thermostat goes "on" and when it comes to "off". In my experience, the thermostat will be "on" in about 5-10 minutes and "off" in about 20-30 minutes. So, the pulse might be take for a long periode each.
    I've tried with Timing and Transition Measurement wizard or even by using Pulse Measurement.vi which is included in Waveform Measurement category. It only works for 2 Hz and . If I try to set it with 1 Hz or below, it comes the message :
    "Error -20308 occurred at Timing and Transition Measurements -> Untitled 1
    :4"  (waveform index 0 of 1)
    Possible reason(s):
    Analysis:  The waveform did not cross the mid reference level enough times to perform this measurement. Check the signal length, reference levels, and ref level units."
    Could someone help me please ?
    Regards,
    Ricki

    here is a quick shot to give you an idea
    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:
    port logger.vi ‏22 KB

  • Parallel port to usb cables

    Hi guys,
    I just bought a new PC for my parents (Dell Inspiron, Merry Christmas...), and realized only this morning that it doesn't have a parallel port to support their antique laser printer (which still works well).
    I did a quick search and found these Parallel Port to USB cables:
    http://www.tigerdirect.ca/applications/ … &CatId=471
    http://www.thesourcecc.com/estore/Produ … ct=2608263
    I prefer the latter because tiger direct charge way too much for shipping and there's a The Source in town here.
    Will these work with Linux -- they claim its seamless, but I can imagine cups possibly getting confused if it expects a parallel port and gets USB? Any idea how they work?
    Also, the printer is from 1994, will it work with a IEEE-1284 parallel port, or were they using EPP or something else back then?
    I could also get a PCI parallel port adaptor, but you've probably heard my horror stories every time I open a case. ;-)
    Thanks for any advice!
    Dusty

    I was just given an old Canon BJC-1000 printer with a parallel to USB adapter today. Cups does find the printer and will print on it. My only problem so far is that the page is shrunk down to about 1/16 of its original size! It's very funny but not real convenient.
    Edit
    Never mind that. It works!!! Readjusted everything in the CUPS config, restarted my application, and all is well.
    Last edited by skottish (2007-12-26 01:49:54)

  • 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

  • Parallel port under linux

    could anybody help a linux-labview beginner?
    i'm trying to write to my parallel port. but labview is obviousely not set
    up for this. does anywone happen to have a vi which can do that?
    best of regards
    michael h. fischer
    ============================================
    cell: +43 664 1254415
    fax: +34 664 1265930
    icq: #61578912
    vienna university
    institute of geology
    geochronology laboratories
    althanstrasse 14 / 2a482
    a - 1090 vienna (austria)
    web: www.univie.ac.at/geologie/fischer/
    wap: www.univie.ac.at/geochron/wap/
    ============================================

    "michael h. fischer" writes:
    > maybe i didn't comunicate here.
    > i don't intend to print anything out but i want to set each pin of the port
    > hi or low. i'm trying to turn some electrical relay-switches on and off.
    >
    > thanks anyway, all these hints are useful to me
    Michael,
    So using an true ASCII printer or dircetly /dev/lpx is the easiest
    solution. Just "print" the ASCII charakter representing the bits to
    set.
    Johannes Nieß
    >
    > "Johannes Niess" wrote in message
    > news:[email protected]..
    > > "michael h. fischer" writes:
    > >
    > > > could anybody help a linux-labview beginner?
    > > > i'm trying to write to my parallel port. bu
    t labview is obviousely not
    > set
    > > > up for this. does anywone happen to have a vi which can do that?
    > >
    > > Michael,
    > >
    > > I'm not sure how you adress the parallel port.
    > >
    > > Writing directly to an I/O port is not allowed for security
    > > reasons. There are VI's to do the required system calls.
    > >
    > > You might be able to use the (old) serial VI's with a high serial port
    > > number. You can look up the port number on a LV version for Windows.
    > >
    > > I'd use a completely different strategy: VISA can address parallel
    > > ports. With Windows you just use ASRL10. You might need some tweaking
    > > of the VISA preferences files to do it.
    > >
    > > Printing data to a parallel port should be done with the tools
    > > designed for it: System Exec: lpr file.txt
    > >
    > > Does someone have a summary of the options for reading the parallel
    > > port and setting control lines via the described methods?
    > >
    > > Johannes Nieß

  • Errors with the parallel port

    I am trying to communicate with a robotic arm which is attached to the parallel port.

    and... ?
    See:
    http://exchange.ni.com/servlet/ProcessRequest?RHIVEID=101&RPAGEID=205&HUSERSHADE=0&HOID=5065000000110000006D070000&UCATEGORY_0=_49_%24_6_&UCATEGORY_S=0
    2006 Ultimate LabVIEW G-eek.

  • HP color laserjet 4600 parallel port is wierd need help to identify

    Hi I have a laserjet 4600 and it has a wierd looking parallel port and I can't seem to find out the name for it so I can buy it online. I have tried looking for it online but the only thing that comes up is the IEEE 1284 36 pin parallel port. Can anyone help me identify this port so I can connect it to my computer?
    Thanks

    dan4757 wrote:
    I am running windows 7 64 bit trying to connect to a HP color laser jet 4600. We have tried multiple times to get a Notebook to load the driver. Everything works and asks to print a test page. When you press print test page nothing happens and nothing will print. 
      This is a working printer. It is presently hooked to a network and it works from it. I am trying to make it work from my notebook. I am using a ethernet cable wired directly to the Jetdirict card. 
      Do I need to set up a network. I know the IP of the printer and can not access it from the Notebook.
    This should work for you.  I've installed several printers using a Jet Direct this way:
    Install the printer manually.  Go into Devices and Printers -> Click "Add a printer" then select "add a local printer" and select the option for "Create a new port - Standard TCP/IP Port" and click next.  Type the IP address of the printer into the Hostname/IP Address field then click "next" -  Choose Hewlett Packard Jet Direct from the Standard drop down menu then click next.  You will need to select your printer model/driver from the list and then click next.  

Maybe you are looking for

  • Sender email address verification

    During my recent DNS server outage (caused by XO DSL suddenly turning on filtering of port 53), I noticed something quite interesting with .Mac server and I am wondering if there is a way for Tiger server users to EASILY implement the same feature to

  • Video wont sync onto ipod

    Hey, im seeking help... For some reason, my videos that are in my itunes library for some reason will not sync over to my ipod. I have a 160gn ipod classic, anyone have any idea why this isnt happening? Cheers

  • Adobe Air License Agreement

    Adobe Air Community, I am contacting regarding the Air Software License Agreement that is listed before selecting the Install Now icon at the web address http://get.adobe.com/air/otherversions/. When selecting the Software License Agreement there are

  • Photocast not updating

    I have 26 images in the folder I ve set up as my photocast folder. I checked the box that said to automatically update when new images are added, but the photocast only shows 20 images. I just manually updated it and it made no difference. I don't se

  • WAR Deployment Issue

    Hi All, The Application which is built on web services, EJB3.0, Toplinks Essential . When i deploying this application on WebLogic Application Server 10.3 everything works fine. But while Running the same application after deploying in WAR format giv