DAC managed by parallel port
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 KB
Hi 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
Similar Messages
-
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 youPlease stick to the original post. Thanks.
-
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.
ThanksHello,
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 -
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 KBHi 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 -
8200 elite Parallel port not run
Hi to all,
On my elite8200 I can not run the LPT port on my windows7 64bit port with the address but F0E0 wrong with the management software for a CNC machine.
In the bios (updated) I can only edit the IRQ of the serial port (it looks like prunes A) For the parallel port can only choose between Standard ECC + ESP etc..
Does anyone know help me?
thank you very muchPerhaps a more complete model number would help. In looking with that limited model number there are several listed, even an AIO unit. In the models such as the small form factor model, there is no parallel port ( which is normally LPT ) shown. What actual output port is being addressed as the LPT?
{---------- Please click the "Thumbs Up" to say thanks for helping.
Please click "Accept As Solution" if my help has solved your problem. ----------}
This is a user supported forum. I am a volunteer and I do not work for HP. -
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 -
New workstation lacking parallel port poses printing challenge
I'm supporting a Netware 4.11 + sp9 small business network, which long ago
had a custom DOS-like database application written to manage rental
activities. The app allows the user to print out lists of things rented,
etc. It has been working very well for years. There are several
workstations, some DOS, some Windows XP, etc., and they all share the rental
database resident in the Netware 4.11 file server.
I have had various networked printers, starting with parallel-port lasers.
More recently I have had a large Canon printer that connects directly via
our Ethernet_802.2 IPX (as well as IP) intranet. In other words, this
printer works both for Windows programs, which use IP, and for our rental
program, which uses IPX.
What's the problem, then?
An important Windows 2000 Pro workstation died, and I replaced it with a new
Windows XP Pro workstation. This new Dell computer HAS NO PRINTER PORT. I
have YET to tinker with this, as I am hoping to get this request for help
posted as soon as possible.
All my workstation computers "CAPTURE" print jobs that the rental program
"thinks" are going to LPT ports. Once these jobs get into various queues, I
have no problem getting them into printed hard copy. The problem NOW is to
fool the DOS-like rental program, which will be running on the new Dell
computer, into seeing some kind of a parallel port that doesn't exist.
I suppose I could launch a major effort into modifying the BIOS of a Dell
computer, but I am hoping there must be a better way!
Can "net use" be of any assistance?
Can Unix "lpt" printing be of any assistance?
It is not likely this rental application can be chanaged. I am not the
author.
I read another thread regarding an "opposite" predicament. It won't help
me, then, to buy a USB->LPT adapter box, because what's important here is
NOT to actually connect a printer to this workstation computer, but to
supply something (a faux LPT port) that can be captured inside this
workstation.
Any ideas most welcome.
Thank you.
John BThis is neat. But I think the all-important DOS-like custom application
rigidly prints only to LPT1.
In the absence of a real LPT1, I need to find a "faux LPT1."
Over the weekend, I'll look at this utility..."printfil."
Thanks very much!
"Davide Guolo" <[email protected]> wrote in message
news:[email protected] s.com...
> John,
>
> > I wonder how long it will be before no such cards
> > are available?
> >
> > So any tips on "faux LPT ports" are still of interest.
>
> you may want to have a look at Printfil, which can capture LPT output
> and forward it to file or directly to a Windows printer, even if no
> LPT ports are physically available on the Windows machine.
>
> You can find more info and a free trial version to download at
> http://www.printfil.com
>
> Regards,
> Davide
> aSwIt s.r.l.
> --------------------------------------------------------------
> Printfil - Windows Printing System for Applications
> http://www.printfil.com
> Odbc4All - Connection to ODBC Data Sources for any Application
> http://www.aswit.com/odbc4all
> @Kill - Batch Close Windows Applications - Freeware
> http://www.aswit.com/akill
> --------------------------------------------------------------
>
>
> -
Using Parallel Port with Outport.vi Problem
Hello,
I am trying to use my parallel port to control a relay network and have run into a problem. I am using the outport instead of visa because for some reason I get an error with visa and outport seems more simple. The problem I am having is that my program doesn't seem to be able to initially take control of the port. What I mean by this is that if I restart the computer and open/run my program, I get an incorrect output on the parallel port. However, if I run one of the example programs for controlling the paralle port using outport (attached) (I believe the one I use is called Reading and writing to parallel port using loops) I am able to control the output to the parallel port. Also, after the example has run, my program works correctly. However, if I restart my computer again and run my program first it can no longer control the port correctly. So the problem seems to be that my program isn't initializing the port correctly or assessing it right at the beginning of the program. However, looking at the example program I don't really see what they are doing that I am not. I have the correct port address.
My program takes values from a text file and displays them on the port and that works correctly.
Attachments:
CircuitTopModule.vi 26 KB
parallel port examples.llb 72 KBHi Jag213, I'm glad you were able to resolve the issues you discussed on the other forum related to this issue.
Now that you have it working, I would recommend a few things:
1. Just try modifying one of the existing examples and see what you can get away with removing in order to keep it working the first time.
2. Try modifying the timing on your example - 10 seconds is a long time to wait between each week, I wonder if you are getting a time out? Do the examples work when you insert that kind of timing delay?
3. Add the In Port.vi into your code - this may be related to getting your Out Port.vi to work correctly.
4. Your code controls 8-bits on the parallel port, while the examples control 32-bits. Do all 32 bits need to be initalized? Looking at the Parellel Port Read and Write Loop.vi Example, in the IO Connector Status, the 31st bit controls whether the target is initialized.
Play with these settings and see if you can get yours to work the first. If all else fails, build your program to run off of one of the examples. For example, have the while loop run once, and then call yours as a SubVI.
Good luck!
Joey S.
Software Product Manager
National Instruments -
Problems accessing the parallel port
Dear All,
I'm having problems to access to the parallel port using the VI write /
read to the serial port, it returns the error code 37. As far as I've
seen in the documentation this error code is for UNIX systems and we're
using Windows 95.
Anybody know what's going on?
Cheers,
Ernest
Ernest Mendoza
Institut de Ciencia de Materials de Barcelona
Consejo Superior de Investigaciones Cientificas
Campus de la UAB. E-08193 Bellaterra (Barcelona)
Tel- 34- 93 580 18 53
Fax- 34- 93 580 57 29
http://www.icmab.es/dmag/new/index.htmlThis is the device not found error. It is platform independant. It means
that you are addressing a serial port that LabVIEW cannot find. This is
becuase the port is not there or LabVIEW cannot access it. Make sure the
serial port you are addressing is configured in Windows device manager and
then make sure you have the file serpdrv in your LabVIEW (or compiled executable)
directory.
-Jim
Ernest Mendoza wrote:
>Dear All,>>I'm having problems to access to the parallel port using the
VI write />read to the serial port, it returns the error code 37. As far
as I've>seen in the documentation this error code is for UNIX systems and
we're>using Windows 95.>>Anybody know what's going on?>>Cheers,>>Ernest>>>-->____________________________________________
_______>>Ernest
Mendoza>Institut de Ciencia de Materials de Barcelona>Consejo Superior de
Investigaciones Cientificas>Campus de la UAB. E-08193 Bellaterra (Barcelona)>Tel-
34- 93 580 18 53>Fax- 34- 93 580 57 29>http://www.icmab.es/dmag/new/index.html>___________________________________________________>> -
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/72c6fc6ce4ad4d1386256b1800794596?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 KBWell, 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 -
Format of the parallel port base address
Just wondering if someone could please help with what I'm sure is a simple question
I'm currently trying the control the first 3 bits of the parallel port using the Out Port sub vi.
Using the Labview examples and help I can see how to find the base address of the port. My LPT1 port is 378 like most.
However the parallel port I'm trying to control is a added in extra PCI card and looking in the Device Manager this is LPT3 with 2 an address ranges starting at CF00 and CE00 . I understand how the address range of starting at 0378 becomes 378 for the base address. But whatabout CF00 asnd 2 ranges? What do I need to put as the base address for the Out Port for CF00?
thanks in advance
Nickduplicate post. why did you feel the need to repeat the question, especially since it has already been answered.
-
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 -
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?
ThanksAny 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 -
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 -
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 KBThank 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
Maybe you are looking for
-
I have Adbobe Photoshop 10 on my MacBook pro but when using it cannot get an O with Umlauts, which are easily done outside Adobe. I feel sure that it must be possible, but nothing I have tried has succeeded. Can anyone help?
-
Client has Hierarchy structure for 0ORGUNIT. each division has more than 100 dept. the business process for all the dept within the dept is the same. A planning level is created for each dept. Now there are two options for how to configure for the de
-
Is my iphone unlocked?????
i went to the apple store yesterday and i got a replacment iphone 4 and the man who helped me out just gave me the phone without setting it up or anything. okay so when i went through the set up is asked me to pick a carrier it listed verizon sprint
-
IPhone search - iPhone 3.0
As mentioned by Apple, iPhone 3.0 will included 'Search iPhone' for transfering data. Can anybody tell me that would it be restricted just to search iPhone or it will be able to search any Bluetooth device? thanks
-
Hang man game - keeping track of already chosen letters
hello all, I'm making a hang man game and having trouble with the solution to keep track of letters already chosen. I have a string array where I store all the words. Example: String[] WordList = {"Snow White", "Johnny Carson", "John Coltrane" }; In