default setting of the entry in the ini file?

What, in v2011, is the default setting in the ini file AllowMultipleInstances value? I know this isn't a field normally included in the generated ini file when an exe is built, I wonder what the value is default? I've added in the ini file, set to False on a machine, I try to solve problems which has a launch program so slow that operators often go back and try and start again, which results in two instances, only that works properly.

Test with any simple program, it seems that the default value is false, as usual.

Maybe your executable is so heavy during the loading time is not "recognizable" a later instance for a long time?

In this case, you can write a slight stub program that will be launched by the user instead of the main.

The heel should run at hand via a file cmd or SystemExec; It would give fast feedback to the user; It should stay for enough time to leave the main appear, then stop itself.

Tags: NI Software

Similar Questions

  • read and sort the values present in the .ini file

    Hi all

    I have an .ini file in which a set of modules with that execution order is mentioned. I want to get all these values sorted in a table, so that I can proceed with the execution of each one in the order given. The list of the module in the .ini file looks like this:

    .

    Here, the numbers represent the order of execution of the module.

    I should get output as a table with the following values:

    1 MNO

    DEF 2

    3 STU

    4 PQR

    5 GHEE

    6 VWZ

    ABC 7

    8 JKL

    I don't know about the configuration data and reading key live but as the list of modules is huge I don't know how to write efficient code for this. Any suggestions are welcome.

    Thank you.

    The excerpt below should be very close to what you want.

  • using the .ini file created by EXE

    First of all I would like to say that I have a thorough knowledge of the .ini files and the need for them.  My question is related specifically to the .ini file that is created with the executable.  I searched the forum but have not found any instance of my question specifically.  After installation, the .exe and .ini are placed in my working directory in Program Files, which I expected.  The .ini file that is created is attached.

    Now, I would like to point to a different .ini that stores control settings.  I did it in the App generator under Advanced > Use Custom Config File.  That's fine and dandy, but the network, web, settings etc that have been created in the original .ini does not get included in my new .ini.  If my option is to use an .ini file separated with my control as well as created by the .exe parameters.  This seems redundant.

    My question is: does nothing my executable with the .ini file that is created when it starts to run?  I'd be OK NOT to have attached items if I wanted to point to a custom .ini file?  Why create an .ini with these specific settings file if the .exe does nothing with them?

    The only article I found is this one

    http://digital.NI.com/public.nsf/allkb/5467F7D7895835C186256FAF00600A21?OpenDocument

    but it does not explain what the .exe is done with it, if anything.  I guess you have a total control over the .ini and there is nothing "automatic / backstage" going on here.

    Thanks in advance for your help.

    Why remind you the application builder to a custom INI file if you are going to have to read the chips inside manually anyway?  The reason to use a custom within the app Builder INI file is so that you can include specific parameters of execution (VI, access list server, port etc.) which are different from the settings using the LabVIEW development environment.

    You need not key in the INI file for your run-time application (as evidenced by the fact that if you delete the INI file, your exe will still works, creating a new INI file with default values).  If you leave the defaults, the application adds in the first leg in any case.

    You can store your own data in the same INI file used by the executable file; just put the keys in a different section.  LabVIEW Config File format INI files screws slightly differently (for example adding spaces around the = sign), but I didn't know it causes problems.

  • can you tell me what to type in the search to bring up all the ini files?

    original title: question on files

    If someone could tell me what to type in the search to bring up all the ini files, it would be great.

    sandwichsam wrote:

    If someone could tell me what to type in the search to bring up all the ini files, it would be great.

    Have you tried searching for "*.ini?

    Bruce Chambers

    Help us help you:
    http://www.CatB.org/~ESR/FAQs/smart-questions.html

    http://support.Microsoft.com/default.aspx/KB/555375

    They who can give up liberty to obtain a little temporary safety deserve neither liberty nor safety. ~ Benjamin Franklin

    A lot of people could die rather that thinking; in fact, most do. ~ Bertrand Russell

    The philosopher never killed the priests, while the priest killed a large number of philosophers.
    ~ Denis Diderot

  • Why can't I just copy a profile to another system in the directory profiles and modified the ini file

    My main system crashed. I have a copy of the profile. When I move a copy of the profile in the profiles folder and edit the ini file to use the new name, I get a message that there is an instance of thunderbird running and I need to shut it down. I don't see any instance of thunderbird anywhere in the Task Manager. It happens just for me the fact that I am also in firefox may be the cause of the problem to a running instance. I'm under V31.7.0

    I tried to simply move the mail directory in the existing profile. The thing is that I don't see the old messages. I can see all of the subfolders of the Inbox on the left but not messages in the right pain. I can see new messages, but it's all in the Inbox and not filtered to the subfolder.

    I tried to activate the function of multiple profile but that doesn't seem to work.

    MY BAD
    It seems that I had something that was bad in the profile. I got the profile from a backup and now Thunderbird works fine.

    Sorry that I missed the problem earlier.

  • Best practices for the .ini file, reading

    Hello LabViewers

    I have a pretty big application that uses a lot of communication material of various devices. I created an executable file, because the software runs on multiple sites. Some settings are currently hardcoded, others I put in a file .ini, such as the focus of the camera. The thought process was that this kind of parameters may vary from one place to another and can be defined by a user in the .ini file.

    I would now like to extend the application of the possibility of using two different versions of the device hardware key (an atomic Force Microscope). I think it makes sense to do so using two versions of the .ini file. I intend to create two different .ini files and a trained user there could still adjust settings, such as the focus of the camera, if necessary. The other settings, it can not touch. I also EMI to force the user to select an .ini to start the executable file using a dialog box file, unlike now where the ini (only) file is automatically read in. If no .ini file is specified, then the application would stop. This use of the .ini file has a meaning?

    My real question now solves on how to manage playback in the sector of .ini file. My estimate is that between 20-30 settings will be stored in the .ini file, I see two possibilities, but I don't know what the best choice or if im missing a third

    (1) (current solution) I created a vi in reading where I write all the .ini values to the global variables of the project. All other read only VI the value of global variables (no other writing) ommit competitive situations

    (2) I have pass the path to the .ini file in the subVIs and read the values in the .ini file if necessary. I can open them read-only.

    What is the best practice? What is more scalable? Advantages/disadvantages?

    Thank you very much

    1. I recommend just using a configuration file.  You have just a key to say what type of device is actually used.  This will make things easier on the user, because they will not have to keep selecting the right file.

    2. I use the globals.  There is no need to constantly open, get values and close a file when it is the same everywhere.  And since it's just a moment read at first, globals are perfect for this.

  • Place the ini file in a specific location when the application generating

    Hello

    I have a little problem.  I have an ini file that I use to store some settings.  Lets call this app.ini file.  When I build the Application.exe, it puts this file in the data directory.  I was hoping that it would be at a higher level and be located in the same directory as Application.exe is (otherwise it will not read the file correctly.)  Looked at the settings of the Source file in the list of categories in the Properties window for the construction and all the 'Identical to the appellant' Destination, but he did not where I wanted.  I would really like this file to a directory higher when I do my build so that my application to read correctly.  Any suggestions?

    I use this executable then when I do my Installer and the problem just spreads here also, not good.

    One way to solve the problem:

    (1) in the build Properties window, select Destinations and create a new destination. Select the same directory where the exe file will be stored as 'Path of Destination'

    (2) assign this destination in the .ini file.

    Let me know if it works

    Marco

  • How to write data from the INI file for the control of the ring

    Hai,

    I need to write the data read from the INI file to a control of the RING. Doing this operation using variants I get the error.

    I will be happy if someone help me. I have attached the file special INI and VI.


  • Please help im trying to import pictures from a SD card and get this set up the following files were not imported because it couldn't be read items 1-100 101-200 201-300 itmes points

    Please help im trying to import images from the SD card and get this set up the following files were not imported because it couldn't be read items 1-100

    "Could not be read" indicates that the Destination Directory has no WRITE permission in your operating system.

    To resolve this problem, you must

    1. Determine the Destination folder - it's on the right side of your import under Destination dialog box
    2. Change permissions in your operating system on this particular file have WRITE permission (or switch the destination to one that has the WRITE permission)
  • When I open Illustrator I get an error: "the preferences file is corrupt and has been reset to the default settings. "The corrupt file is saved as: Adobe Illustrator Prefs.err.

    When I open Illustrator I get an error: "the preferences file is corrupt and has been reset to the default settings. "The corrupt file is saved as: Adobe Illustrator Prefs.err.

    Hello

    We have released an WINDOWS ONLY fix today that solves this problem of corrupted preferences. Go to the creative cloud application and download the patch CC 20151.1 (19.1.1)

    If you see not the patch in the creative Cloud application wait on or refresh cycle you can disconnect and connect to force refresh the list of available patches.

    Kind regards

    Ashutosh

    On behalf of the Illustrator engineering team

  • What is the default setting for the homepage of the new tab in firefox?

    My browser has been hijacked, I need to reset and I don't know which is the default setting. I would use the new firefox tab layout.

    See:

    The URL of the new tab page is on: newtab

    The build-in home page URL is on: home.

    If there is a problem with the build-in on: home page and then try to reset the search engine used on the subject: homepage.

    Reset the pref browser.startup.homepage_override.mstone through the context menu by default on the topic: config page and close and restart Firefox to restore the on: default home page.

    1. Open the topic: config page through the address bar
    2. Type in the filter bar: mstone
    3. Right-click on the browser.startup.homepage_override.mstone line, and then select: Reset
    4. Close and restart Firefox

    If this did not help, then remove the button Delete the chromeappsstore.sqlite file in the Firefox profile folder and repeat the foregoing.

  • LaserJet Pro CM1415fnw: Change the default setting for the file tif to pdf on LaserJet Pro CM1415fnw

    How can I change the default setting from tif to PDF when scanning?  I can't find the "Advanced settings".

    Hi @kkeach,

    Welcome to the Forums of HP Support! I see that you want to change the setting in PDF format when scanning documents. I want to help you solve this problem. If this helps you to find a solution, please click on the button "Accept as Solution" down below in this message. If you want to say thanks for my effort to help, click on the 'Thumbs Up' to give me a Kudos.

    Did you download and install the drivers and software HP LaserJet Pro CM1415 multifunction printer full color or a Windows Update used to install the drivers?

    You use the HP scanning software?

    I submitted this document to change scanning settings using the HP scanning software.

    Multifunctional HP LaserJet printers - how to scan (Windows 8).

    Here is a screenshot of the HP Scan software and what options should be available:

    If there is anything else I can help you, let me know. Thank you.

  • What is the average of default setting in the subject area Permission screen in SPR

    Hello gurus,

    We use OBIEE 11.1.1.7.150120. Trying to figure out how to play the permissions on the domain object.

    What is the average of the 'default' setting?  It translates to 'Read-write' or 'Read' or 'access forbidden '?  or business being a top-level object, the parameter 'Default' basically inherits the permission set for the application role "AuthenticatedUser"?

    Thank you

    Rakesh

    Hello

    Here is a copy/paste of the 'help' in the administration tool:

    By default. The permission is inherited from the parent object. Areas, because they are a higher level object, default value is equivalent to the permission granted to the application role AuthenticatedUser.

    If you ask for materials, 'default' in this case means same permission as an authenticated user.

  • How to make "black ink only" the default setting on the HP6500?

    Most of my pointless impressions of color. How do "black ink only" the default setting on my HP Officejet 6500 has more?

    What operating system? Usually printing preferences defined in the Printers folder will be persistent, while the set of parameters in most applications will only apply until the application is closed.

  • Can I change the default setting of the color of the pen? [iOS]

    Can I change the setting of the color of the pen?

    I open the PDF file on iPad and use the pencil tool like the graph below.

    But, I want the black color of the trace in pencil, so I change the color tool as the graphic below.


    I guess that the default settings of the color of the pen is red.

    I want to make the default settings of the color of the black pencil, when I open the file on another iPad.

    Can I change the default settings of the color of the pen?

    Hello

    Yes, the default color of the drawing (pencil) Freehand is red (for the first time).

    But once you change the color of a different color (e.g. black), Acrobat Reader, don't forget your color choice for the particular tool for next time.

    If it works for you?

    Please let us know if you have any additional questions.

Maybe you are looking for