Alternative VIs for In Port.vi and Out Port.vi for 64 bit Windows 7 platform

Hi Need to use the printer port for my application. In Port and Out Port VIs was the simplest option in 32 bit Windows XP machine. Now I hear In Port and Out Port VIs are not supported in 64 bit Windows ( VISTA/7) machine. Is there any working alternative to In/Out Port.vi ??
Thanks in Advance
RKB
Solved!
Go to Solution.

VISA can easily be used to solve your problem. If using a USB -> Serial adapter it's almost too easy.
/Y
LabVIEW 8.2 - 2014
"Only dead fish swim downstream" - "My life for Kudos!" - "Dumb people repeat old mistakes - smart ones create new ones."
G# - Free award winning reference based OOP for LV

Similar Messages

  • Using the In port.vi and Out port.vi in LabVIEW access my the Cards(Home made)

    Hi Everyone,
    I have got the Cards (home made 8 bit and 16 bit ) plug in at slot ISA my PC (I am using the commands inport and outport (addressed with 318-31A Hex) in C language to access very good).This now,I want to use LabVIEW language to access data directly to Port at my the Cards. In LabVIEW, Can I access data to port using the In port.vi and Out port.vi located in the Advance?
    My English is poor, you don't laugh when you read it.
    Thank you a lot.

    SachaE wrote:
    > LabVIEW 7.0 cannot use the built-in In/Out Port VIs with a 32-bit
    > address. Instead, you will have to use the versions of these VIs found
    > in previous versions of LabVIEW.
    Are you talking about physical memory access here? If so that is
    something entirely different. The Intel x86 architecture uses a separate
    IO address range which is entirely separate from memory space.
    And at least up to the first Pentium models it was definitely never
    possible to address more than 16 bits for IO address space.
    This of course has gotten a little more complicated nowadays with many
    PCI boards being actually mapped into memory address space instead of IO
    address space. So eventhough a PCI board is more like an IO device it
    often is accessed in the memory space.
    > Actually, the In Port and Out Port VIs are intended for 16-bit port
    > I/O and not for writing to arbitrary addresses in memory. For this
    > reason, writing to 32-bit addresses never should have been allowed.
    I think the VIs to access physical memory addresses were different than
    the ones to access IO addresses. And yes it is definitely not a good
    idea to have an application poke into physical memory as it could
    completely screw the system to the point where you couldn't start it
    anymore. Also IO devices mapped into memory address space are almost
    always typically plug and play devices, so their address is not really
    fixed and you need to do quite some more work on OS level to enumerate
    your hardware and find the resources used before trying to access it.
    This is something not really suited to try to do in LabVIEW and
    therefore should be at least implemented as DLL but in fact anything but
    a device driver is a very bad kludge.
    > One possible work-around would be to use NI-VISA to perform
    > register-level programming. NI-VISA gives you access to any PXI/PCI
    > board, not only NI boards, and can be used to access the board's
    > registers.
    >
    > http://zone.ni.com/devzone/conceptd.nsf/webmain/ADF3152837E2B4A486256B5600642AC7?opendocument
    Thanks for this. Didn't now this existed in NI-VISA. Will check it out.
    Rolf Kalbermatter
    Rolf Kalbermatter
    CIT Engineering Netherlands
    a division of Test & Measurement Solutions

  • Problems Reading/Writing Parallel Port Data, Status & control Registers Using In Port.vi and Out port.vi

    Hi,
    Can anyone there help me Please with the problem. I am trying to
    communicate with the parallel port using my program which i have
    attached to the message. I am running LabVIEW 7.0 Professional with
    application builder. All the program does is reads and writes to the
    three parallel port registers. It runs FINE!!! in my computer. But when
    i built an executable (see attached) and tried running on a different
    computer (with LabVIEW Runtime engine 7.0 installed) the program does
    not read/write to the registers. The target PC had the parallel port in
    SPP mode just like mine. I can't seem to understand whats going wrong?
    Can anyone please help me if you know the right answer.
    Thanks
    Attachments:
    Programs.zip ‏119 KB

    Hi Guys,
    I too have a problem using "Out Port.vi", but of a diferent kind. I use this VI to control the  Parallel Port which in  turn controls a small circuit. I use only two data pins, DP-2 and DP-4 for this purpouse. I use LV 7.1 Professional Development version in a Windows 2000 operating system. Now, my main problem is that my code runs fine (both is development and .exe forms) in my development computer, but when I try to run the .exe version in  other computers (Windows XP operating system), it asks for a "protocol file" while starting (look at the attached picture).
    Now, I really have no idea what kind of a protocol file it asks for and just click "ok" and proceed to work, the most interesting part is that the code works well as I expected. So, my only problem is that it asks for a protocl file which I want to avoid. As with the application building, I do all that is  required like including the sub VIs (self developed), creating an installer, enabling the port access, and creating a proper .ini fine. I also use the Out Port.vi from the AccessHW library.
    I have my doubts on two fronts,
    1) With the version conflict, since my development computer runs with Windows 2000 and my target computers all run with Windows XP
    2) With the Out Port.vi which further contains a small VI "Output Word to Port.vi" in it and that further contains Call Library Function Node, which might call soem external files, like what my problem is.(look at the attached picture)
    I don't have answers to these questions and may be my problem is in different place, but I would like to hear from anyone who could give me a helping hand. I am in a situation where I could not disclose my code.
    Thanks in advance,
    mohan
    Attachments:
    protocol file.zip ‏153 KB

  • Can I use "accesshw.zip" to make the in port and out port VIs work (for NT) for Labview 6.0.2.

    I am trying to write to the parallel port using labview 6.0.2 (vi attatched). It does not seem to be working with NT though it does with Win 98.
    The information about the software (accesshw.zip)mentions versions 4.x and 5.x only.
    Please refer to the link given below:
    http://zone.ni.com/devzone/explprog.nsf/6c163603265406328625682a006ed37d/49664743ded6f1da862564bc004e3a7f?OpenDocument
    thanks.
    Pari.

    Hi Rob,
    I cannot completely agree..... Please find attached a
    accesshw_lv6.llb. Originally it was made for LV5; now in LV6-version) This .llb contains accesshw-files for use under NT & W2k. These files work, if you store them (!! including the sub.vi's !!) into: C:\Program Files\National Instruments\LabVIEW 6\vi.lib\platform\system.llb (this should be the typical path). The "old" In Port and Out Port vi's have to be substituted. Find in addition a simple test-program for use with scope in order to test
    the execution speed / toggeling of bits.....see the scope-picture copied into diagram. In addition I strictly recommend the use of buffer-circuits in order not to destroy the mainboard-IC's by accident. If somebody needs schematics or programs rela
    ted to parallel port - example see jpeg-file please mail to: [email protected]
    regards
    wha
    Attachments:
    accesshw_lv6.llb ‏171 KB
    printer_port_test.llb ‏135 KB
    8255_diagram.jpg ‏186 KB

  • "in port" and "out port" VIs are not in the functions palette!

    Hi,
    I am using LabVIEW 2012 on a Win 7 64 bit. I want to read a digital input (3.5V) using PC parallel port. I also read this white paper:
    http://digital.ni.com/public.nsf/allkb/B937AC4D8664E37886257206000551CB
    I searched all the functions palette for “in port” and “out port” VIs but I could not find them. Apparently they are not supported in 64bit OS. What are my alternatives for reading digital input via PC parallel port?
    Thanks.

    They have not been supported for quite some time. What happens when you use the recommended VISA api?

  • Using multiple MIDI in and out ports... is there a any solution?

    Hi Guys,
    I've been using Logic Pro for about 3 or 4 years, and have always struggled with the fact that when using external MIDI instruments, there are not separate drop-down menus for PORT IN and PORT OUT, where I could choose which port would be used on my MIDI interface.
    I was previously a Cubase user, and it had these two ports, so I could easily choose, for example: "MIDI IN: Port B" and "MIDI OUT: Port C", and MIDI would be routed to those ports.
    Logic only has one drop-down for selecting ports, and that is for the outgoing MIDI signal only.
    My problem is that when we want to record say two synths at the same time, each on its own MIDI track, the incoming signals are blended and played on both active tracks.
    There IS a tick-box option in Project Settings, called Auto demix by channel if multitrack recording, but this only works when all the channels in question are armed for recording. If we are just jamming ideas (but want to have MIDI set up ready to record... therefore local is off on each synth, etc...), it appears there is no way to separate the incoming MIDI signals so they only go back to their respective ports.
    This issue has now compounded with the addition of two new synths in my studio... suddenly it's even more crucial to be able to easily separate the MIDI ports for each of the four synths.
    I have never delved into the Environment, but was chatting to the guys in the music store I go to, and they were saying there might be a way of setting up the specific MIDI routing I am looking for, in the Environment.
    I would love any assistance you could give me. This has become such a frustration that I have even looked at moving back to Cubase (but the way it handles lots of tracks at low latency on Mac is stopping me, at the moment! The trial version showed this up as a real issue, compared to Logic!).
    I am of course secretly hoping that Logic Pro 10 will have a re-thought MIDI setup, with simple in and out port drop-downs for each MIDI track. But that's a long shot, and Logic 10 could still be ages away!
    Any help an experienced user can offer me would really be appreciated.
    Cheers,
    Mike

    discussed like ****
    still no one ever did a simple explanation how to do , once for all in the environtment .
    Please, i am ready even to pay someone who will show the techique

  • Getting an error while activating a planning area "Enter values for planning horizon From and planning horizon To for the storage time profile level"

    Dear S&OP community,
    I am getting following error while creating a planning ares in a newly installed sandbox. "Enter values for planning horizon From and planning horizon To for the storage time profile level".
    This what I did...
    1) Created new attributes and master data objects and activated them successfully.
    2) Time profile created and activated successfully
    3) Trying to create planing area by assigning  time profile in step 2 and assigned master data from step1..Unable to save the data and system returns 
    this error - "Enter values for planning horizon From and planning horizon To for the storage time profile level"
    My understanding is time profile needs to be active  but doesn't have to have values...
    Any help is appreciated.
    Thanks,
    Krishna

    YS,
    Here are my time profile settings
    Level       Name          Display Horizon - Past  Display Horizon - Future
    1             Monthly     -6                                       11         
    2             Quarterly     -2                                       3
    3             Yearly        -1                                       2
    Time profile is active and but time profile data is not loaded
    Thanks,
    Krishna

  • When we go for Business content extraction and when we go for LO/COPA etc.e

    Hi Dear Friends
    When we go for Business content extraction and when we go for LO/COPA etc.extractions
    Thanks
    Learner

    Hi,
    It depends on the KPI you are extracting for,if Business Content Extractor provides you with those then there is no need for generic extractors.
    In CO-PA the KPI for profitability differs from client to client.You have Business Content for CO-PA also...
    Cheers

  • HT5787 i buy iphone 4sfrom some friend that's he got it from his friend in canada and me set up software for it from Itunes and it asking now for apple ID that's i don't used it for download apps and me can't open my Iphone right now !! what i should do ?

    i buy iphone 4sfrom some friend that's he got it from his friend in canada and me set up software for it from Itunes and it asking now for apple ID that's i don't used it for download apps and me can't open my Iphone right now !! what i should do ?

    It's not stolen ,that iphone came from canada to Egypt and me activeted it last night i got the acc from the owner
    Thanks for Replay Mr

  • Student account for Adobe CC - downloaded and worked but only for TRIAL - now asks for license - how do I access the programs? I was given a redemption code (apparently redeemed already). How do I get the licensing code?

    Student account for Adobe CC - downloaded and worked but only for TRIAL - now asks for license - how do I access the programs? I was given a redemption code (apparently redeemed already). How do I get the licensing code?

    Ask whom/wherever you got the redemption code from for one that has not already been used.

  • Could EPM add in for Microsoft 7.5 and EPM add in for Net Weaver 10.0 work together

    Good day,
    We are going to start a new project, where the client already has EPM add in for Microsoft 7.5. We need to migrate this system to EPM add in for Net Weaver 10.0. When we would testing systems we need to have on the one local PC 2 products :EPM add in for Microsoft 7.5 and EPM add in for Net Weaver 10.0 to compare results. Is it possible to use them parallel? Is there any SAP documents or official materials where is information about this situation.
    Many Thanks for the answear!

    Hi Natalia,
    I have the same problem to migrate project,  you can' t have both of them logged on at the same time
    I solve my problem with a virtual machine, i use VMWare with  BPC 7.5 version and host machine with BPC 10 Version.
    I hope this will help you.
    Regards,
    Maycon Franco.

  • I have a license for Creative Suite CS3 and bought an upgrade for CS5 a few years later. Would the original serial number for CS3 be the same for my CS5 version?

    I have a license for Creative Suite CS3 and bought an upgrade for CS5 a few years later. Would the original serial number for CS3 be the same for my CS5 version?

    No... if you do not have CS3 installed, you will enter your CS3 serial number when asked for proof of a qualifying product... and then you will enter your different CS5 serial number... every version, new or upgrade, has a unique serial number

  • What are the dashed  line in air port express and air port extrem

    what are the dashed line in  air port express and air port Extrem

    The dashed line represents a wireless connection between the base stations.

  • Tip for installing App Dev CD into WLS on 64-bit windows

    Hi All,
    After pulling out some hair, I thought I'd share this tip.
    Scenario:
    You are installing WebLogic 10.3.x on a 64-bit Windows platform, but are using a 32-bit JDK. You want to install the Application Development CD so that you can extend your WLS domains with the JRF, EM, etc.
    Symptoms:
    You run setup.exe, the installer prompts you for a location of a JRE/JDK and you give it the 32-bit JDK location. The installer then quits without so much as a peep.
    Solution:
    Instead of running setup.exe, navigate to install\win32 and run that setup.exe instead. The same thing works for installing the SOA suite.
    Hope this saves someone else some time too.
    John

    Thanks for the help - I edited the C:\Oracle\Middleware\user_projects\domains\test_domain2\bin\setDomainEnv.cmd file as follows:
    @REM set BEA_JAVA_HOME=C:\Oracle\Middleware\jrockit_160_24_D1.1.2-4 (I commented out this line)
    set BEA_JAVA_HOME=C:\Oracle\Middleware\jdk160_24 (I added this line)
    set SUN_JAVA_HOME=C:\Oracle\Middleware\jdk160_24 (this line was already here)
    After confirming ENV's:
    Path=C:\Java\jdk1.6.0_24\bin;C:\app\bschamac\product\11.2.0\dbhome_1\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\
    JAVA_HOME=C:\Java\jdk1.6.0_24
    I then restarted WLS, but the C:\Oracle\Middleware\wlserver_10.3\common\bin\commEnv.sh still says:
    JAVA_HOME="C:/Oracle/Middleware/jrockit_160_24_D1.1.2-4"
    SO I think I am still hosed.

  • I have been trying to open itunes that has already been installed. But, the thing is it never opens and when i do right click and trouble shoot also, it doesnt open. I dont whats wrong with itunes and my comp is 64 bit windows 7. Can somebody please help

    I have been trying to open itunes that has already been installed. But, the thing is it never opens and when i do right click and trouble shoot also, it doesnt open. I dont whats wrong with itunes and my comp is 64 bit windows 7. Can somebody please help

    no its 64 bit version of itunes. Can you please help me. I am not able to sync my iphone.

Maybe you are looking for

  • Problem in Dynamic ALV - inserting values in proper field of a table.

    Hi gurus, As per the user requirement I need to create a dynamic alv report. The fields will be display according to the period entered. I have already build the alv and it is working fine. But My questio is how can I append data into internal table

  • Data load from SAP ECC to SAP BI

    Hello Gurus and Experts                  I am new to BI and I m almost struggling to find a step by step process in loading data from SAP ECC to SAP BI through generic extractors from VBAK. The Problem is I can create an Infopackage for full update a

  • Output as WebDynPro

    Hello! [SAP Note 950492|https://websmp130.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=950492] says that Compiler Options: If the option, "Deploy with PAR" is choosen, then one must specify the values for the Model properties,

  • Integration of a Java Project  with SAP using XI 2.0

    Hi, I want to integrate one project written in Java with SAP Using XI 2.0 . The data from Java Project will be given in the XML file and the data needs to be posted in SAP . Also PO data from SAp should be given in XML , which Java Software will read

  • Error Installing DVDSP 3 Upgrade

    New to discussions. First post. Recently acquired DVD Studio Pro v1 + v3 upgrade intending to install under OS X 10.3.9 on mirrored RAID drives. Tried to install v3 upgrade without first installing v1, hoping it would merely prompt for valid license.