Asking the user to select a file path to record data to

Hello

To improve the 'user interface', and the usability of my VI, I would like to have the dialog box "select file path" appears automatically, rather than create a user by clicking on an icon on the front panel to display the path of the file dialog. The 'order' of operations would be as follows:

VI implementing--> Dialogue request to the user the name of the file--> VI adds automatically it appropriate extension--> traditional dialog windows 'save file' opens to allow the user to select the appropriate folder to save the file in--> rest of VI runs.

I have everything other works independently to obtain registration of the file dialog is displayed automatically. Currently, the only way I can do that is to have the user to select the folder to save ahead to launch through the façade, but would like to remove this step and as soon as they clicked 'OK' on the previous dialog (file name request) have the "Save file/select the folder" dialog appear.

Thank you

I think you are looking for the file Express VI dialogue. Be sure to post if this isn't what you're looking for.

Tags: NI Software

Similar Questions

  • Unable to get the write IMAQ 2 file to ask the user for the path.

    I am currently using an IMAQ 2 writing file to create a .bmp image. I have the VI attached to a control which allows the user to enter the path where they want to save the file. However, I do not want the user to have to ensure that they have typed the path forward the write IMAQ file runs. I want the program to work so that when the write IMAQ file running a window is displayed asking the user where they would like to save the file. If someone could help me out I would be grateful thanks.

    Use the file i/o VI file dialog box > range of advanced features to file

  • How to ask the user to type in the select statement

    Hello

    Can anyone tell me the syntax of the select statement where I can ask the user to enter the value.

    for example, I try to use belowthing, but it displays error

    Select * from emp where empname =: empname

    SP2-0552: Bind "empname' undeclared variable.


    2. is there a dictionary of data table to see all pl/sql procedures and corresponding code?


    Thank you
    Sri

    Try:

    select * from emp where empname='&empname';
    

    L.

  • Print button to print the page 10 to the dialog asking the user how many times to print page 10

    Hi all

    Want javascript to attach to a button that does the following: -.

    ask the user in the dialog box how many copies of page 10, they wish to print.

    Seems easy hmmm not to me... Unfortunately.

    If this cannot be done is is it possible to have page 10 selected in the dialog box for normal printing on a button... which brings up the print dialog box and all you have to do is select the number of copies.

    Thanks in advance

    Stephen

    You can use this code to do this:

    var copies = Number(app.response("How many times do you want to print page 10?","",""));
    if (!isNaN(copies) && copies>0) {
        var pp = this.getPrintParams();
        pp.firstPage = 9;
        pp.lastPage = 9;
        pp.NumCopies = copies;
        this.print(pp);
    }
    
  • Installation of AIR without asking the user

    When a mobile user install my application and his motive is not install Adobe AIR / low version of the AIR, it would be a popup asking installation of Adobe AIR required.

    I think that this process could cause a problem if the user do not know what is Adobe AIR, or they refuse to install Adobe AIR for a reason, which prove not to install my application.

    On iPad, Adobe AIR installation is somehow build-in, who would not ask the user to install AIR before installing mine.

    How do I put my project as my application would not ask the user to install Adobe AIR on Android device or iPhone?

    Hello

    iPhone will work the same as iPad - so does not rely on a separate installation of AIR.

    You can achieve the same thing with Android if you deploy a period in captivity.

    Assuming you are using Flash Pro - when you publish to Android just select "Embed AIR runtime associated with the application". As the text suggests it automatically includes the AIR runtime in your application.

    You can achieve the same with ADT too...

    Adobe AIR * packages APK Android

  • Wait for the user to select the OK button

    For my application, I can't use a simple MessagePopup where the user must select the OK button to continue.

    I created a new Panel with just a text message and an OK button to act as a MessagePopup.

    When I call InstallPopup and the box pops up that I have to wait until the user selects OK before continuing as the MessagePopup.

    How can I accomplish this?

    Thank you!

    John W.

    The popup has no effect on the mouse: it can happen that you have a function that manipulates the cursor before the popup is displayed? A SetWaitCursor (1); would be sufficient.

  • In Outlook 2003, I keep getting a popup asking the user ID and password.

    In Outlook 2003, I keep getting a popup asking the user ID and password.  This continues after I provide the information requested.  How can I stop this?

    When it happens, it is usually a small problem with my ISP (AT & T).

    When AT & T fixes their mail server, I left get these annoying popups.

    I suggest that you contact your ISP.

  • Restrict the user to select a fixed number of values only to the SelectManyShuttle component

    Hello

    I'm working on JDeveloper 11.1.1.7.

    My requirement is to allow the user to select a fixed number of values using the SelectManyShuttle component only.

    Suppose if I have 10 available values in the left part of the element of the shuttle, I should allow the user to shuttle only three values on the right.

    In the image below, I already have 3 employees. Now the user should not be able to select employees more.

    < af:selectManyShuttle label = "Label 1" id = 'sms1.

    value = "#{pageFlowScope.shuttleBean.selectedEmpNames} '"

    leadingHeader = "all employees".

    trailingHeader = "selected employees.

    simple = "true" >

    < f: selectItems value = "#{pageFlowScope.shuttleBean.allEmpNames} '"

    ID = "si1" / >

    < / af:selectManyShuttle >

    Shuttle.png

    Can you please share your ideas to achieve this?

    Respect,

    Vinod

    There are different strategies how to implement this. The easiest will be to check the size of the selected list when the user cklicks the button finished. If the number is larger that the size limit display you an error message.

    Another way would be to use a valueChangeListener and the listener, check the size of the new value and add the tonthe size from the size of the already selected list. Then display an error message.

    Timo

  • If I get the user to select a location in a drop-down box

    If I get the user to select a location from a drop-down list (Atlanta, Orlando, 14 sites in total, etc.), then I want to write the address of this place in a text field which is the best way to do it I tried several if statements and did not get good results. any suggestions?

    Here is the code I use... It retrieves the value of Location_1, and then returns the address

    var Location = this.getField("Location_1").value

    If (Location = "Atlanta") {}

    Event.Value = "Barnes HC - Atlanta \n 2030 Powers Ferry Rd Atlanta, GA 30339-5016 \n \n 678-627-0077 \n";

    }

    If (Location = "Birmingham") {}

    Event.Value = "Barnes HC - \n \n 120 Oxmoor Blvd Homewood Birmingham, AL; \n \n 35209-0000 205-667-9193 \n ";

    }

    If (Location = "Crestview") {}

    Event.Value = "HC - 2207 Crestview\n Barnes S Ferdon Blvd\n Crestview, FL\n 32539-8458\n 850-683-0888\n O2 Lic # ';"

    }

    If (Location = "Dothan") {}

    Event.Value = "Barnes HC - Dothan\n 3236 West Main St, Suite 1 & Dothan, AL\n 36301-4130\n 334-671-1027\n 2\n";

    }

    If (Location = "Gainesville") {}

    Event.Value = "Barnes HC - Gainesville 1700 NW 80th Blvd. \n Gainesville, FL 32606-9177 \n \n 800-825-1733 \n O2 Lic #"; "

    }

    If (Location = "Jacksonville") {}

    Event.Value = "Barnes HC - 3728 Philips Highway, Suite Jacksonville\n 32\nJacksonville, FL\n 32207-6840\n 904-301-1050\n O2 Lic #";

    }

    If (Location = 'Panama City') {}

    Event.Value = "Barnes HC - 2425 City\n Panama Martin Luther King Jr\n Panama City, FL\n 32405\n 800-434-0822\n O2 Lic # ';"

    }

    If (location = "Tallahassee") {}

    Event.Value = "Barnes HC - Tallahassee\n 2524 Cathay Court\n Tallahassee, FL\n 32308-4248\n 800-464-8455\n O2 Lic #";

    }

    If (Location = 'Tampa') {}

    Event.Value = "Barnes HC - Tampa\n 5483 waters Ave, Suite 1200 N\n Tampa, FL\n 33634 813-888-7607\n 1205\n O2 Lic # ';"

    }

    If (Location = "Tifton") {}

    Event.Value = "GA\n HC - Tifton\n 2201 US Hwy 41 N unit K\n Tifton, Barnes 31794 - 2754\n 866-876-9114\n."

    }

    If (Location = "Valdosta") {}

    Event.Value = "Barnes HC - Valdosta\n 200 S Patterson St\nValdosta, GA\n 31601-5621\n 800-422-5059\n";

    }

    If (Location = 'Waycross') {}

    Event.Value = "Barnes HC - Waycross\n 2875 Knight Ave\n Waycross, GA\n 31501\n 866-284-9190 \n";

    }

    currently I have this under the field Calcualation of the text box, I want it written on. Is there a way to better / easier to do this?

    I need to write the field like this:

    Barnes, HC - name of the location

    Address 1

    Address 2

    City, State Zip

    Phone

    O2 Lic. #

    Sorry, it's so long. Thanks for any help.

    SOLVED used if (location is "Locationname") instead of a single "="

  • Advanced Action help - the user must select all before moving on to the next slide

    I need a tip action that will require the user to select a number of option buttons containing information until the next button appears. I don't know how to write it. I want the user to be able to select each button in any order that they choose. Can someone give me a step by step process? Your help is greatly appreciated!

    What version do you use? Why radio buttons? The behavior expected normal of radio buttons is that only one can be selected, you seem to ignore what is generally accepted. As having a next button appears only after several items have been selected, this has been explained many times in this forum and have many examples in my blog. They are free, maybe not considered worth nothing...

    You need a variable associated with each item. Click on an item to trigger a conditional action advanced or shared with two decisions. First decision is simulated standard action, rotate the variable from 0 to 1, then is a real condition that will make the next visible button if all variables have the value 1.

  • How to use JavaScript to limit the number of boxes to check the user can select a PDF form?

    How to use JavaScript to limit the number of boxes to check the user can select a PDF form?

    Here's the working solution

    Please rename all the boxes like chkBox0, chkBox1... .chkBox30 (must start with 0)

    Value of exports of each checkbox must be "Yes" (default value is Yes)

    Place this Code at the level of the Javascript Document

    -Code JavaScript document-

    var counter = 0;                Checked the meter

    -Count boxes checked again when the document is closed and reopened.

    for (var i = 0; i)<= 30;="">

    If (getField("chkBox"_+_i).value == 'Yes') {}

    Counter += 1;

    }

    }

    -The function of validation-

    function validateCheckBox(name,value) {}

    If (value == 'Yes' & meter)<>

    Counter += 1;

    } else if (value == 'Off') {}

    counter = 1;

    } else {}

    getField ("name") .value = "Off";

    App.Alert ("you can select only four checkboxes");

    }

    }

    -End of Document Javascript-

    Now put this line in the MouseUp event all checkboxes

    Box - Code MouseUp event.

    validateCheckBox (event.target.name, event.target.value);

    //----------------------------------------------------------------------------------

    Hope this will help

    Kind regards

    Post edited by: Mohammad Irfan

  • Reader SDK: is it possible to see what text the user has selected?

    I use Adobe Reader SDK with c#, by looking at the characteristics of communication monitor.

    I can open a document in the reader and allow the user to the user the reader as select text tools, etc.

    Here's the problem: I want my application to know what text that the user has selected.  And I would like to know the name of the field that the user has selected, not only the text of the field.

    PIA of Microsoft Office went something like this:

    currentDocument.GetSelectedText ();

    Is it possible to do with IAC or javascript or plug in the Player SDK features?

    If this is not the case, can it be done with the Acrobat API?  I've looked through the two sets of documents and have not found what I needed.

    Thanks for any help!

    To write a plug-in for Adobe Reader, you will need to go through 2 separate steps.

    Step 1 - Download the SDK Adobe Acrobat (from here http://www.adobe.com/devnet/acrobat)

    and build your plugin against the Acrobat product, following the documentation to ensure that you use only the API that does not exist in the player program. The documentation tells you what version of the Adobe ACrobat program or Reader is required for the function and that the function can be called in Reader.

    Second step: apply for a certificate of reader allow your plug-in to be loaded by the player, the link is on the same web page as the link above. This step can be started until you have created your plugin, and I recommend that start you this process before you develop your plug-in like Adobe may refuse to give you the certificate in which case your development would be lost.

    Only once you have authorization form Adobe can you do your job of plug-in with the reader app.

    Once you have done these two steps there are a lot of people on this forum who can help you with specific problems you may encounter.

    If you are not sure of having the knowledge to build the plug-in, there are a lot of people that you can hire to create the solution for you.

    HTH

    Malcolm

  • ADF 11 - stop the user to select some values of a LOV

    Hello
    Jdev ADF BC 11

    I have a DB table countries hence, I've created a VO EO for the creation of country
    and a second reading only VO to be used as a country LOV in other tables.

    I have a second holiday table that uses the country LOV to choose the country for which
    the holiday must be registered.

    A country may be Active, blocked or cancelled

    What I have to do is to stop the user to select a value from the LOV country
    who is blocked or cancelled.

    How is it possible...

    Concerning
    Paul

    OK, this will be much better than just having it scattered randomly in the list.

    What you want to do is to create another view (to the same instance of VO) accessor, this time in your entity object. For this class accessor, you include a named view criteria (change the accessor for that) which limit the selection that the entries 'selectable '. Then, set a validation rule 'List' to the entity object attribute target, select 'In', 'View attribute accessor', and your display accessor and the attribute. Given that the VO attribute uses the more general accessor, which will determine what appears in the LOV, but an attempt to choose something that is not in the narrow view accessor will send a validation error.

  • AS3 Flex - Windows users can select any file on FileReference.browse independently FileFilter

    Hi all

    I have this line of code in my app, but when I run it on a Windows pc user is entitled to choose between "Custom files" (which should actually read "clips") and (the value by default, I assume) "all files". In this case the user can, for example, download a clip wmv on my system that cannot handle it. Is there a way to prevent the option "all files" or what I need to build my own system of filtering AFTER a selection is made?

    on a mac, all right

    myFileReference.browse ([new FileFilter ("clips", "*.swf, *.flv, *.f4v; Mov; *.mp4")])

    thanx

    ALWAYS valid. Each time, no questions asked. Otherwise, welcome to hackville.

    However, Windows users know wildcards * may have access to any type of file no matter what you do with your filter dialog box settings.

    for example:

    import flash.events.Event;

    import flash.net.FileReference;

    import flash.net.FileFilter;

    addEventListener (Event.ENTER_FRAME, onEnterFrame);

    function onEnterFrame(e:Event):void

    {

    removeEventListener (Event.ENTER_FRAME, onEnterFrame);

    var f: FileReference = new FileReference();

    f.Browse ([new FileFilter ("Get", "*.jpg; *.mp4; *.swf")]);

    }

    When I run the present I don't see folders and files of these 3 types. The file type dropdown contains the entry "go", there is not "all files (*.)" *) ». YMMV on different versions of windows, but there is always a way to escape. Just enter an asterisk in the file name prompt under Windows and it will show any type of files without worrying. There is no way around it.

    This brings me back to the first sentence of this response. ALWAYS valid. Even if that question never came to the top, you must validate.

  • Check if the user has selected box element apex before the loading of the page

    4.2.1

    THM:2

    Hello world

    I have two classic reports with different conditions but even select the columns based on a sql that uses the apex_item.checkbox2 element that allows users to select the lines and run some process. I also have a radio unit that hides and shows these two reports. However, it is possible that the user select a few lines and without doing anything click on the radio button that will present the page and all the lines that earlier he had chosen will be lost. I want that we should be able to pop an alert if there are checkboxes checked and the user tried to hit the button of the radio looks like the APEX_APPLICATION. G_F01. Count is not available at the time the page is submitted. We thought to use a pl/sql to see if APEX_APPLICATION DA. G_F01. Count > 0 then trigger an alert to confirm.

    Any ideas on how to do this?

    Thank you

    ryansun wrote:

    Hi FAC586 - basically, there are two parts of the report, were grouped products consolidated (as master) and the other report has all the products of the child. So based on the option the user selects that he sees who discovers and processes information.

    I tried to create the DA, but he does not seem to fire and I'm sure it would be because I have something wrong.

    No, in this case, there was a typing error in my JS expression above (this is what happens when there is no example in the trial against...)

    Must be:$('td[headers="COL_ALIAS"] input:checked').length > 0

    I have page submit on the evolution of radio, given that other elements of the actual application, don't do with this feature which is filled on the loading of the page.

    It does not work. If the present radio on the presentation changes group cannot be controlled by the dynamic action to confirm that it has already been committed before the confirmation message is displayed. Presentation must be made by further action of real on the DA. By the way other values is possible by using dynamic actions or region to submit elements of Page properties.

    But here it is necessary, if the user has activated all the lines, then changes the selection of the radio, it should show an alert to confirm. In addition, what happens if we have a very select in the box by a header label already. Can I use the same label to identify the COL_ALIAS?

    Do not understand the question.

    Don't know what I'm doing wrong.

    As I noted above, an important part of your problem is that you asking what amounts to a series of questions XY rather than the big picture given by presenting the necessary resources. You have been really good on the creation of examples on apex.oracle.com, but they are all fragments of the righteous, which makes things difficult when you try their synthesis in something that works as a coherent whole. Various bits and pieces that have been revealed in recent weeks, it seems like this could be treated using dynamic measurements without having to send the page until the final choice has been made.

Maybe you are looking for