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

Similar Messages

  • 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

  • How can I copy a webpage that will not let me highlight it, i.e. use the control c key strokes?

    How can I take a picture of a webpage that will not let me use the control C copy command? In other words, on this particular website, I try to highlight a passage that I want to save and put in a document, but the highlighting will not work. I asked them about that, and they simply said they did not have that facility, but I think the issue is protecting their copyrighted material. I know there is some way to take a picture of the page, and then I can use my picture editing software to crop it and enlarge it.

    Are you trying to take a "snapshot" in a PDF?
    If the part of the page or PDF you want to capture is fully visible, you can use the Windows print screen function to capture it. Either use the Print Screen key to capture the entire monitor display, or Alt+Print Screen to capture the active window.
    If you need to do this often, or if you want to save the snapshot straight to disk, or if you need more than fits in a single Windows screen shot, an add-on such as [https://addons.mozilla.org/en-us/firefox/addon/fireshot/ Fireshot] can be handy.

  • How do I delete or remove Hotspotshield completely from Firefox? I already deleted it using the control panel programs & features function.

    I tried to delete Hotspot shield using the control panel function. Now it keeps showing up when ever I am using Firefox. I tried deleting the tool bar for it. But, it keeps coming back. it will show up on different accounts when I change pages. Like when I log onto the Telus account to pay bill.
    So how do I get this removed from my computer completely?

    Hi,
    Please see [http://www.anchorfree.com/support.php this] (the uninstall section towards the bottom).
    [http://hotspotshield.uservoice.com/forums/46095-hotspot-shield-support Support]
    You can also [https://support.mozilla.org/en-US/kb/update-firefox-latest-version update Firefox to the latest] and consider to [https://support.mozilla.org/en-US/kb/reset-firefox-easily-fix-most-problems Reset Firefox].
    [https://www.mozilla.org/en-US/firefox/new/ Firefox latest]

  • How will Aperture treat Nikon raw images which have been enhanced using Capture NX2 software?  Some are cropped and "developed" and some have been enhanced using the control point technology.  I have NIK sw as a plug-in in aperture.

    How will Aperture treat Nikon raw images which have been enhanced using Capture NX2 software?  Some are cropped and "developed" and some have been enhanced using the control point technology.  I have NIK sw as a plug-in in aperture.

    Actually, there is a Nik/Nikon connection — but I am pretty sure it is irrelevant to the OP's question. The connection is that Capture NX2 was written as a joint venture between Nikon and Nik. (The name similarity is a coincidence.)
    Capture NX2 is a cool program that incorporates the features of Nik's Viveza and Nikon's Raw processing engine, along with some other powerful image adjustment features. It provides, like Aperture, a losses workflow. Unlike Aperture, the adjustments (Edit Steps in C-NX terminology) are saved in the original NEF file along with the un-altered raw data. Multiple versions can be saved in a single NEF.

  • How to restore previous session using the control panel

    I have tried all pathways through firefox with no results. There is a way to restore previous session using the control panel. I tried it before and it worked but I forgot to write down the pathway and lost this method. Does anyone know it?
    thank you

    I can't think of anything useful in the Windows Control Panel, but perhaps you were using the System Restore feature? As a shortcut for that, you could try the Previous Versions tab of the Properties dialog for sessionstore.js or sessionstore.bak.
    First, I recommend backing up your current sessionstore files.
    Open your current Firefox settings (AKA Firefox profile) folder using
    Help > Troubleshooting Information > "Show Folder" button
    Leaving that window open, switch back to Firefox and Exit
    Copy sessionstore.js and sessionstore.bak to a safe location (e.g., Documents folder). If you cannot see those file extensions, try this Microsoft support article: [http://support.microsoft.com/kb/865219].
    Then right-click sessionstore.js, click the Previous Versions tab, and see what is available.

  • Loading flat files located on a server using the Control Center piece ofOWB

    Loading flat files from a server with OWB
    I am successful loading files with OWB, as long as they resided on my workstation in the C:\ drive. I copied the files to a Linux server into directories owned by Oracle/oinstall, permissions on the directories containing the files are 777. I ran the OWB client from the server with the following results:
    Error
    RPE-01013: SQL Loader reported error condition, number 1.
    SQL*Loader: Release 10.2.0.1.0 - Production on Fri Mar 9 11:15:58 2007
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    SQL*Loader-500: Unable to open file (/u00/data/owb_repos1/state_codes.csv)
    SQL*Loader-553: file not found
    SQL*Loader-509: System error: The system cannot find the file specified.
    SQL*Loader: Release 10.2.0.1.0 - Production on Fri Mar 9 11:15:58 2007
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    SQL*Loader-500: Unable to open file (/u00/data/owb_repos1/state_codes.csv)
    SQL*Loader-553: file not found
    SQL*Loader-509: System error: The system cannot find the file specified.
    I tried to load the file using the control center from both the windows client and the server client. Can I do this from either one?
    I can't import the file in the Design Center from the /u00/data/owb_repos1 directory, it does not show up.
    If anyone has received similiar errors from OWB, please tell me how I can fix this. THANKS!!!
    [d97886@owbtest owb_repos1]$ pwd
    /u00/data/owb_repos1
    [d97886@owbtest owb_repos1]$ ls -la
    total 24
    drwxrwxrwx 2 oracle oinstall 4096 Mar 19 12:14 .
    drwxrwxrwx 18 oracle oinstall 4096 Mar 6 16:41 ..
    -rwxrwxrwx 1 oracle garrett 1481 Mar 8 07:32 state_codes.csv
    [d97886@owbtest owb_repos1]$

    Hi
    This is what i do for my flat files (i am loading my tables from the flat files):
    1) Create location for the files in OWB and it should look something like \\path_to_where_the_files_are. Here you should be able to browse to your Linux box and select the location of the files.
    2) Then check whatever you use (i use TOAD) and you should see in owb schema a directory created there which points to the location of the flat file.
    3) then just follow the guide to sample the files etc and you are good to go.
    Basically OWB has to be able to see the files that are on Linux machine.
    Alternatively you can map your Linux share to your windows box (use samba or something) and use it that way.
    Sorry if it is stating the obvious.
    Hope this helps
    Kind Regards
    Vix

  • How to get the list of deployed projects in OSB through commond line

    How to get the list of deployed projects in OSB through commond line; as we are able to get in weblogic.

    You can go with standard JMX API using WLST
    http://www.oracle.com/technology/sample_code/products/osb/index.html
    http://download.oracle.com/docs/cd/E14571_01/apirefs.1111/e15033/index.html
    or you can try a little bit tricky way like
    ls $DOMAIN_HOME/osb/config/core/ | grep -v ^_:-)

  • I can no longer back-delete or hit return to make a new paragraph, nor can i use the arrows to go backwards and forwards in a line; it's like the fn key is stuck; i've taken it off and cleaned it, and it looked clean.

    I can no longer back-delete or hit return to make a new paragraph, nor can i use the arrows to go backwards and forwards in a line; it's like the fn key is stuck; i've taken it off and cleaned it, and it looked clean.

    Then it's time for a new keyboard.  If you are still under warranty, call AppleCare. 
    For DIY keyboard repair check out the following websites: 
    iFixit 
    YouTube “How To” tutorials.

  • How to recreate the control files

    Can someone tell me how to recreate the control file?
    Thanks in advance
    Himanshu

    Hi, You can use the following statement.
    CREATE CONTROLFILE
    SET DATABASE prod
    LOGFILE GROUP 1 ('/u01/oracle/prod/redo01_01.log',
    '/u01/oracle/prod/redo01_02.log'),
    GROUP 2 ('/u01/oracle/prod/redo02_01.log',
    '/u01/oracle/prod/redo02_02.log'),
    GROUP 3 ('/u01/oracle/prod/redo03_01.log',
    '/u01/oracle/prod/redo03_02.log')
    NORESETLOGS
    DATAFILE '/u01/oracle/prod/system01.dbf' SIZE 3M,
    '/u01/oracle/prod/rbs01.dbs' SIZE 5M,
    '/u01/oracle/prod/users01.dbs' SIZE 5M,
    '/u01/oracle/prod/temp01.dbs' SIZE 5M
    MAXLOGFILES 50
    MAXLOGMEMBERS 3
    MAXLOGHISTORY 400
    MAXDATAFILES 200
    MAXINSTANCES 6
    ARCHIVELOG;
    Thanks

  • How to access the control menu

    How to access the control menu(Restore,move,minimize,maximize,close) of JFrame and JInternalFrame can be accessed using Keyboard like in windows(Using space bar for any window we can access the control menu of that window in Windows OS).
    How to achieve this feature in Java for JFrame and JInternalFrame
    Any sample code will be helpful

    try search the forum with topic: control menu on-off

  • Using the control wheel

    I want to use the control wheel to move backward and forward. My concern there is in listening to audiobooks (its not such a big deal for songs). I am a newbie to the control wheel, the display switches back and forth from showing the volume, and the place in the song. If I move my finger on the control wheel, the display will immediately go to the volume, and start adjusting that. How do I change the location in my song (or book)????

    Hit the center button while the song is playing and it will display progress of the song. Rotate the "wheel" left or right to change the progress in the song. It will automatically shift back to the display of song title and name. Next time you go to turn the "wheel" it will change the volume so you will have to repeat the process of hitting the center button to adjust song progress. It should work the same for books although I have not tried.

  • How to use the same OC4j server with different port number

    How to use the same OC4j server with different port numbers..?
    I have to OC4J installed on my machine on different hard disk drives....
    I want to be able to run both the server simultaneously..?
    is it possible ..it yes then how..?
    for that i have changed the port number of one server...
    but when i am trying to start the other server with different port number..it says that JVM -Bind already...
    Is there any clues...?
    Nilesh G

    In the config directory:
    default-web-site.xml: Change the port the HTTP listener listens on
    jms.xml: Change the port the JMS service listens on
    rmi.xml: Change the port the ORMI listener listens on.
    Or, you can add another web-site.xml file, and deploy your applications to 1 server, and bind the web applications to the different web sites. This way you only have to deploy your applications to 1 place.
    Rob
    Oracle

  • How to handle the control records in case of file to idoc scenario.

    Hi All,
    can you please clarify me how to handle the control records in case of file to idoc scenario.

    Hi,
    In File to Idoc scenario even though you selected apply control record values from payload and you are not getting those correct values which you have provided in the mapping.
    Also check the checkboxes Take sender from payload and Take receiver from payload along with the Apply control record values from payload checkbox
    Regards
    Seshagiri

  • Despite my best efforts, I am unable to remove iTunes 11.1.4 from my PC, this being made necessary because the original installation had a flaw and did not load properly. Effor to use the control panel, deleting dll. files, etc. all failed. iTune out??

    Despite my best efforts, I am unable to remove iTunes 11.1.4 from my PC, this being made necessary because the original installation had a flaw and did not load properly. Effor to use the control panel, deleting dll. files, etc. all failed. And, of course, on startup, a window opens with the error and tells me find QTMovie.dll and delete it because this may be the source of the hangup. Also, in trying to delete iTunes, I get the additional message that I must get approval from the System Administrator to take this action. I am the System Administrator.
    Any ideas would be welcomed.
    Thank you.
    James
    <E-mail Edited by Host>

    Thank you for asking this question.  I'm having the same issues. 
    Liz

Maybe you are looking for