'Run VI opening' lvproj does not work

Here's the Setup: I do a VI that reproduces a test model (vilib) and he has associated specifications of construction within a project. My idea is to have a VI user (developer) opens and presents a dialog box (select model, enter a name for the new test, GO). Ideally this VI will simply work the opening.

If I create a VI and define its execution proerties on "Run when opened" and open it from the browser to the OS file, the VI behaves as expected: it runs. If I open the VI of any where within a project, it does not work. Why would it be? Is there a solution?

Alright lets take a deep breath...

Warning, the following is my opinion based on my knowledge of LabVIEW and not the inner workings of the NC, I may be wrong about why the decisions were made:

This feature in my opinion was put for many years, as a cheap way and dirty to make it appear as if a VI is executable code (which is sorta maybe but should not be treated exclusively as).  Years if you had a code and you wanted a user to double click on an icon and have, it starts running you'd make an EXE.  Although necessary the application Builder which was extra money and it was a decent amount of steps involved.  New LabVIEW users complained that it was too difficult and he wanted a way to simply double click on a file and that it is then NOR added to this function.  NOR tried also makes it easier to do by adding additional items in the Tools menu to eliminate steps.  Now if you double-click a VI with nothing open, who has run when open setting on, it would be open and run in LabVIEW.  Running as an application source code has several pitfalls and issues, and in other languages (no scripting) that would not be tolerated.  But it was a hacky way to satisfy beginners of LabVIEW.

LabVIEW has subsequently obtained projects and an easier way to make EXE (always requiring the application Builder).  Now using the source to a project, looked and behaved more as a source in other text-based languages.  Opening in this respect a VI would be the equivalent of opening a text file in Notepad.  And given the behavior of open text and have it automatically start running from your source would be a bad thing.  The State of the source can be easily changed which is one of the reasons why binarys must be used in these situations.

So essentially, this feature is old and broken.  Should not probably exist at all, and the fact that there is NO bend to the will of those who don't know not what was best for the language as a whole.  This feature must either be removed all together, or be updated to run in a project which I hope I made clear is probably not the best solution.  A third option would be to simply update the documentation indicating the current behavior.

If you want to run a VI opening this feature, but open the VI project.  Instead simply open the VI of your Explorer of files, or file > open in LabVIEW.  Opening a project is indicative of the IDE you try to change the source, in which case it does not run when opened.

The good news is that neither has a place where you can suggest new features or improvements for LabVIEW.  If there are a people who agree with your new idea they kudo it and enough Bravo causes OR to examine these features.  If it is important for you, and there is no suitable work around, I'd make a post here.

Tags: NI Software

Similar Questions

  • Hi, I have installed sqldeveloper - 4.0.3.16.84 - x 64 with JDK and tried to run SQLDeveloper.exe its does not work. A flash comes and goes. It worked fine until two days ago. Don't know what happened all of a sudden its not working. Need help.

    Hi, I have installed sqldeveloper - 4.0.3.16.84 - x 64 with JDK and tried to run SQLDeveloper.exe its does not work. A flash comes and goes. It worked fine until two days ago. Don't know what happened all of a sudden its not working. Need help.

    I use Windows 7 Pro.

    I have read other threads and tried to launch SQLDeveloper.exe from the CMD prompt, nothing is shown a flash comes and goes.

    Tried to change of SetJavaHome sqldeveloper.conf to the path JDK that it didn't work.

    Please guide me.

    Thank you

    Maybe there is a problem with SQL Developer, being able to write to the network share of desktop directory.  Add the following to your sqldeveloper.conf file to force the settings of the user to store locally also:

    AddVMOption - Dide.user.dir = some_local_dir_to_own_system4.0.3.16.84

    I hope this helps...

  • "File > open recent" does not work.    Second problem: impossible to drag individual files or folders, from one place to the other.

    I recently installed Lightroom 6 (stand-alone version).  I have two separate issues: firstly the "file > open recent" does not work.  The cottage my last files but when I click on one of them, nothing happens (don't close the existing catalog, nothing new opens).

    Second problem: I can't drag individual files or folders, from one place to another within the section "Files" from the library.  I did this on a regular basis with older versions of LR so I know how it's done - it does everything just not in this new version.

    Thank you

    Chris

    I think that a Mac person will have to answer your question, I do not use Mac computers.

  • Code Insight in pkb-open files does not work

    If I open the body of package oracle under the Packages node, and then open editor allows me to use the code Insight.
    If I open pkb-file by double clicking it, compiling successfully against the connected database and try to use the preview of code, so it does not work. No semiautomatic aid work there.
    How can I use autocomplete in pkb-files?

    --
    Version 2.1.0.63

    Base PL/SQL development file is not yet the way it is supposed to be. Current ETA is by v3.0.
    FWIW, I confirmed it in section 2.1.1.

    Sorry,
    K.

  • FIFA 12 file system 65535 error (I ran as administrator and game opened) but does not work properly.

    I installed fifa 12 in windows 8 notebook pc it works off kick is perfect, but when I play the game there is no game movement is stuck and sounds work depending on the game. my system configuration is AMD APU A8 - 5545 m with graphics Radeon (TM) HD 1.7 ghz

    Windows 8

    4 GB of ram

    laptop Sony vaio

    Mithun Hello,

    Thanks for posting your query in Microsoft Community.

    I understand you have questions, playing fifa 12 in the computer of Windows 8.

    In fact, this error means that the game is not compatible with Windows 8 in the computer. You are referring to the suggestions contained in the below mentioned thread where the same issue and how to install the program in compatibility mode and see if that helps.

    FIFA 2012 does not work with windows 8

    http://answers.Microsoft.com/en-us/Windows/Forum/windows_8-gaming/FIFA-2012-does-not-work-with-Windows-8/a8245d7d-3532-40a7-a2a6-261f17d52a6c

    I hope this helps. Otherwise, feel free to write us again for more assistance, and we will be happy to help you come.

  • laptop not running on battery power, does not work on current alternative

    Mobile works only with the battery will not work when the power supply is connected, it only works on battery when the battery is empty, says to plug in the power cord support

    will be appreciated

    If the device is powered by a transformer wall ac, its probably the cause, they burn out

    All the time. Replace it with the same intensity that is indicated on the device (input/output)

    power...

  • Windows - corrupt file message, telling me to run the chkdsk utility - does not work

    This is the message I get: "the file or directory C:\System Volume Information\EfaData\SYMEFA. DB-journal is damaged and unreadable.  Please run the chkdsk utility. "When I type chkdsk/f to the command prompt it tells me that it cannot run while windows is open and asks if I want it to work when I reboot.  I say Yes and restart and nothing happens.  What I am doing wrong?

    This is the message I get: "the file or directory C:\System Volume Information\EfaData\SYMEFA. DB-journal is damaged and unreadable.  Please run the chkdsk utility. "When I type chkdsk/f to the command prompt it tells me that it cannot run while windows is open and asks if I want it to work when I reboot.  I say Yes and restart and nothing happens.  What I am doing wrong?

    Two observations:

    1 symefa seems to be linked to something of Norton/Symantec called "Symantec Extended File Attributes" that seems related to Unix file data, so why it is present on a Windows system is a good question. A position I've seen connects it with Norton Internet Security 2010/2011 and suggests that uninstall NIS using theNorton removal tool will solve the problem.

    2. the System Volume Information folder is a folder 'hidden super' which is not normally accessible.  This is where Windows XP stores the system restore points andother information important to the operating system .  I suspect that Norton/Symantec has decided to take advantage of the great hidden nature of this file in order to hide some of his own thing.  You can access the System Volume information as described herehttp://support.microsoft.com/kb/309531 and delete the offending file.  But I would get rid of NIS first and then delete the file.

  • Disk defragmentation is running very slow or does not work properly under Vista

    Disk Defragmenter takes a long time (more than 2 hours) and doesn't seem to work properly.  I'm not sure what to do or how to report this to get help to fix the problem.  Any advice would be appreciated.

    Thank you

    Diane

    * original title - how to solve a problem with the Windows Disk Defragmenter? *

    Hello

    1st race SFC and CheckDisk to ensure the integrity of disk and file. It is possible that you have something
    stop defragmentation run then after that these see the next message.

    Follow these steps to remove corruption and missing/damaged file system repair or replacement.

    Run DiskCleanup - start - all programs - Accessories - System Tools - Disk Cleanup

    Start - type in the search box - find command top - RIGHT CLICK – RUN AS ADMIN

    sfc/scannow

    How to analyze the log file entries that the Microsoft Windows Resource Checker (SFC.exe) program
    generates in Windows Vista cbs.log
    http://support.Microsoft.com/kb/928228

    Then, run checkdisk - schedule it to run at next boot, then apply OK your way out, then restart.

    How to run the check disk at startup in Vista
    http://www.Vistax64.com/tutorials/67612-check-disk-Chkdsk.html

    How to difficulty Chkdsk will not run at startup in Vista
    http://www.Vistax64.com/tutorials/130824-CHKDSK-will-not-run-startup-Vista.html

    ================================

    Here are excellent free 3rd defragmenters party which I use.

    Very powerful - FREE - MyDefrag
    http://www.MyDefrag.com/

    Defraggler - free - defragment your entire hard drive or individual files - unique in the industry.
    This compact and portable Windows application supports NTFS and FAT32 file systems.
    http://www.Piriform.com/Defraggler

    Auslogics Disk Defrag - FREE - works easily and does a great job
    http://www.Auslogics.com/en/software/disk-defrag

    Also check out these and other "related links" here:

    How to run Disk Defragmenter from the Vista command prompt
    http://www.Vistax64.com/tutorials/81786-Disk-Defragmenter-command-prompt.html

    How to change the planning for Disk Defragmenter in Vista
    http://www.Vistax64.com/tutorials/72832-Disk-Defragmenter.html

    How to have a task to wake the computer to run in Vista Task Scheduler
    http://www.Vistax64.com/tutorials/166809-Task-Scheduler-wake-up-computer.html

    I hope this helps.

  • Firefox hangs before opening, but does not work in safe mode

    Firefox start, sometimes the browser window will open, but either way it hangs completely seized of the charges. I can open it in safe mode and have tried the suggestions of "Troubleshooting extensions and themes", but it hangs still, even with all add ons and extensions disabled, after removing and reinstalling the latest version of Firefox and reset the toolbar.

    Your crashreport:
    https://crash-stats.Mozilla.com/report/index/BP-f144bda2-12d0-4a31-94f8-318662111109
    This is caused by report of Trusteer. Try to disable it and see if that stops the noise.
    You can stop the report by using the Start Menu > programs > Trusteer report > report stop
    You can ask their helpdesk when a version update of their products will be available or, if you do not need this software, uninstall.
    http://www.Trusteer.com/support/en/report-problem
    According to the user in question 892517 Trusteer is aware of the problem and working on a fix.
    See also Bug 699776 - crash of nsXPTCStubBase::QueryInterface involving a RapportTanzan7.dll in the stack.

  • Import of opening plugin does not work

    Hello

    I tried to use the plugin to import opening to migrate my lightroom library.

    Seen this error:

    [string "Import.lua"]: 1026: try local index 'albumInfo' (value zero)

    Here is the log:

    2014-10-25 10:58 + 0000, INFOReceived no information album iPhoto library with error ' ascii' codec can't encode the characters in position 2533-2535: ordinal not in range (128)

    Here, everyone has the same problem?

    Do you know how to fix this?

    Thanks in advance.

    I've never used the plugin, but I get the error message sorta.

    I guess you have some textual metadata in this album info, which includes non-ascii characters choking on the plugin for some reason any. If you can remove these characters, it might work.

    Search for equal or greater than 128 characters "decimal" (base 10).

    You can see which characters can be problematic by looking at the chart here:

    ASCII Table - codes of characters ASCII and html, octal, hexadecimal and decimal conversion chart

    Or maybe the plugin is just out to lunch...

    Consider to have reported to Adobe here:

    Recently active topics in Photoshop on Photoshop Lightroom family

    Out of curiosity, what language do you use, and it's a standard keyboard? -Another possibility is character encoding is different from the expected/taken in charge by the plugin...

    SoC

  • A button new open tab does not work. I use Firefox on Windows 7 17.0. The computer has been restarted.

    It has worked very well. All of a sudden no longer work after no significant change to the computer (I know).

    Start Firefox in Safe Mode to check if one of the extensions (Firefox/tools > Modules > Extensions) or if hardware acceleration is the cause of the problem (switch to the DEFAULT theme: Firefox/tools > Modules > appearance).

    • Do not click on the reset button on the start safe mode window or make changes.
  • Modules window opens but does not work properly

    It started a year ago when I got FF 2.0 and I thought it would be itself correct when I updated to 3.6, but it didn't.

    I have several add-ons that I wanted to delete. When I click on uninstall, they stopped working and the window Add on said that they would be removed to restart FF, but they do not and are still visible after a year or two.

    I have no script and wanted to turn once to see if it interfered with another program. By clicking on the button disable nothing to do, so I have to click on uninstall then it stops working, and then click on disable to activate again.

    If I click on Options onno the script, it crashes FF and I have to use the Task Manager to get out of the FF.

    Is there a way to put this back in working order?

    I don't know of a fix for this, but you can try creating a new Firefox profile:

    http://support.Mozilla.com/en-us/KB/managing+profiles

  • I can't get my games installed on windows to play. I click on them, get the whirlwind as his work to open but does not work. Help!

    I can't my windows games to play. You know the ones that come already installed on Windows 7.

    Hi abarbato,

    Thanks for posting on Microsoft Answers!

    1 what is the error message when you run the default games in Windows?

    2 it is limited to a particular game or all games?

    3
    use (SFC.exe) System File Checker tool to determine which file is causing the problem and replace the file. To do this, follow these steps:
    1. open an elevated command prompt. To do this, click Start, click programs, accessories principally made, right-click Guest, and then click Run as administrator. If you are prompted for an administrator password or a confirmation, type the password, or click on allow.
    2. type the following command and press ENTER:
    sfc/scannow
    The sfc/scannow command. analyzes all protected system files and replaces incorrect versions with appropriate Microsoft versions.

    More information on SFC scan found in this document:
    http://support.Microsoft.com/kb/929833

    4. Uninstall and reinstall the games:
    1. click on start and in the search bar type "Turn Windows feature on or off.
    2. navigate to the games, and clear the check box next to it.
    3. restart the computer and same way go to the games and put a check mark (this will be re - install games)

    I hope that helps!

    Thank you, and in what concerns:
    Shekhar S - Microsoft technical support.

    Visit our Microsoft answers feedback Forum and let us know what you think.

  • Open resetlogs does not work when creating clone db with online backup

    Hi all

    I am trying to create a clone database using a database hot backup.

    STEPS I FOLLOWED
    ------------------------------------

    LET-> CURRENT_DB NAME = DEV
    DATABASE NAME = DEVCLONE CLONE

    FORM DEV DB steps
    -----------------------------------------------
    -put the database in backup mode using 'alter database begin backup'
    -Copy all data files to a different folder
    -for the copy, I carried a few operations on the DB (creating users, tables, LMD etc...)
    -between the copy, I did also order journal
    -at the end of the copy, "alter database end backup.
    -created a backup control file in a human-readable format (alter database backup controlfile to trace under...)


    steps to clone side DB ((DEVCLONE)
    -------------------------------------------------------------------
    -created a setting for the database file.
    -changed the backup control file, so that it indicates the location of the datafiles copied destination
    -set the ORACLE_SID
    - then "sqlplus / as sysdba"
    -starup nomount
    -Run the file updated control (created a control file for database clone)
    -recover the database using 'recover database using backup controlfile'
    I have provided the files to archive that he was asking for (the archive that has been generated in DEV DB logs)
    then I cancelled the recovery by typing 'Cancel '.
    -recover database using backup controlfile until cancel;
    then typed "Cancel".
    -then try to open the database with resetlogs open but it showed error below

    ALTER database open resetlogs
    *
    ERROR on line 1:
    ORA-01195: online backup of file 1 needs a recovery more match
    ORA-01110: data file 1: ' D:\DATA_GUARD\DEVHOT\SYSTEM01. DBF'

    Please help me on this...

    Thank you

    When the database is in BACKUP mode, it is still actively updated, only the data file headers are frozen.
    The data files are all "blurred".
    To resynchronize the, you can all do it again that was generated during the BACKUP mode - so the generated archivelogs while in BACKUP mode at least the first captured archivelog BACKUP of the END (and release of the datafile headers) is required.

    Hemant K Collette

  • I need to recover the old Claris works docs but do not have Pages Open Office does not work?

    I need to recover an old Claris for Yosemite books

    You can try LibreOffice. He is able to open some of these old formats.

Maybe you are looking for