Create a path for the child of distribution

Hello

I created an application and now I want to build a kid of distribution. Here, I had a problem. My app needs a *.txt data to run. In my development code I save data in the same folder in my *.uir and *.c files (example: fopen ("Test.txt", "w")so now is my question how to tell in my program it must create the *.txt file in the same folder where my program is installed on the distribution kid?)
My first thought would be to call the whole path where the program is installed (C:\Program\MyApplication\Test.txt).
But here I don't know where the program gets exactly installed on another computer. Is there a way to know who?

Best regards

You want the utilities library GetProjectDir().

However, beware that your application can have access in writing. If you need to write data to a file in your application, see here.

Tags: NI Software

Similar Questions

  • How to create a password for the user account for my child?

    How to create a password for the user account for my child?

    You can create the user with the parental control account. This will act as a protection for the child's account.

    You can take a look at the following links on setting up parental controls:

    http://Windows.Microsoft.com/en-us/Windows/set-up-family-safety#set-up-family-safety=Windows-7

    http://Windows.Microsoft.com/en-us/Windows/set-parental-controls#1TC=Windows-7

    http://www.howtogeek.com/HOWTO/10524/how-to-use-parental-controls-in-Windows-7/

  • Creating a custom for the current scale

    Hi guys,.

    I need help in the creation of a custom scale. I read motor current (analog I / P) and I want to show that on a chart and write it to a file. I need to use a linear scaling for custom scale. The slope is 2 and the intersection point is 0. I have attached the code to clearly indicate what I'm currently building. The way I put up right now, it's not the scaling. It has 2 spots in the code. I would like to create a custom for the first task, as in the attached code scale. I had a scale customized using VI to Express DAQ Assistant. But I do not see these options when I try to do the same with the DAQmx task. Please let me know how this can be done. Any help is greatly appreciated.

    Thank you

    REDA

    Ah.

    on the pallate DAQmx > advanced > the balance settings

    There is a scale property node and "Create Scale.vi"

  • How to create an ERD for the vista sp2 x 64?

    How to create an ERD for the vista sp2 x 64?

    How to create an ERD for the vista sp2 x 64?

    If you do not have a Microsoft Vista DVD, make a repair disc to do a Startup Repair:

    Download the ISO on the link provided and make a record of repair time it starts.

    Go to your Bios/Setup, or the Boot Menu at startup and change the Boot order to make the DVD/CD drive 1st in the boot order, then reboot with the disk in the drive.

    At the startup/power on you should see at the bottom of the screen either F2 or DELETE, go to Setup/Bios or F12 for the Boot Menu.

    When you have changed that, insert the Bootable disk you did in the drive and reboot.

    http://www.bleepingcomputer.com/tutorials/tutorial148.html

    Link above shows what the process looks like and a manual, it load the repair options.

    NeoSmart containing the content of the Windows Vista DVD 'Recovery Centre', as we refer to him. It cannot be used to install or reinstall Windows Vista, and is just a Windows PE interface to recovering your PC. Technically, we could re-create this installation with downloadable media media freely from Microsoft (namely the Microsoft WAIK, several gigabyte download); but it is pretty darn decent of Microsoft to present Windows users who might not be able to create such a thing on their own.

    Read all the info on the website on how to create and use:

    http://NeoSmart.net/blog/2008/Windows-Vista-recovery-disc-download/

    ISO Burner: http://www.snapfiles.com/get/active-isoburner.html

    It's a very good Vista startup repair disk.

    You can do a system restart tool, system, etc it restore.

    It is NOT a disc of resettlement.

    Make sure you get the 64 bit version.

    See you soon. Mick Murphy - Microsoft partner

  • How can I create a shortcut for the recycling bin in my office?

    Original title: Recycle bin shortcut.

    Anyone know how I can create a shortcut for the recycling bin in my office context menu (context menu)?

    Sorry Manu B G, but I think I understand what he wants exactly. This isn't a desktop shortcut but a shortcut context Menu. He wants a right-click on any empty space in the office and click Recycler Bin shortcut in the menu to go to the basket. Any way to do it?

  • I am creating a desktop for the mail icon

    None of these options work for me.  I am trying to create a desktop for the mail icon.  When I right click on the mail icon, my only choice is "detach from the beginning ' or 'uninstall '.  (Either by the way, I don't like the home screen - messy, confused, not how I work).

    David

    Split from another thread:

    http://answers.Microsoft.com/en-us/Office/Forum/office_2010-Excel/creating-desktop-icons-in-Windows-8/505061e9-e64e-4D42-96d3-30a27725e834

    Hi David,

    By design, we cannot create shortcut on the desktop for Mail App Mail App isn't a desktop program, it is designed to work in the modern user interface Interface.

    For example, you can pin Google Chrome in Start Menu and taskbar. But where you open it open only in desktop mode, because it's a desktop program.

    Hope this information helps. If you need more assistance or information on this question, reply to this post. I'll be happy to help you.

  • Need to create a structure for the target data store?

    Hi Experts,

    If I create a structure for the target data store, and then load the data from source to target works fine. If I make mistakes.

    Is necessary to create a structure for target?

    Please help me...

    Thanks in advance.

    A.Kavya.

    I found the answer. No need to create the structure for target temporary data store. and we need to create the structure for the permanent target data store.

  • How to create a password for the pdf file

    The Adore Acrobat XI, how to create a password for the file? Aid says going to the Tools Menu and clicking on the Protection tab - but there is no option. In the security file - properties - screen, it shows the security details but doesn't allow for no change.

    I think you can be mixing two different products: (free) Adobe Reader and Acrobat ($$).

  • create a page for the Tablet

    Hi all.

    I do not know English and perkladayu your question in the Google Translator

    Sorry for the typos

    Is it possible to Adobe Muse

    create a page for the Tablet (not a site, but only one page)

    This page is having a video background

    widget that I used for the video backgrounds

    https://creative.Adobe.com/addons/products/2604#.u93-4_l_t8E

    My Web site

    http://skajiprobleme.NET/

    a link to a video setting

    http://skajiprobleme.NET/tips-Alla.html

    I just created a page with a video background to the Tablet, and coming on the site of a tablet that fell on the video backgrounds and not on the main site

    Duplicate Page with video calling Tablet - locking

  • How to create a list for the tabs 2nd level

    Dear Experts

    I created a view
    CREATE OR REPLACE FORCE VIEW  "MY_VW_TABS" ("APPID", "PTTARGET", "PTTABNAME", "PTTABLABEL", "TABNAME", "TABLABEL", "TABPAGE") AS
      select pt.APPLICATION_ID APPID,pt.TAB_TARGET PTTARGET,pt.TAB_NAME PTTABNAME,pt.TAB_LABEL PTTABLABEL,t.TAB_NAME TABNAME,t.TAB_LABEL TABLABEL,t.TAB_PAGE TABPAGE
    from APEX_APPLICATION_PARENT_TABS pt,APEX_APPLICATION_TABS t
    where t.tab_set = pt.TAB_NAME
    and pt.APPLICATION_ID=t.APPLICATION_ID
    order by pt.TAB_NAME,t.TAB_NAME
    I need to create a dynamic list based on this view of the * 2nd level tabs * (of my model of two-level tabs page), to be used in a region bordered on page 0. However, I found that the code in the list should be as follows:
    select level, labelValue label, 
           [targetValue]            target, 
           [is_current]             is_current_list_entry,
           [imageValue]             image, 
           [imageAttributeValue]    image_attribute,
           [imageAltValue]          image_alt_attribute,
           [attribute1]             attribute1,
           [attribute2]             attribute2,
           [attribute3]             attribute3,
           [attribute4]             attribute4,
           [attribute5]             attribute5,
           [attribute6]             attribute6,
           [attribute7]             attribute7,
           [attribute8]             attribute8,
           [attribute9]             attribute9,
           [attribute10]            attribute10
    from ...
    where ...
    order by ...
    Now, I have two questions:
    (1) how to use the view above to be used in the code of dynamic list?
    (2) is a good way to create a list for the tabs 2nd level?

    Best regards
    Mahmoud

    Mahmoud

    Are you sure that you view is correct?

    >

     where t.tab_set = pt.TAB_NAME
     
    

    Should be

    where t.tab_set = pt.current_for_tabset
    

    Nicolette

  • Create a path from the pen with an action

    I can't record an action that create a path from the pen. You have an idea to solve?

    Thank you

    Marco

    With active use of the path enter the path of the menu actions panel flyout.

  • How to create a function for the function date two

    Hai All

    How can we create a function for the date function two and to return the number of hours between two dates

    For example

    1 January 2010 0815' - '01-jan-2010 1715' and I need to calculate the time between two dates

    How can I create a procedure

    Thanks I advance

    Srikkanth.M

    What have you tried?

    Here is an example (untested):

    CREATE OR REPLACE FUNCTION RETURN_HOURS
    (
            pDateStart      IN DATE
    ,       pDateEnd        IN DATE
    )
    RETURN NUMBER
    DETERMINISTIC
    AS
    BEGIN
            RETURN (pDateEnd - pDateStart) * 24;
    END RETURN_HOURS;
    
  • How to create a key for the distribution of the space object?

    I searched for an hour. The help file looks not to the Panel in Muse 4.1. Very frustrating to get info on this program! I am required to make a key object to specify a value for the spacing setting, but there is no instructions for her...

    How to make a key object?

    The field to set the numeric value in the Align Panel gets activated as soon as you select multiple objects in Design view and select a key object by clicking on it or select "Align to Key object" menu drop-down ' align to.

    Thank you

    Vinayak

  • LVOOP: Common accessor for the child classes?

    I am reletively new to LVOOP and OBJECT oriented programming in general. I used very simple classes as a replacement for clusters several times, and now I have an architecture intended to convert most of my code into classes, dynamic distribution screw and similar.

    However, I run in to an issue, which basically boils down to laziness: I really don't want to do a lot of the same dynamic send screws I want to have a VI parent to be able to write a piece of data common to all children. Preference gives an error if the child does not have this data element.

    I guess it's quite similar to dynamic distribution, but without having to write a DD VI for each class.

    Is it possible to have the VI parent to access the data of the child? If so, how?

    Here is an example of my hierarchy:

    Test.lvclass (parent)

    DC_test.lvlcass (data: test number, 2D, time stampresults)

    Transfer_Curve_test.lvlcass (data: results of tests settings, 1 d, timestamp)

    Breakdown_test.lvlcass (data: test number, 3D, timestampresults)

    ... 28 another test

    As you can see, the data type only common between them is the timestamp. I want to be able to use a VI in the parent class to write data in the child class.

    You have it backwards autour.

    The data that is common belongs to the parent class, not the class of the child.

    Data that are not common may not be processed by the parent class and must be transformed by the child class.

    You don't need to CREATE truly dynamic shipping screws for a common data type.  If you just don't set the VI at all, it will be called the parent instance.

    Shane.

  • What is the path for the storage of cookies

    On my computer, I installed WinPatrol and at the end of each browsing session, I used to make use of it's 'see the cookies' the function to remove. Recently, I had reason to update FireFox and since then the cookies in WinPatrol visualization function no longer works. According to WinPatrol, it's because the 'filepath' where are stored the cookies have been deleted. Unfortunately, I do not know which is the path or how to restore. If someone out there could tell me what it is and how to restore it I would be eternally grateful. And Yes, I know that I am a fool and shouldn't be allowed near a computer this is why I am asking for help.
    Thank you.

    You can leave the cookies expire when Firefox is closed to make the session cookies.

    • Firefox/tools > Options > privacy > "Use the custom settings for history" > Cookies: keep until: "closing of Firefox".

    Create an exception to "allow" cookie for the cookies you want to keep.

    • Firefox/tools > Options > privacy > "Use the custom settings for history" > Cookies: Exceptions

Maybe you are looking for