Parallel port adapter in labview
I have usb to parallel port adapter . After plug it into my laptop some drivers installed automatically and it is detected in device manager as "parallel port printing support" under "universl serial bus controller".
I know how to write data to serial port using visa write funtion but, i dont know how to access this adapter from labview 2010
i am using windows 7.
Can anyone help me in this regards.
Thank you
Please stick to the original post. Thanks.
Similar Messages
-
Parallel port updating with labview
I have a project to do that I will need to control using the parallel port. The problem is that I will need to use more than one pin at a time. An example is, when I press button 1, data pin1 and data pin3 will send a signal, and when I press button 2, data pin2 and data pin4 will send s signal and data pin1 and 3 will stop.
I tried doing that but stopped at the programming stage.
I have attached the file I've just did, and I would be most grateful if you kindly pointed me on how to configure this problem.
note: am using win2000 and the parallel port is working fine and i've tried controlling things with it, to make the question more obvious, how could i control the 8 pins and update them as i like. i've read some articles
and answers but didn't understand well since am new to labview
Best regards,
Attachments:
semifinaltest.vi 39 KBHi,
find your vi with working parallel port (values should change). You have made a mistake - do not toggle byte/word, the paraport does not support 16bit. In addition I have attached a radio-button selection-vi; this should give an idea, how to select one of xx buttons; maybe the event structure could do the same job for your case. Unfortunately I don't have the time to deliver a complete solution for you....
Hope this helps already. If you have further questions about paraport - mail simply to my .web-address
You will find it by double-clicking on wha@atmel
regards
wha
Attachments:
semifinaltest.llb 46 KB
Simulating_Radio_Buttons.llb 47 KB -
PICO DrDAQ USB Parallel Port setting for labview 8.2
Hi,
I have a PICO DrDAQ card (parallel port) and by using USB Parallel Port (USB)connect to the laptop, and i already install this software. I can run DrDAQ with PicoScope(DrDAQ software) and can produce a result, but when i try to run it in LabVIEW 8.2 there's no result generated from it. Furthermore, i had check through the device manager (in My Computer=>System Properties) and prompt to see the Pico parallel port within the USB controllers. Therefore, i would like to know is there any setting i need to perform so that the problem can be solve.
Thanks.Hi,
Thanks for your reply. Ya before the driver installed, i specify the USB port for this device to used on and after that i set it to port 101 (for USB) in the LabVIEW.
and the programming is on the attach file.
thanks.
Attachments:
DrDAQ.vi 32 KB -
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 -
I have installed Labview 2010 32 bit in windows xp, but i cannot find "deviceand interface" in measurement and automation
can anyone help in this regards.
Do i need driver to access parallel port in labview?
thank youIt's right under Data Neighborhood in My System. Click the + next to My System to open the choices under it. It should be very easy to find unless your MAX has a big problem.
No, you don't need drivers to communicate with the parallel port.
Using LabVIEW: 7.1.1, 8.5.1 & 2013 -
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 -
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ß -
Is it possible to control the parallel port with Lookout 5.0
I want a simple demo setup on a PC, so I can control the 8 data bits of the parallel port. Example, to use START p/b that would toggle bit 0 and data returned on bit 1.
It is possible to send bytes to the parallel port using the ASCII object within Lookout. However, it is presently not possible to control the state of the individual bits on the parallel port with Lookout.
If you need to control the individual bits on a parallel port, consider using LabVIEW. It is much more powerful when programming serial and parallel ports. -
any one can tell me how to change the mode of parallel port from " out put only" to input....
Apparently so (I don't have access to solaris at the
moment but looking around the net it would appear
that
a mode change is possible in solaris.
Try using the rxtx library
http://www.rxtx.org/
It apparently supports Windows now. It provides a
commapi interface and it may provide more
functionality
then suns commapi implementation. (although I would
not hold my breath)
There are also a few comercial vendors of commapi
complient libraries out there but they appear to have
problems with parallel ports also. One suggestion is
to buy a cheap serial to parallel port adapter and
use that (nasty hack though).
matfudThank so much for help. I will try to use the rxtx library and I'll inform you about it.
Further, I agree with you regarding the use of a serial/parallel adapter, it seems a last solution.
marco -
Does anybody know how to read/write through the parallel port with Lookout 5.0? Is there any example code for this?
Hi,
It is possible to send bytes to the parallel port using the ASCII object within Lookout. However, it is presently not possible to control the state of the individual bits on the parallel port with Lookout.
If you need to control the individual bits on a parallel port, consider using LabVIEW. It is much more powerful when programming serial and parallel ports.
Remzi A.
National Instruments -
Dear All
I need send data to parallel port using "JSP", But I have not managed to do, I tried to jkavax, javacomm, parport, CXR, etc..
Anybody can help me? Do you have any examples?
I'm using apache tomcat 6.0.16, jdk 6, Win XP SP3.
Help me please...
[email protected]It's right under Data Neighborhood in My System. Click the + next to My System to open the choices under it. It should be very easy to find unless your MAX has a big problem.
No, you don't need drivers to communicate with the parallel port.
Using LabVIEW: 7.1.1, 8.5.1 & 2013 -
Hi to everyone,
I've to manage the dac (dac714 TI datasheet attached), by parallel port and by labview.
I've to control it managing four parallel's line (as indicated in the fig.8a for the only first dac pag.12)
I've to send the digital input as indicated in the timing's diagram.
How may I do it by Labview.
Any advice or documentation about it will be appreciated.
Thank you.
Paolo
Attachments:
dac714.pdf 132 KBHi Paolo,
I don't have time to develop your application,
but take the attached vi as a "starterkit".
It is very easy to expand it to your needs.
If you have further questions: have a look to vi properties/documentation. In addition find a scope-picture ( LPT was driven by WinNT /ATHLON XP1600)
regards
wha
Attachments:
DAC714_starter_kit.llb 38 KB
DAC714.png 10 KB -
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 -
"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.
Maybe you are looking for
-
Problem with Contacts for 6500 slide
I recently bought a Nokia 6500 slide and i`m very pleased, except one thing. I used to have some other phones, and all my contacts were on the memory of that phone (not on the SIM). For me to have my contacts on the 6500 slide, i had to move all thos
-
Screen now has a yellow tinge...
Last night I started up my G5. I clicked on mail and while moving the arrow to select an email my screen changed to a yellowish tinge. My computer works fine otherwise. I have tried fixing it in preferences, with no luck. Have I clicked on something
-
My iPad is bleeding - is there solution for this?
My brend new iPad 2 has backlight bleeding on the bottom edge of the screen. How can fix this?
-
Standard event at end of report
Hi guys, This is a really complex question and my manager expects me to know the answer to this just 'cause I'm certified, but I think this is very expert knowledge. The question is: Is there a standard event triggered at the end of EVERY ABAP report
-
Hello, Is there a limit to how fast a timed loop can run with an accurate timestamp? I would like to sample at *exactly* every 200 msec, however my output file indicates that it is ~ 200 +/- 10. Is there a better way to create my timestamp? BTW - the