Open reference vi to a string in the executable file

Hi all

Scenario: A vi of above (main.vi) called two subvis (subvi1.vi and subvi2.vi) separately as they are executed in parallel. subvi1.VI has a façade that appears when it is called, subvi2.vi does not work.

subvi2.VI uses open vi Reference to get a reference to subvi1.vi. It then uses this reference in a loop and continuously queries the FrontPanel.IsFrontmost property to determine if the Panel before the subvi1.vi is more. When it's over, it performs certain actions. When there is no more - it doesn't.

This set works very well in the development environment, but as soon as I build this 'scenario' in an application I get following error:

subvi2.VI generates the reference to subvi1.vi using the string "subvi1.vi" as an input for the path terminal of open vi reference function. Why it causes problems in an executable built?

PS Clearly this scenario is actually a part of my project much more, so I don't have simple vi to attach


Tags: NI Software

Similar Questions

  • All the executable files (.exe files) are open with mozilla firefox by default.

    All the executable files (.exe files) are open with mozilla firefox by default.my system is Compaq Mini 311c-1101SA. I can't run that no matter what file.i executable can not install any program now

    Hello

    When you get this program you want to use to open the file, you can select the appropriate program to open it?  If so, isn't there a box to check that says always use this program...

    Network adapter. Missing drivers?  Go to your device manager and look to see if there is lack of device drivers. They can be labeled as just a controller ethenet or other device with a small exclamation point.

    This means that they need a driver. In order to send you the link to the right driver, I need to know what model of network card you have.

    If you are unsure, click on all the missing devices in Device Manager. Then click on the Details tab. In the property drop-down list, select the second element (Hardware ID). After the first string of characters you see.

    Who will be ID the make and model of the device and I can send you the link for the drivers.

    Sorry, but I don't know anything about video games, so I can't help with that one.

    Paul

  • When I try to open the games on my Windows 7 system, I get the executable file to the games error message has stopped working.

    When I try to open the games on my Windows 7 system, I get the executable file to the games error message has stopped working. I tried several times to load the games following the indications for help but the games is not accessible. My computer is a remanufactured unit that was on the lease are there steps I can take to solve problems?  Thank you

    Original title: frustrated in New York

    The problem seems to be the igdumd64.dll:

    Fault Module name: igdumd64.dll
    Fault Module Version: 8.15.10.1749
    Timestamp of Module error: 4a5bdf54

    The igdumd64.dll is a component of the Intel graphics driver and seems to be an older version then try to update the graphic driver Intel.

    You could try the manufacturer of the computer for an updated driver, or use the following utility for intel to check a generic version:

    http://www.Intel.com/p/en_US/support/detect

  • new pc with windows 8.1, and no downloaded installed cs5, no problem open deck and cs5, but cannot read the raw file, try to update, cannot complete or update failed, please help

    new pc with windows 8.1, and no downloaded installed cs5, no problem open deck and cs5, but cannot read the raw file, try to update, cannot complete or update failed, please help

    Looks like you have somehow the mac version.

    Download the updated windows 6.7 camera raw from this link:

    Adobe - Photoshop: for Windows: Camera Raw 6.7 update

  • Y at - it an easy way to have a version number that the code VI has access to, and which is used as the version number for the executable file and the installer builds?

    Y at - it an easy way to have a version number that the code VI has access to, and which is used as the version number for the executable file and the installer builds? Now whenever I update my software I need to change the global variable where I store the version number, and then when I build I have in hand, open the properties and change the version number for the executable file and the installer. Is there an easy way to make these as all corresponding automatically?

    Have you tried a search? This question comes up a LOT. Here are the results of a search: http://forums.ni.com/t5/forums/searchpage/tab/message?location=Node%3A170&q=application+version#mess...

  • Can not run the executable file by LV7.1

    Hi all

    I'm surprised, I can't build and run the executable file LV7.1.

    I used to write a few vi with LV7.1 and built the executable according to these vi. It was no problem to build and run this executable file at that time. Now I can open these vi well with LV7.1, bu I can't run this executable file, it will be a mistake, please refer to the attachment. I'm trying to compile an executable file according to a simple vi, and then I can't run this exe file much more.

    Can you help me solve this problem? Thank you in advance.

    Evan

    @Christian: this is not correct.

    One of the reasons to do this is if LV 7.1.1 is installed, and then you install an application, including the runtime engine built in 7.1. It corrupts the execution engine.

    See here: http://digital.ni.com/public.nsf/allkb/680E61A4D02158A186256F7A0073C228

    Daniel

  • My Avira Antivirus has been removed and the executable file Recovery Disc Creator

    Hello

    I want to create recovery DVDs, but I can't use Recovery Disc Creator because Avira deleted the executable file. How to do it?

    Thanks in advance

    I use Avira if a long time now and I've never experienced something like that. It's pretty bad situation now.

    Creator of recovery disk Toshiba cannot be downloaded and what you can do now is to reinstall the OS using the HARD drive recovery option, then when the laptop has once again factory settings, you will be able to start this tool and create the recovery disk.

    Out of curiosity, what model of laptop you have exactly?

  • Cannot start web server on the executable file

    Hello

    We have a problem with a Web server - we cannot get to initialize the help of nodes of property or the ini on a compiled executable file.

    As part of our application, we are starting the Web server to publish a status page to be read remotely. This works very well when we are running in the development environment and also when we run an executable a PC with installed development environment, however it will not boot on a PC with just the runtime installed.

    I have attached some of the code that functionally does exactly the same thing in our main application. I used this as my Tester code and built in an exe while trying a lot of different things to fix.

    When executing:

    • The code will sit in the while loop until I press stop.
    • Web server: Active Server = FALSE
    • Out error = ERROR No.

    In the full application the while loop waits a few seconds before throw an error if the server is not started. In this example, I can let the loop running for awhile without leave. Normally, the boot time is<50ms when="">

    It's the ini file to the executable file:

    [WebTest]
    server.app.propertiesEnabled = True
    Server.OLE.Enabled = True
    server.tcp.serviceName = "My Server computer/VI"
    server.vi.propertiesEnabled = True
    WebServer.Enabled = True
    WebServer.TcpAccess = "' + * '"
    WebServer.ViAccess = "' + * '"
    DebugServerEnabled = False
    DebugServerWaitOnLaunch = False

    And it is the Web server configuration file:

    ErrorLog "$LVSERVER_ROOT/logs/error.log".
    LogLevel 3
    The default server name
    DocumentRoot "$LVSERVER_ROOT /... /.. '. "/ www".
    Listen 8000
    ThreadLimit 10
    TypesConfig "$LVSERVER_ROOT/mime.types»
    DirectoryIndex index.html
    LoadModulePath "$LVSERVER_ROOT/modules '" $LVSERVER_ROOT/LVModules "" $LVSERVER_ROOT /... ".
    LoadModule LVAuth lvauthmodule
    LoadModule LVSnapshot lvsnapshotmodule
    LoadModule LVRFP lvrfpmodule
    LoadModule dir libdirModule
    LoadModule copy libcopyModule

    AddHandler LVAuthHandler
    AddHandler LVSnapshotHandler .snap
    AddHandler LVRFPHandler

    AddHandler dirHandler
    AddHandler copyHandler

    "CustomLog"$LVSERVER_ROOT/logs/access.log"'%%u %t \"%r\ hour' % > s %b.
    KeepAlive on
    KeepAliveTimeout 60
    Timeout 60

    As can side note, anyone tell me where the $LVSERVER_ROOT variable is configured?

    I tried the things:

    • Copy a new default configuration file before the entry into force
    • Writing a predefined file (encoded) before initializing config
    • Definition to root before initializing directory (it actually generates an error because the server is not active...)
    • Set WebServer.Active = TRUE several times inside the while loop
    • Toggle the web server in the ini file

    System:

    • LabVIEW 2010
    • PC with Windows 7 running

    Thanks for any help, because it makes me crazy slow!

    Ben

    Hi Marco, thanks for the reply.

    I have this guide was reviewed previously and had done all that he but a small section who gave me a hint of something to try and I have solved my problem, so thank you!

    If anyone is interested, here's the problem:

    The directive DocumentRoot folder in the config must exist or the Web server cannot be started. So basically, make sure that the file points to a folder that exists!

    This leaves two small annoying problems if - you can't see if the file exists (and then create it) before starting the Web server, because you can not query the path to the folder without the Web server running.

    AND

    You can't really define the configuration programmatically file as parameters from the file are responsible for execution, not on the start Web server.

    The result of this is that the config file and the folder root document should be created (and corresponding of course...) when the executable is built / installed on the system. Not a massive headache, but it means do not forget to put things in the build specification and do not rely on software to do the job at startup

  • Exec System does not work in the executable file

    Once again I have to do something stupid!

    I use the Exec System to start/stop services. It works fine on my development machine, but on a stand-alone pc only Runtime installed with a license, he simply could not start/stop services!

    I did some research and found it we configure the executable file or an alternative is to use .net to achieve this goal. I couldn't stick with Exec System to achieve this?

    Thank you very much

    Waris K

    Sounds to me like a permission error - you are running as an administrator on the development computer, but as a less privileged user on the other computer? Exec system returns an error (try adding a simple error handler)?

  • Problem with the executable files

    Hello all, I need a help from you...

    I use LV 2009 SP1 Professional Development Suite on Windows Seven and I have a problem with the executable files, a problem that I have ever found with other versions of LV (8.x, for example) and I'm a little surprised...

    In the attachment you will find an example of what I mean.

    There are two base screws, the main one (prova) and a Subvi (provasubvi). The main vi launches the Subvi and the Subvi simply create a chart. As you can see on the screws works fine, without any kind of problem.

    I also created the exe file, without specifying that no particular option... and 'magic' of the application does not work as I want. In particular, it seems that the Subvi is running, but the front panel will not be accessible.

    I also try to play with the Subvi construction structure and options, but nothing change.

    Did you ever solve something like that?... I would say that I thank you in advance for any suggestion...

    Andrea

    Hello andrea,.

    Looking at your project I've heard that you do not include the Subvi during the build of the project. SO I slightly modified. Please find the attachments.

    Thank you and best regards,

    srikrishnaNF

  • the contents of this file cannot be decompressed the executable file that you are attemptiong to run

    The contents of this file cannot be decompressed the executable file you are trying to run has been corrupted you can get another copy of the file check its integrity and try again.

    You have not told us what you're doing or what program you are trying to use...

  • After the upgrade to 5.6 of Lightroom, I'm not able to find the executable file to launch the software.

    What is the file name for the executable file called and where is the default installation location?

    Get the object already exist error when installing adobe reader software

  • Write the string to the ini file problem

    I was tring to write a string in an ini file, which should be:

    [Basic information]
    File Name=C:\\11111.doc

    but the result is:

    [Basic information]
    File Name="C:\\11111.doc.

    whence the double quote come?

    got it, thanks

  • I can not open PhotoshopCC "could not complete your request the internal file signature is incorrect.

    I can't open Photoshop CC - my most old Photoshop CS6 opens fine. But, I get a message when I try to open Photoshop CC: "could not complete your request the internal file signature is incorrect.

    It seems that your copy of PS CC is corrupted so now this message.

    As suggested Christmas please try to uninstall PS and then reinstall it from CC app.

    After the successful installation of check.

    Kind regards

    Ashutosh

  • Cannot open lightroom6. I can't find the ".exe" file

    I bought lightroom 6 (upgrade version).

    in vain during the download I download the file.

    Download again I found the lightroom file in the home page.

    ()

    but this type of file is not the ".exe" file I can't install the thie file.

    How can I get the file ".exe"?

    Download again

    Download & install instructions https://forums.adobe.com/thread/2003339 can help

    -includes a way to go to a page to download the Adobe programs if you do not have a disk or drive

    - or kglad links in response to #1 here can help https://forums.adobe.com/thread/2081216

Maybe you are looking for

  • I want to go back to Firefox 4

    Firefox 5 is not compatible with my Roboform. I use this program all the time, and it works with Firefox 4. How can I go back to the previous version of Firefox?

  • Satellite L650 ventilation Grill - 1 Q 5 CPU was not pushed

    Found this post in a locked thread: vinh31Messages: 16 +.Join date: 07/26/10Re: Satellite A300-1ID - CPU high temperature +.Posted the: August 19, 2010 10:37 am in response to: Xardas in response to: XardasXardas wrote: Hi + vinh31, +.+ I would recom

  • A Nero program requires MICROSOFT. NET Framework 3.5. Where can I get it?

    During the implementation of a program bundled Nero it requires MICROSOFT. NET Framework 3.5 to allow installation where can I get this thank you Moved from feedback Original title: program programs Application Applications compatibility

  • Windows updates won't install

    Whenever I stop I get this message, do not close or unplug your machine updates are being installed, he started with 4 updates, now, it's up to 16 updates, I have no idea what caused it, I only use my computer to send and receive e-mail, play a game

  • HP5640: hp 5640 downloads

    I used to be able to print downloads (i.e. bank statements) directly from the download location.  Now, I have everything first to save. Who used to be an option, it is now necessary and is a real pain.    Why? I want the old way back again.