Accessing Parallel Port Control and Status Registers with VISA and Win7x64

Hello all,
I've posted this in the I/O forum for VISA, but this main forum seems to get a lot more traffic so I'm posting here too.
Wondering if anyone has a solution for accessing the Control and Status registers on a parallel port with VISA, now that Win7 has locked down the I/O ports and In Port.vi and Out Port.vi don't work anymore.  I've been looking all over for a solution and haven't found anything that will help; either the VISA solution is shown but doesn't mention if the Status and Control registers are accessible, or the solution is for a 32 bit system.
The one thing I found was under Instrument I/O>VISA>VISA Advanced, there is a group of functions called Register Access; but, when I investigate that, it seems to need an address that the detailed help describes as "VXI, VME, and GPIB-VXI" or "PXI" with no mention of Parallel Port usage, so I'm pretty much at the end of what I can figure out.
Basically what I need to do is use the data lines to send info, and watch the status lines for incoming discrete signals.  Since parallel ports are half duplex, I can't have the data lines be both inputs and outputs simultaneously, which is what I need.  A cheap D I/O card would be the easiest solution, but to make a long story short I'm dealing with a legacy system and that's something my higher-ups want to avoid.
Any help is greatly appreciated!

Hello,
I was able to solve this problem using software from Entech Taiwan; it's called TVicPort and it's available for free for personal use, and very cheaply for commercial license.  If you have questions let me know, I'll do my best to answer them but investigate Entech's solution and see if it'll work for you:
http://www.entechtaiwan.com/
http://www.entechtaiwan.com/dev/port/index.shtm

Similar Messages

  • HOW TO ACCESS PARALLEL PORT USING JAVA

    hello guys.. Please Solve my Problem..
    I have to access motor through pc using Parallel Port. I want to know how to program in java to access Parallel Port. So How can i code to access the any Port of Parallel Port. Please Guide me in this..

    well I cannot give a more detailed answer than "use the java comm API".
    http://java.sun.com/products/javacomm/
    http://java.sun.com/developer/Books/javaprogramming/cookbook/11.pdf
    However Java wasn't built to do these kinds of operations, so it may well be that the API does not provide the functionality you need. In that case you may need a native library to do the work for you, which can make things a lot more difficult.

  • Control parallel port (data and control lines)

    I need to control the output on the parallel port (LPT1) - Both data and control lines.  Once the data is written (Pins2-9), I then need to toggle the Sprocket signal (PIN1) - on the parallel port. The sprocket signal is also referred to as the Data Strobe Output.
    The required method is as follows:
    1. Lower the sprocket signal on PIN1
    2. Send the data (Pins2-9) and wait
    3. Raise the sprocket signal and wait.
    4. Repeat.
    I am looking for a method to control the data on LPT1 pins 2-9 and then be able to toggle PIN1 - Strobe signal - without the data falling from the other pins. What I have found is that whenever the state is changed on the strobe - the data that was written to Pin2-9 falls to zero. This will not work for my application - the strobe tells the hardware device that the data is ready. If it falls to zero when I toggle the strobe - that will not work.
    Regards,
    Guy

    Hello Adam,
    I am familiar with both references.  If you look more closely at the library reference - it allows me to communicate using VISA across the parallel port pins 2-9.  It does not permit direct communication to pin1 (the strobe signal) - property nodes don't allow the strobe to be refereced either (similar to control lines/signals for COM ports).
    Worse, I have also located examples using OUT PORT that does enable pin1 to be toggled.  The problem is, when those VIs are used, the data falls from the data pins when the strobe signal is written, even if its value is not changed.  For example, if the strobe is already high, if another high value is passed, the data falls from the data lines.  The other issue, when using VISA, as soon as the data is writen, the strobe signal automatically goes high even though I need a wait before setting the strobe high.  This is in complete contradiction to the second article you referenced which clearly discusses writing data to pins2-9 then taking the strobe high to indicate to the printer that new data is available.  It must be possible since this is the typical handshake.
    I am still looking for a more complete answer/solution.
    Regards,
    Guy

  • How to access parallel ports using LabVIEW?

    I want to send data to a device which is connected through LPT1.when Iam using serial port write.vi with port number 10(for LPT1) it is giving an error code 37 which means the device not found. whether those vis are only for accessing serial ports? Then how to access LPT1 using LabVIEW?

    Most likely you need to modify your labview ini file to let it know that LPT1 (or whichever) will be controled through the serial port control. See the following link for a knowledgebase answer to this question:
    http://digital.ni.com/public.nsf/3efedde4322fef19862567740067f3cc/a5abd9d76665217b86256333005ac9a5?OpenDocument
    Jared

  • Simple parallel port control

    Hi, I am new in programing and what I need to do is to maintain 5V on 4(any 4, cause I can hook the wires to any pins I wanna to) of the 25 pins of the parallel port. and at specific time I need to press a button to let the voltage drop(a signal) to active the machine I am working on. Can any one give me a lift on what vi to use? I check the NI tutorial but it all talks about how to send and recieve 8 bits info over the parrallel port while what I really need is just a simple program to control 4 pins. I am using windows XP pro and labview 7.0
    Can a computer learn how to program?

    First of all read this arcticle about the Parallel Port
    http://zone.ni.com/devzone/conceptd.nsf/webmain/72C6FC6CE4AD4D1386256B1800794596
    After that downaload the Accesshw.zip which allows you to write and read from any computer's port under windows.
    Now if you want lets's say to write to the 1st bit of the parallel port you have to put to the parallel's port data address the value 1. In order to leave the other bits unaffected you have to keep somewhere the state of the parallel port and use the following condition [state OR 2***bit_number] if you want to turn on (1) this number. On the other hand if you want to turn it of use [state AND NOT(2***bit_number)]
    Please let me know if you need more information
    There are 10 kind of persons. Those who understand binaries and the others.

  • Accessing printer port control lines

    Is it there a way to set and read the printer port control lines with Labview?
    The oparating system will be Windows2000 or XP.
    I would like to select the channel and readout an ADC with MUX (LTC2408).
    Peter Nyffeler mailto:[email protected]
    Tel P 01 363 62 42, Tel G 01 632 43 60, Fax G 01 632 10 21

    Hello Werner,
    Thank you for your answer in the newsgroup.
    Do you know, does accesshw work with XP and all Labview versions?
    Would you mind to send me your DAC's and AD's vi's? That would be great.
    regards
    Peter
    In article <[email protected]>,
    "wha@atmel" wrote:
    >Hello Peter,
    >
    >there is no need for separate Control of ADC + MUX;
    >they might be tight together - shown in Datasheet.
    >
    >But of course you can use the Control-lines of paraport. For W2k you
    >will need accesshw on you machine:
    >http://zone.ni.com/devzone/explprog.nsf/webmain/49664743ded6f1da862564bc004e3a7
    >f?OpenDocument
    >
    >I have made some vi's for DAC's and ADC's @ paraport - e.g. MAX168 or
    >DAC714.
    >If you need some inspiration - let
    me know..........
    >
    >Regards & gruezi
    >Werner
    Peter Nyffeler mailto:[email protected]
    Tel P 01 363 62 42, Tel G 01 632 43 60, Fax G 01 632 10 21

  • Is it possible to access a group of (sequentia​l) registers with a single URL?

    I'm testing out datasockets to an A-B RSLinx OPC server. At the moment, it appears as though each register in the PLC has to be accessed with an individual URL. Is it possible to access a group of (sequential) registers with a single URL? I suspect i may have to cluster a bunch of individuals together

    goog,
    For each data member, you will need a unique URL. There is not a way to bundle them into one URL.
    Randy Hoskin
    Applications Engineer
    National Instruments
    http://www.ni.com/ask

  • Problem with JNI and Parallel Port dll

    Hi. I'm doing some testes with JNI. Firs i followed the netbeans tutorial for doing a C programa that prints somthing for java.. like.. "Hello java from C".
    So i tried to load a dll from my dll. Like, I have this dll to use the parallel port on windows Xp. So i created a dll to access it an comunicates eoth java.
    I did everything just fine.
    When I start my Java app, the first thing it does is to load this parallel port dll and configure the functions of it.
    After that .. I get this error
    EXCEPTION_FLT_STACK_CHECK (0xc0000092) at pc=0x0093d269, pid=2284, tid=3000
    Can someone explain why ?
    (Sorry if i wasn't clear enough, english is not my native language, so ask if you don't understand something.. )

    hi ,
    I met the same problem this morning, and searched the www.google.com in order to solve it, as a result, your article was shown on my screen. :)
    Till now I have read some technical information and solved my problems. Maybe the solution be useful to you:
    ==============================
    error message : (Environment : Tomcat 5, Windows 2003, Mysql5)
    2006-3-29 11:53:48 org.apache.catalina.core.StandardWrapper unload
    message: Waiting for 2 instance(s) to be deallocated
    ==============================
    cause: the number of connection to database exceeded.another word,too many connections.
    ==============================
    solution: close the connection when it becomes useless for your program. :)
    ==============================
    ps. Sorry for my weak English . hehe ....

  • Labview and parallel port

    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 you

    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 access using Java

    hello guys.. Please Solve my Problem..
    I have to access motor through pc using Parallel Port. I want to know how to program in java to access Parallel Port. So How can i code to access the any Port of Parallel Port. Please Guide me in this..
    I have tried using parport (code given below )---------------->but it gives error hs_err_pid2172.log (error explanation given at last ). Please tell me what is the problem or if u have any other alternative to access  Parallel Port
    //===============================================================================
    //code :
    package parport;
    public class ParallelPort
    private int portBase;
    public ParallelPort(int portBase)
    this.portBase = portBase;
    public int read()
    return ParallelPort.readOneByte(this.portBase+1);
    public void write(int oneByte)
    ParallelPort.writeOneByte(this.portBase, oneByte);
    public static native int readOneByte(int address);
    public static native void writeOneByte(int address, int oneByte);
    static
    System.loadLibrary("parport");
    import parport.ParallelPort;
    class SimpleIO {
    public static void main ( String []args )
    ParallelPort lpt1 = new ParallelPort(0x378);
    lpt1.write(240);
    ===================================================================================
    ERROR file : hs_err_pid2172.log
    # An unexpected error has been detected by Java Runtime Environment:
    # EXCEPTION_PRIV_INSTRUCTION (0xc0000096) at pc=0x1000107b, pid=2172, tid=2108
    # Java VM: Java HotSpot(TM) Client VM (10.0-b23 mixed mode, sharing windows-x86)
    # Problematic frame:
    # C [parport.dll+0x107b]
    # If you would like to submit a bug report, please visit:
    # http://java.sun.com/webapps/bugreport/crash.jsp
    # The crash happened outside the Java Virtual Machine in native code.
    # See problematic frame for where to report the bug.
    --------------- T H R E A D ---------------
    Current thread (0x02b5c000): JavaThread "AWT-EventQueue-0" [_thread_in_native, id=2108, stack(0x02fd0000,0x03020000)]
    siginfo: ExceptionCode=0xc0000096
    Registers:
    EAX=0x000000ff, EBX=0x26a28380, ECX=0x000000ff, EDX=0x00000378
    ESP=0x0301f2f4, EBP=0x0301f308, ESI=0x26a28380, EDI=0x02b5c000
    EIP=0x1000107b, EFLAGS=0x00010246
    Top of Stack: (sp=0x0301f2f4)
    0x0301f2f4: 10001041 10000378 000000ff 000000ff
    0x0301f304: 02b50378 0301f34c 00989c91 02b5c0f4
    0x0301f314: 0301f354 00000378 000000ff 02b5c6f4
    0x0301f324: 02b5c6f4 02b5c6e4 0301f32c 26a28380
    0x0301f334: 0301f360 26a28618 00000000 26a28380
    0x0301f344: 00000000 0301f35c 0301f384 00982cb1
    0x0301f354: 26a285b8 00988099 000000ff 00000378
    0x0301f364: 0301f364 26a28255 0301f390 26a28618
    Instructions: (pc=0x1000107b)
    0x1000106b: cc cc cc cc cc 33 c0 66 8b 54 24 04 8a 44 24 08
    0x1000107b: ee c3 66 8b 54 24 04 66 8b 44 24 08 66 ef c3 66
    Stack: [0x02fd0000,0x03020000], sp=0x0301f2f4, free space=316k
    Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
    C [parport.dll+0x107b]
    v ~BufferBlob::Interpreter
    v ~BufferBlob::Interpreter
    v ~BufferBlob::Interpreter
    v ~BufferBlob::Interpreter
    v ~BufferBlob::Interpreter
    v ~BufferBlob::Interpreter
    v ~BufferBlob::Interpreter
    v ~BufferBlob::Interpreter
    v ~BufferBlob::Interpreter
    v ~BufferBlob::Interpreter
    v ~BufferBlob::Interpreter
    v ~BufferBlob::Interpreter
    v ~BufferBlob::Interpreter
    v ~BufferBlob::Interpreter
    v ~BufferBlob::Interpreter
    v ~BufferBlob::Interpreter
    v ~BufferBlob::Interpreter
    v ~BufferBlob::Interpreter
    v ~BufferBlob::Interpreter
    v ~BufferBlob::Interpreter
    v ~BufferBlob::Interpreter
    v ~BufferBlob::Interpreter
    v ~BufferBlob::Interpreter
    v ~BufferBlob::Interpreter
    v ~BufferBlob::Interpreter
    v ~BufferBlob::Interpreter
    v ~BufferBlob::Interpreter
    v ~BufferBlob::Interpreter
    v ~BufferBlob::Interpreter
    v ~BufferBlob::Interpreter
    v ~BufferBlob::StubRoutines (1)
    Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
    v ~BufferBlob::Interpreter
    v ~BufferBlob::Interpreter
    v ~BufferBlob::Interpreter
    v ~BufferBlob::Interpreter
    v ~BufferBlob::Interpreter
    v ~BufferBlob::Interpreter
    v ~BufferBlob::Interpreter
    v ~BufferBlob::Interpreter
    v ~BufferBlob::Interpreter
    v ~BufferBlob::Interpreter
    v ~BufferBlob::Interpreter
    v ~BufferBlob::Interpreter
    v ~BufferBlob::Interpreter
    v ~BufferBlob::Interpreter
    v ~BufferBlob::Interpreter
    v ~BufferBlob::Interpreter
    v ~BufferBlob::Interpreter
    v ~BufferBlob::Interpreter
    v ~BufferBlob::Interpreter
    v ~BufferBlob::Interpreter
    v ~BufferBlob::Interpreter
    v ~BufferBlob::Interpreter
    v ~BufferBlob::Interpreter
    v ~BufferBlob::Interpreter
    v ~BufferBlob::Interpreter
    v ~BufferBlob::Interpreter
    v ~BufferBlob::Interpreter
    v ~BufferBlob::Interpreter
    v ~BufferBlob::Interpreter
    v ~BufferBlob::Interpreter
    v ~BufferBlob::StubRoutines (1)
    --------------- P R O C E S S ---------------
    Java Threads: ( => current thread )
    0x00295800 JavaThread "DestroyJavaVM" [_thread_blocked, id=2164, stack(0x00870000,0x008c0000)]
    =>0x02b5c000 JavaThread "AWT-EventQueue-0" [_thread_in_native, id=2108, stack(0x02fd0000,0x03020000)]
    0x02b5ac00 JavaThread "AWT-Windows" daemon [_thread_in_native, id=3640, stack(0x02f30000,0x02f80000)]
    0x02b59c00 JavaThread "AWT-Shutdown" [_thread_blocked, id=2204, stack(0x02ee0000,0x02f30000)]
    0x02b59000 JavaThread "Java2D Disposer" daemon [_thread_blocked, id=3740, stack(0x02e90000,0x02ee0000)]
    0x02addc00 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=372, stack(0x02d90000,0x02de0000)]
    0x02adb400 JavaThread "CompilerThread0" daemon [_thread_blocked, id=608, stack(0x02d40000,0x02d90000)]
    0x02ad6c00 JavaThread "Attach Listener" daemon [_thread_blocked, id=3920, stack(0x02cf0000,0x02d40000)]
    0x02ad6000 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=808, stack(0x02ca0000,0x02cf0000)]
    0x02ad1800 JavaThread "Finalizer" daemon [_thread_blocked, id=1736, stack(0x02c50000,0x02ca0000)]
    0x02acd000 JavaThread "Reference Handler" daemon [_thread_blocked, id=2728, stack(0x02c00000,0x02c50000)]
    Other Threads:
    0x02acbc00 VMThread [stack: 0x02bb0000,0x02c00000] [id=624]
    0x02ae7800 WatcherThread [stack: 0x02de0000,0x02e30000] [id=580]
    VM state:not at safepoint (normal execution)
    VM Mutex/Monitor currently owned by a thread: None
    Heap
    def new generation total 960K, used 262K [0x229e0000, 0x22ae0000, 0x22ec0000)
    eden space 896K, 22% used [0x229e0000, 0x22a11830, 0x22ac0000)
    from space 64K, 100% used [0x22ad0000, 0x22ae0000, 0x22ae0000)
    to space 64K, 0% used [0x22ac0000, 0x22ac0000, 0x22ad0000)
    tenured generation total 4096K, used 344K [0x22ec0000, 0x232c0000, 0x269e0000)
    the space 4096K, 8% used [0x22ec0000, 0x22f161a8, 0x22f16200, 0x232c0000)
    compacting perm gen total 12288K, used 289K [0x269e0000, 0x275e0000, 0x2a9e0000)
    the space 12288K, 2% used [0x269e0000, 0x26a286b0, 0x26a28800, 0x275e0000)
    ro space 8192K, 66% used [0x2a9e0000, 0x2af30f10, 0x2af31000, 0x2b1e0000)
    rw space 12288K, 52% used [0x2b1e0000, 0x2b8306d0, 0x2b830800, 0x2bde0000)
    Dynamic libraries:
    0x00400000 - 0x00423000 G:\Program Files\Java\jdk1.6.0_07\jre\bin\java.exe
    0x7c900000 - 0x7c9b0000 G:\WINDOWS\system32\ntdll.dll
    0x7c800000 - 0x7c8f5000 G:\WINDOWS\system32\kernel32.dll
    0x77dd0000 - 0x77e6b000 G:\WINDOWS\system32\ADVAPI32.dll
    0x77e70000 - 0x77f02000 G:\WINDOWS\system32\RPCRT4.dll
    0x77fe0000 - 0x77ff1000 G:\WINDOWS\system32\Secur32.dll
    0x7c340000 - 0x7c396000 G:\Program Files\Java\jdk1.6.0_07\jre\bin\msvcr71.dll
    0x6d870000 - 0x6dac0000 G:\Program Files\Java\jdk1.6.0_07\jre\bin\client\jvm.dll
    0x7e410000 - 0x7e4a0000 G:\WINDOWS\system32\USER32.dll
    0x77f10000 - 0x77f57000 G:\WINDOWS\system32\GDI32.dll
    0x76b40000 - 0x76b6d000 G:\WINDOWS\system32\WINMM.dll
    0x76390000 - 0x763ad000 G:\WINDOWS\system32\IMM32.DLL
    0x6d710000 - 0x6d723000 G:\PROGRA~1\KASPER~1\KASPER~1\mzvkbd.dll
    0x76bf0000 - 0x76bfb000 G:\WINDOWS\system32\PSAPI.DLL
    0x6d730000 - 0x6d743000 G:\PROGRA~1\KASPER~1\KASPER~1\mzvkbd3.dll
    0x6d020000 - 0x6d035000 G:\PROGRA~1\KASPER~1\KASPER~1\adialhk.dll
    0x77f60000 - 0x77fd6000 G:\WINDOWS\system32\SHLWAPI.dll
    0x77c10000 - 0x77c68000 G:\WINDOWS\system32\msvcrt.dll
    0x6d4c0000 - 0x6d4c6000 G:\PROGRA~1\KASPER~1\KASPER~1\kloehk.dll
    0x6d320000 - 0x6d328000 G:\Program Files\Java\jdk1.6.0_07\jre\bin\hpi.dll
    0x6d820000 - 0x6d82c000 G:\Program Files\Java\jdk1.6.0_07\jre\bin\verify.dll
    0x6d3c0000 - 0x6d3df000 G:\Program Files\Java\jdk1.6.0_07\jre\bin\java.dll
    0x6d860000 - 0x6d86f000 G:\Program Files\Java\jdk1.6.0_07\jre\bin\zip.dll
    0x6d0b0000 - 0x6d1de000 G:\Program Files\Java\jdk1.6.0_07\jre\bin\awt.dll
    0x73000000 - 0x73026000 G:\WINDOWS\system32\WINSPOOL.DRV
    0x774e0000 - 0x7761d000 G:\WINDOWS\system32\ole32.dll
    0x5ad70000 - 0x5ada8000 G:\WINDOWS\system32\uxtheme.dll
    0x73760000 - 0x737a9000 G:\WINDOWS\system32\ddraw.dll
    0x73bc0000 - 0x73bc6000 G:\WINDOWS\system32\DCIMAN32.dll
    0x74720000 - 0x7476b000 G:\WINDOWS\system32\MSCTF.dll
    0x755c0000 - 0x755ee000 G:\WINDOWS\system32\msctfime.ime
    0x6d2c0000 - 0x6d313000 G:\Program Files\Java\jdk1.6.0_07\jre\bin\fontmanager.dll
    0x7c9c0000 - 0x7d1d6000 G:\WINDOWS\system32\shell32.dll
    0x773d0000 - 0x774d3000 G:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.2982_x-ww_ac3f9c03\comctl32.dll
    0x5d090000 - 0x5d12a000 G:\WINDOWS\system32\comctl32.dll
    0x6d620000 - 0x6d633000 G:\Program Files\Java\jdk1.6.0_07\jre\bin\net.dll
    0x71ab0000 - 0x71ac7000 G:\WINDOWS\system32\WS2_32.dll
    0x71aa0000 - 0x71aa8000 G:\WINDOWS\system32\WS2HELP.dll
    0x6d640000 - 0x6d649000 G:\Program Files\Java\jdk1.6.0_07\jre\bin\nio.dll
    0x77120000 - 0x771ab000 G:\WINDOWS\system32\OLEAUT32.DLL
    0x10000000 - 0x1000b000 G:\Program Files\Java\jdk1.6.0_07\bin\parport.dll
    VM Arguments:
    java_command: parport.NewJFrame
    Launcher Type: SUN_STANDARD
    Environment Variables:
    CLASSPATH=G:\Program Files\Java\jdk1.6.0_07\bin;G:\java\classes
    PATH=G:\Program Files\PC Connectivity Solution\;G:\Program Files\Java\jdk1.5.0_07\bin;G:\WINDOWS\system32;G:\WINDOWS;G:\WINDOWS\System32\Wbem;G:\Program Files\K-Lite Codec Pack\QuickTime\QTSystem\;G:\Program Files\Java\jdk1.6.0_07\bin;G:\Program Files\Microsoft SQL Server\90\Tools\binn\;G:\Program Files\MATLAB\R2007b\bin;G:\Program Files\MATLAB\R2007b\bin\win32
    USERNAME=shankar
    OS=Windows_NT
    PROCESSOR_IDENTIFIER=x86 Family 15 Model 4 Stepping 7, GenuineIntel
    --------------- S Y S T E M ---------------
    OS: Windows XP Build 2600 Service Pack 2
    CPU:total 2 (2 cores per cpu, 1 threads per core) family 15 model 4 stepping 7, cmov, cx8, fxsr, mmx, sse, sse2, sse3
    Memory: 4k page, physical 457196k(30972k free), swap 1074312k(241668k free)
    vm_info: Java HotSpot(TM) Client VM (10.0-b23) for windows-x86 JRE (1.6.0_07-b06), built on Jun 10 2008 01:14:11 by "java_re" with MS VC++ 7.1
    time: Thu Oct 09 13:47:18 2008
    elapsed time: 7 seconds

    I have same problem...
    No one more have solve this?
    I alread have tried use RXTX library..
    but I have:
    java.io.IOException: The device is not connected.
    I think that pass-motor don't have correct response for pararell protocol (I need use it with direct write, no ack signal, no read, etc)

  • Aquerir from parallel port with labview

    I want to aquerir digital data from parallel port of the PC then representing them on a graph with labview.
    How can i do that ?
       finaly thnx.

    You can use the port in and port out VIs found in the Advanced>Port I/O palette.  For an example check out 'Parallel Port Read and Write Loop.vi'.
    Using LabVIEW: 7.1.1, 8.5.1 & 2013

  • Parallel port in windows NT

    I am trying to use the parallel port with labview 4.1 in windows NT.
    Windows NT security doesn't let me touch the parallel port, so my
    application crashes every time that I run my VI.
    Does any one knows how to access parallel ports in Win NT ?
    Thank you very much,
    Paul
    Sent via Deja.com http://www.deja.com/
    Before you buy.

    Hello Paul,
    Windows NT does not normally allow direct hardware access, as in
    using LabVIEW's IN and OUT VIs.
    The In and Out work under Win95. There is a third party tool call:
    Peek/Poke 5.0 from Viewpoint. http://www.viewpointusa.com/peekpoke.html
    I have use this software to control Pc hardware. The Peek/Poke software
    gives you In and OUT VIs (that "get around NT security") that work under
    NT.
    I do not know if Peek/Poke works with LabVIEW 4.1, but I do know
    that LabVIEW 5.1 does.
    -Paul
    [email protected] wrote:
    > I am trying to use the parallel port with labview 4.1 in windows NT.
    > Windows NT security doesn't let me touch the parallel port, so my
    > application crashes every time that I run my VI.
    > Does any one knows how to access parallel po
    rts in Win NT ?
    > Thank you very much,
    >
    > Paul
    >
    > Sent via Deja.com http://www.deja.com/
    > Before you buy.
    Attachments:
    Paul.Augart.vcf ‏1 KB

  • Parallel Port Communication

    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

  • Parallel Port in LV 8.2

    Hello,
    I'm trying to get two PCs connected together using a parallel port. I tried to write a byte to one parallel port and read it on the other. For this I use the VISA write, on LPT1. But every time I do this I get a timeout error on the sending computer as well as on the receiving one. Also the MAX test panelsends me a return status BFFF0015. Isn't it possible to use parallel port any more on WIN XP? I tried nearly all example codes from the developing site, but nothing worked. Do I have to change BIOS settings?
    NEED HELP!
    Thanks
    Thomas

    My explanation is not that clear..  see the attached VI.
    Enter the numeric value that you want in the number control.  You'll see the value written.  If you look at pins 2 to 9, you'll see the boolean equivalent to the value you wrote.
    Message Edited by JoeLabView on 06-24-2007 02:10 PM
    Attachments:
    PortIOModified.PNG ‏5 KB
    Modified Parallel Port Read and Write Loop.vi ‏45 KB

  • Usb to parallel port converter

    Hello all
    I am having usb to 36 pin parallel port converter and i try to communicate with that to run a stepper motor.
    how can i communicate with that.?  I plan to use visa function for that, what are all the pins i have to be grounded. (Can i use visa write funtion for that?)
    i have read in forums for IEEE1284 standard i have to ground pin 11 and pin 12.
    And i dont know one more thing, in max i can see only COM ports without any problem and i cannot see any usb port in that.
    Is COM port and usb port are same.?

    This may make things more difficult. You can try if outport to the port addresses hex378 or hex278 works, but probably it doesn't. You may try to find out if your device has a different port address.
    A PCMCIA parallel port normally works like a standard one. with the 378 or 278 port address.
    Cheers
    Edgar

Maybe you are looking for

  • Why can't I use Column Browser when looking at the music that is on my iPhone.

    I have upated to iTunes 11 and I am running Windows 7.  I have the Manage Music Manually checked on the settings for my iPhone.  When I look at the music that is on my phone in iTunes 11, I get the list view with no other options and no column browse

  • What's wrong with my simple syntax?

    Hi, Im trying to create a var and then check it with an if statment but its not working, whats going wrong? var loggedin:String = new String(); loggedin = ("yes"); if (loggedin == "yes") searchbox1.text = ("user logged in");

  • Warnings afer running.

    Hi guys I am experiencing some problems that I have never seen in my enture programming life my program gives me these warnings. What is wrong here. Please help. C:\celsoft\reports\vision>javac -deprecation jasperExample.java jasperExample.java:13: w

  • LTE, iPhone 5 and Wind

    I Have updated to iOS 8 and now I have the LTE option. I went to Wind shop in Milan and I have changed my nano SIM with a new 4G. EVen if I am living in an area with a full 4G coverage I continue to have "only" 3G (I turned ON  LTE and I wrote Intern

  • Facetime - Living in dubai going to move to AUS

    I got an iphone like months when it just released didnt really use it...as i didnt have a micro sim at the time To the point. If i activate from itunes (iphone) since im living in UAE will facetime be kicked off? (the phone was bought from UK) Or sho