Running labVIEW exe containing variables shared through opc

I have created a vi for reading from and writing to varibles in a SCADA software (Indusoft Web Studio).  But when i create an exe of this vi, and run it on a pc with only runtime engine installed, the exe runs but doesn't read & write variable in the SCADA. 
I have ensured that the exe works properly in  the pc where the vi was developed.
Also ensure the correct version of runtime engine is being used.
What seems to be the problem?  Do i have to install a runtime for OPC too?  Is there an alternate way to communicate with the SCADA software.

I have an OPC project with a bunch of shared variables in different libraries.  
When you build the application, make sure you check the box to "Deploy Shared Variables at application execution", and include all your shared variable libraries.
see attached screenshot
hope this helps
Jeff

Similar Messages

  • How to run labview exe with command line

    I would like to launch a labview exe with a command line.
    I would like to get advice how to launch the Labview exe with giving values to the control parameters?
    You can view the example where x,y are the controls
    Solved!
    Go to Solution.
    Attachments:
    exe.png ‏65 KB

    There is a much more detailed guide here, which I reference below:
    1. First you will enable it in the settings:
    1. Open the properties for the application's build specification
    2. Navigate to the Advanced category
    3. Check the Pass all command line arguments to application box
    To pass the command line arguments to the application and access them in your code follow the same steps as for LabVIEW 7.x.
    2. Then you will use two hypens (--) to pass command line arguments to the VI. 
    When you launch LabVIEW or a stand-alone executable from the command line, you can pass user-defined arguments to the application. User-defined arguments start after two hyphens (– –) surrounded by spaces in the command line. For example, the following command line entry will launch LabVIEW 7.1 and open test.vi from the root of C:\ and pass 2 arguments, 1000 and sine:
    "C:\Program Files\National Instruments\LabVIEW 7.1\LabVIEW.exe" "C:\test.vi" –– 1000 sine
    You can also pass a command line argument directly to an EXE without launching LabVIEW, as long as the machine has the appropriate Run-Time Engine and necessary drivers.  For example, if test.vi was built into an executable, it could be called as follows:
    "<build directory>\test.exe" –– 1000 sine
    3. Lastly, you will use a property node to wire them to your controls:
    LabVIEW passes the arguments from the command line to the block diagram of the VI or EXE you launch. You can reference the arguments in the block diagram by using the Application:Command Line Arguments selection in a property node, as shown below.
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    If someone helped you out, please select their post as the solution and/or give them Kudos!

  • Run labview exe in other way than runtime engine?

    Hi guys
    This might be stupid question, but can I run labview's *.exe in other way than in the runtime engine? In these days in have done *exe and installer with runtime engine and give it to the end-user. It does not matter how tiny ur code is, user have to install 40 conponents and then restart computer... How annoying. Is there eny other way? Can i use other programming languages some how?
    -AA-

    If the runtime is only one out of 40 components, it should not make a big difference for you.
    I always tell my users to download and install the runtime engine directly from NI. This needs to be done only once per PC and per runtime version, at which point you can distribute a small installer.
    There is also an idea to simplify all this. Please support it.
    (It is not reasonable to be able to build an executable with embedded runtime, that would make a LabVIEW 2009 executable 100+MB in size. (We had that back in LabVIEW 4.0, where each 20kb VI turned into a 3+MB executable, which was significant in the days of 1GB drives.)
    Message Edited by altenbach on 12-16-2009 11:42 AM
    LabVIEW Champion . Do more with less code and in less time .

  • Run Labview exe silently

    Hi all,
    I want to be able to run a Labview exe silently. I am aware that you can use VI properties to hide or make the front panel transparent when the main VI runs. However, when the application runs the front panel still "flashes" before it disappears. (I guess LV loads the runtime engine etc. before it gets to the bit of the code that makes the front panel hidden.)
    Is there any way to run an LV application with a hidden front panel without this flashing effect? I want to run it completely silently, without even a minimised icon.
    Thanks for listening.

    smercurio_fc wrote:
    Cory K wrote:
    One other thing you can do is edit the .ini file.
    Add this HideRootWindow=True
    This will take care of hiding the icon on the taskbar.
    Actually, it doesn't. That just hides the initial splash screen. It doesn't hide the button for the actual build application.
    Oh...
    Maybe I'm confusing it with another property.
    I very rarely mess with the ini files of my applications,
    but I know theres a property in there somewhere that can hide the application on the taskbar.
    Cory K

  • Run LabVIEW exe in notification tray

    How would I run a labview program in the notification tray without having a main icon open in the task bar. The program would just be placed in the startup folder and operate solely from the notification tray?
    Paul Power
    I have not lost my mind, it's backed up on a disk somewhere

    Here's another implementation that I use and like.
    http://lavag.org/topic/14060-put-your-labview-in-the-tray-once-and-for-all/
    Unofficial Forum Rules and Guidelines - Hooovahh - LabVIEW Overlord
    If 10 out of 10 experts in any field say something is bad, you should probably take their opinion seriously.

  • I want to run my .exe file in same time when Labview started to run

    Somebody know, how do it?

    Slonbob wrote:
    Yes, but I want run LabVIEW, then run my exe backgroung
    Right, so run a batch file instead of LabVIEW.
    Or if you must run "LabVIEW.exe" rename "LabVIEW.exe" to "LabVIEW Backup.exe" then make an EXE that just runs "LabVIEW Backup.exe" then your program and name it LabVIEW.exe.

  • Labview exe in web browser

    hi
    i want to open or run labview exe or vi on web browser by calling html page link . i created the html page of  vi  which is statup vi  of my application but this required application already in running condition, and i want to open and run vi by calling url ,so please help me  if any solution for this..........

    A url always require a running webserver/webservice.
    Check the webservice example on how to deploy it to answer to url calls.
    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

  • My LabVIEW exe starts to run and then stops in Windows 7

    I have built an executable in LabVIEW 2010 on a Windows XP machine and set the properties to be built for Windows 7 or later but when I try to run the exe on the Windows 7 machine the application starts up briefly and then stops running with no error message. Has anyone seen this? I have disabled the firewall on the Windows 7 machine.

    Hi Wassa,
    It's very strange that your application window opens and then slowly fades away while "LabVIEW shuts down." Can you first verify that the VI itself runs properly on the development machine? Can you then build a .EXE and ensure that it too runs properly on the development machine? If we can get the .EXE working on the development machine you have two deployment methods:
    1. If you are deploying to a computer that already has the LabVIEW Run-Time Engine and any additional drivers required for your application, then you simply need to copy the .EXE to the deployment machine
    2. If you are deploying to a fresh computer that has no NI software, you'll need to create an installer. When creating the installer, you will need to look through the 'Additional Installers' sections and select any of the additional drivers etc. that are required for your application. By default, LabVIEW only includes the Run-Time Engine. If you are missing any of the 'Additional Installers,' the application will not run properly.
    Sanjay C.
    Embedded Software Product Manager| National Instruments

  • Data access in Teststand/LabVIEW through OPC connection

    We are using TestStand 2.0 and LabVIEW6.2 and following problem occurs when accessing the datas from UUT through OPC.
    For the first UUT i get the measurement datas but starting the next UUT causes a system hang up. The corresponding LabVIEW VI stops at the connect to the OPC Server it doesn't read the selected item. Only with LabVIEW there is no problem launching OPC data access for multiple times. Does anyone have expierence with this configuration: TestStand-LabVIEW-OPC?

    For your information, there is a new TestStand Add-on "OPC DA Connect" which adds a StepType Palette dedicated to OPC Data Access.
    You can configure each step by browsing the OPC servers on your network and browsing variables within these servers.
    This toolkit has free deployment licence.
    Hoping this helps.
    Jean-Louis SCHRICKE
    ├ CTA - Certified TestStand Architect (2008 & 2010 & 2014)
    ├ CTD - Certified TestStand Developer (2004 & 2007)
    └ CLD - Certified LabVIEW Developer (2003 & 2005)

  • How do I make a labview exe to run like a windows on-screen keyboard

    Hi,
    I am trying to run two labview exe simultaneously. Work of exe 1 is to control some hardware and work of exe 2 is to wait for user event, once user press a button in exe 2 it has to exit the exe 1 and restart it.
    Problem here is exe 1 uses the whole screen to run(1024*768), when I click any button in exe 1 the exe 2 goes backwards so I am not able to use the exe 2.
    Thanks,
    Vignesh

    Don't make them modal window...!!
    Edited: hyperlink added to the text.
    I am not allergic to Kudos, in fact I love Kudos.
     Make your LabVIEW experience more CONVENIENT.

  • Running exe contained in jar file

    Hello,
    I have written a java interface where an external executable is being called from one of the classes. I'm using Jgrasp as development environment.
    Everything works fine if I run the java program from within Jgrasp: the interface opens up fine and it can run the external program when the button which is supposed to start it is clicked on.
    I have then generated a JAR file containing all the classes etc and also the external executable.
    When I execute the Jar file, the interface opens up ok and everything works fine within it, but it cannot run the external executable any more.
    Is it possible to run an exe file contained in the jar file itself?
    I would like to distribute a single jar file containing all the files needed by the application.
    Thanks

    An EXE can only be executed from Java if it resides somewhere in the file system.
    This is obviously the case before you JAR the whole thing, but not after.
    Your code will need to extract the EXE by using Class.getResourceAsStream() and
    copy it to a temporary location in the file system before executing it.

  • Missing function when running a .exe labview program

    Hi
    everyone,
    I have used
    a subvi taken from the RoboIO library  ( http://www.roboard.com/labview/Labview_RoBoIOv15b.zip) to make up a program in order to run a
    .exe version of it on another computer that doesn’t have Labview (just Run Time Engine
    SP1 is installed).
    The .exe
    works fine on the Labview computer (after adding to the Build/Data directory the
    RoboIO.dll, RoboIOv15b, winIo and WInIO.dll files.). I have no conflict message
    when opening the Project explorer manager dependancies.
    When I
    launch the .exe on the second computer I get a message saying it can't find the
    function I was talking about at the beginning of my post. (running another .exe without
    this function works fine on this second computer)
    It’s the
    first time I am using a .exe on a "non-labview computer", so I must be doing something
    wrong : not creating correctly the .exe program
    Would anybody
    have an idea what could be  the problem?
    Thansk a lot,
    User

    Hi
    To deploy an application in a computer that doesn't have LabVIEW you could create an instaler than an exe.
    You can find how to create an instaler in the LabVIEW help.
    Regards,
    Nicolas M.
    National Instruments France
    #adMrkt{text-align: center;font-size:11px; font-weight: bold;} #adMrkt a {text-decoration: none;} #adMrkt a:hover{font-size: 9px;} #adMrkt a span{display: none;} #adMrkt a:hover span{display: block;}
    Journées Techniques LabVIEW 2012 : du 27 septembre au 22 novembre
    2 sessions en parallèle : Débuter a...

  • How to run the LabVIEW exe as background process?

    Dear All,
                   I want to run my LabVIEW exe as background process, which wont show as the process in the task bar as shown in the .jpeg file.
                    I want to run it as a background services as like runs in the windows processes.
                    Please suggest me something.
    Thanks,
    Nishant

    Dear Smercurio,
               Thanks for the good one, but it still requires the windows XP or later OS, when i extract the software, it gives me this error.
               Even Fire Daemon software (same one provided by Alessio in this post) is also running the same, and we even dont have to make it Automatic to start at boot up time, it automatically creates the automatic service which also runs at boot time, so not to worry about anything.
    Thanks,
    Nishant
    Message Edited by Nishant on 12-05-2006 10:12 PM
    Message Edited by Nishant on 12-05-2006 10:16 PM
    Attachments:
    rktools error.jpg ‏12 KB
    rktools error.jpg ‏12 KB
    rktools error.jpg ‏12 KB

  • Boot Camp Question .... I just bought a 2013 late model Mac Book Pro Retina and am wondering if it is worth installing windows through boot camp. If I install the windows component in order to run an exe file and its component "Declans Korean Flash Cards"

    I just bought a 2013 late model Mac Book Pro Retina and am wondering if it is worth installing windows through boot camp.
    If I install the windows component in order to run an exe file and its component "Declans Korean Flash Cards"... will it make my mac suseptible to viruses overall due to having a windows component? also will it make my mac slower as well

    If you are only going to use one or two window only programs then I wouldn't waste the space.  Try WinonX it allows you to install exe. Files on Mac without installing windows.

  • GPIB in a LabView-application running as EXE-file does not work

    I try to connect an Instrument over GPIB and I use VISA from a Windows2000 PC without LabView installed. The GPIB-card is not from National Instruments. The Programm is running as EXE-application. What else do I have to install beside the EXE-file to access the Instrument?

    NI_VISA.
    Ben
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction

Maybe you are looking for

  • DNG Codec Not Working On Win Vista 32Bit

    Having real problems with this DNG Codec I installed onto my Windows Vista 32 Bit system and this is what's happening. Yea, I can now see my DNG raw files through picture viewer and windows explore without going through PS. Unfortunately, when I deci

  • Change document log not created for customer in Batch input/BDC

    Hi Guys, Change document log is created when you manually change the customer using XD02 but when run the Batch/BDC the values are Changed but the change document is not created. Please someone can give me some hints? Luca.

  • Automatically create vendor batches from DESADV

    Hello gurus, we receive DESADV Idocs that automatically create inbound deliveries in our SAP system. When the vendor sends a batch number, it is correctly transmitted into field u201Cvendor batchu201D (LIPS-LICHN). Field u201Cbatchu201D (LIPS-CHARG)

  • Doubt on tables

    Dear experts i created a data base table from my user(login)..if other user wants to enter data into my table it has to show some message,i.e  other user should not be allowed to work on my table..... How?????????Plz help me  thanks in advance somesh

  • CS 3 Brushes not loading in Photoshop 5.5

    Are brushes that worked fine in CS3 Photoshop not compatible with CS 5.5? I've transfered teh files but PS doesn't recognize them. Thanks