BUG with File Path Browse Button

Hi,
I am using LabVIEW 2011 SP1 running in Windows 7.
I have a Path Control with the Browse Button visible on a front panel.
In the browse options, I have selected ‘Allow selection of files in LLBs and packed project libraries’
For the Selection Modes, I have Files or Folders and Existing selected.
When this VI is run in the LabVIEW Development System (2011 SP1) the Browse Button works as expected and displays the top level Vis in the Packed Library.
When this VI is run in the LabVIEW Development System (2011 SP1) the Browse Button works as expected and displays the top level Vis in the Packed Library and returns the full path if the selected VI when the OK button is pressed.
I have built the Main VI into an executeable and when this is run the browse button doesn’t display the dialog window when selecting the .LVLIBP file to browse into.
Is this some sort of bug in LabVIEW 2011 SP1?
If it is a bug, has it been fixed in a later release of LabVIEW?
I have attached a small example to demonstrate the problem.
Regards
Ray Farmer
Attachments:
Test package.zip ‏542 KB

Works in the dev environment.  No dialog at all in an executable.  Test done with LabVIEW 2014, Windows 7.
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines

Similar Messages

  • Bug with file path autocompletion in a sub folder

    Hi,
    I've just update to Mavericks and re-install Edgecode. And now, it's very strange the autocompletion of a file path in a subfolder is absolute...
    i.e.
    In a a style.css file inside a CSS folder, when I write : background-image : url(../ the autocompletion find something like this "Volume/user/myname/myfolder/img" etc. instead of "../img" and it doesn't list the file inside the folder...
    Anyone have the same problem ?
    Thx

    Thanks for reporting bugs. This has been fixed for the next release of Edge Code CC.
    Randy

  • File Path browse take too long time

    Hi all,
    I am new one and I just start  learning and implementing labview program. Now I am develping data convertion program. My program purpose is 
    (1) reading data from input text file
    (2) do data calculation and convertion as the required format.
    (3) formatted data write to text file or Excel file.
    (a) I use' file path  ' from control palette. When I click on " browse folder" icon to choose the path of my input file or output file,it took too long to get there. I already tested and tested again . but I can't find the solution.
     (b) when I write calculated data to text file or excel, for a big amount of data, text file is ok. excel sheet show error if data is over 65536 rows. I want to know how to create and add data to new excel sheet if current sheet is full
    So, I attach my project and sample input text file. I really need help from you all.  Thanks
    Attachments:
    01_02_2010_Extract_Data1.vi ‏85 KB
    test3.txt ‏7 KB

    Your code needs a good cleanup.  I suspect the reason that your File Path browse button doesn't respond quickly is because you don't have any wait inside your while loop.  That means the loop is running as fast as it possibly can, even though you don't even have a file open to process, which keeps the processor busy and prevents it from doing anything else (like opening the file selection dialog).  Try adding a 100ms wait somewhere in the big while loop.
    It's good practice to keep your LabVIEW diagrams smaller than the size of your screen.  You have a lot of bends in your wires, which makes them hard to follow.  You don't need an enormous sequence structure outside of everything since it only has one frame, and in fact you probably don't need any sequence structures at all.  In your for loop, use a shift register instead of reading from and writing to a local variable.   Use the "Spreadsheet String to Array" function to separate your tab-delimited data; it will be much easier than the way you're doing it.
    The 65536 row limit is in Excel.  The easiest thing for you to do is to keep track of the number of rows you have written to the file, and whenever it reaches 65536, create a new file.  Since you're writing to a text file there's no way to create a new sheet.  To create a real Excel workbook with multiple sheets, you will need to look at the examples of how to use ActiveX to control Excel.

  • Regarding Application server file path browsing

    Hi All,
    I have a issue regarding Application Server File Path browsing.
    Actually in my selection-screen i will declare a parameter as <b>Application Server File Path</b> now when i press F4 in that field it should be able to browse through <b>Application Server Path's</b>.
    Just like <b>F4_FILENAME</b> in the case of <b>Presentation Server File Path</b> Browsing.
    Can anybody solve my issue.
    Thanks in advance.
    Thanks & Regards,
    Rayeez.

    Hi Shaik,
    Just copy and paste:
    Here is the code for retrieving list of files contained within specific Application server directory(SAP).
    PARAMETER: p_fdir type pfeflnamel DEFAULT '/usr/sap/tmp'.
    data: begin of it_filedir occurs 10.
    include structure salfldir.
    data: end of it_filedir.
    START-OF-SELECTION.
    Get Current Directory Listing for OUT Dir
    call function 'RZL_READ_DIR_LOCAL'
    exporting
    name = p_fdir
    tables
    file_tbl = it_filedir.
    List of files are contained within table it_filedir
    loop at it_filedir.
    write: / it_filedir-NAME.
    endloop.
    Hope this will help you.
    Let me know incase of any concerns.
    EDIT:
    There are few FM for ur refernce :
    RZL_READ_DIR_LOCAL
    SUBST_GET_FILE_LIST Return table with file list for the given directory (pattern allowed)
    F4_DXFILENAME_TOPRECURSION Popup to select one file from the given application server directory
    TH_SERVER_LIST Returns list of application servers.
    EPS_GET_DIRECTORY_LISTING – Lists filenames from the application server .
    Cheers
    Sunny
    Rewrd points, if found helpful
    Message was edited by: Sunny

  • Problem with file path in linux

    hi,
    i have problem with file path accessing in linux. my java class is accessing a abc.cvs file and and getting all data. it is working fine in windows xp. but i run this same file in linux it does not access the abc.cvs file and does not get any data.
    my project structure
    Search
    abc.cvs
    search.SearchMain
    i am sccessing this cvs file in this SearchMain class by this way file name = "abc.cvs"
    It is working fine with window but problem with linux.
    when i place this abc.cvs in a folder as "./data/abc.cvs" also working fine with windows but not in linux.
    I am new for linux.
    Please give me solution.
    Thanks in advance
    Ravi

    forgot to tell,
    then you need to export that path
    export $CLASSPATH
    code}                                                                                                                                                                               

  • How To Work With File Path in Forms

    Hi
    I have one button on form i use it to call microsoft word when i finsh work i want to save my word file then open save DIALOG box to save that file
    i want to take that path from save dialog box to text item in my form
    how can i do this ?

    If you are using Forms version 9.x or newer, you can use WebUtil to open Word on the client machine, Save the Word file, then do whatever you'd like with the path where the file was saved. If you are using an older version in client/server mode and not web, you would do something similar ony you would use OLE from within the form to call Word.
    In short, we cannot offer much information because you did not provide enough detail about what you are doing, how you are doing it and which product and platform versions you are using.
    WebUtil is included in Forms 10.1.2, so there is no need to download it. In version 9, you would need to manually download and configure it from here:
    http://www.oracle.com/technology/products/forms/htdocs/webutil/webutil.htm

  • Why does the Downloads Save files to Browse button do nothing when pressed?

    I'm trying to download a couple of different files from a couple of different web sites. I see the "Opening {filename}" dialog box with the "Would you like to save this file?" question and the Save File button, but nothing happens when I click on the Save File button except that the dialog box closes.
    When I go into Tools/Options General tab, I select the "Save files to" button, and when I click on the Browse button to choose a directory, nothing happens.
    It appears I can no longer download files.

    Please disregard. My "My Documents" folder is mapped to a file server on the network, and for some reason the last time I logged in, I was denied access to that network resource. I logged out and logged back in again, and I am able to download successfully.
    D'oh.

  • Problem launching Firefox from Windows with file path that contains space characters in the html file's file name

    We have a software application that programmatically launches the default web browser using the Windows shell execute function ("ShellExecuteA" in the "shell32.dll" library of the Windows API) along with a file path for a saved local html file that is to be displayed. In the case that FireFox is the default browser and the file path for the html file contains any space characters in the html file's file name, Firefox (in this case v7.01) will display an error message "File not Found..." and then will also proceed to open tabs for each of the individual words in the file name, launching as the URL path, each individual word appended to ".com".
    In the following example, the path "C:\KSSecOfState\Forms\Kansas Secretary of State - Filings and Forms.htm" when launched programmatically, resulted in the error message "File not Found...Firefox can't find the file at /C:/KSSecOfState/Forms/Kansas." and opened up browser windows for "http://www.secretary.com/", "http://www.of.com/", "http://www.state.com/", "http://www.and.com/", and attempted to launch "http://forms.htm". If the same file (renamed) is launched using the path string "C:\KSSecOfState\Forms\KansasSecretaryOfState-FilingsAndForms.htm" the file opens up correctly in Firefox. Clearly the presence of spaces in the file name is causing the problem.
    I should also note that either path (with or without space characters) works properly if pasted directly into the Firefox URL path menu bar for a live instance of Firefox. The test path strings I used were:
    C:\KSSecOfState\Forms\KansasSecretaryOfState-FilingsAndForms.htm
    C:\KSSecOfState\Forms\Kansas Secretary of State - Filings and Forms.htm
    Does anyone know anything about this problem or how to work around it (other than the obvious answer of taking the spaces out of the file name which is not possible for this application). It seems the problem is specific to Firefox. IE works properly if launched programmatically with spaces in the file name passed to it. I haven't tested other browsers yet.
    Thanks!

    If starting from ShellExecute works the same as starting from the command line then there are two options:<br>
    Put everything inside double quotes<br>
    '''C:\Program Files\Mozilla Firefox\>'''firefox.exe '''"c:\test\svg test.htm"'''<br>
    Convert to a valid url with file:// protocol and percentage-escaping the space<br>
    '''C:\Program Files\Mozilla Firefox\>'''firefox.exe '''file://c:\test\svg%20test.htm'''<br>

  • File Attachment in a Email.... problem with file path

    Hi experts
    I am trying to implement something similar to any email program.
    A user can send email to a user along with attachments.
    I am encountering the following problems:
    1) in IE, the file path is set correctly, but in mozilla only the file name is set. (how do i get the file path in mozilla??)
    2) if i add the file as part of the body in the email, the destination user should only see only the file name and not the entire file path of the source computer.
    any help would be appreciated
    thanx
    deepak

    File on web forms is attached to the case. Go to the case in the admin and you can retrieve the file.

  • Issues with file path in java.io.File

    I am getting file path in eclipse plugin using org.eclipse.swt.widgets.FileDialog and saving the path in XML files.
    In web.xml , path is stored as below (I can't change backsladh to forwardslash or escape backslash since the value is coming from SWT FileDialog)
    <init-param>
    <param-name>filePath</param-name>
    <param-value>c:\new\demo\next\version.txt</param-value>
    </init-param>
    In my filter , i have below code in init() method but am not able to get File reference due to special characters
    String filePath = filterConfig.getInitParameter("filePath");
    // Tried filePath.replace('\\','/') --> Didnot work since \n is a single character
    File f = new File(path)

    No it does not. You need to escape file paths properly. You can check this with simple code and that the problem i am facing now
         public static void main(String[] args) {
              String path = Messages.getString("filePath"); //in messages.properties put filePath=c:\new\next\verison.txt
              System.out.println(path);
              File f = new File(path);
              System.out.println(f.exists());
         }

  • Problems with file paths in ApplescriptObjC

    Hi
    I am having a problem with trying to Open/Read/Write/Close text files in ApplescriptObjC. The following piece of script works in Applescript but when I try to incorporate in ASOC via Xcode I get the following error "Can’t make current application into type «class fsrf»"  and I have no idea what that means!
    I've tried using POSIX paths but still doesn't work. As usual, any help gratefully received.
    I am using the Control Record to hold the last reference number used so when I add another row to a spreadsheet it will generate the next unique reference.
    set filePath "Macintosh HD:Users:Ours:Documents:Cats Protection:Control Record.txt"
    set fileReference to open for access (file filePath) with write permission
    set lastNumber to read alias filePath -- read all data
    set nextNumber to (text -1 thru -2) of lastNumber as integer -- extract last number
    set nextNumber to (nextNumber + 1) -- increment number
    set nextNumber to text (2 * -1) thru -1 of ("0" & nextNumber) -- add leading zero
    write nextNumber to fileReference starting at 9 -- update next number
    close access fileReference

    «class fsrf» is a file system reference. Long story, but cocoa changed the preferred way to handle file references (in 10.6, I think) and sometimes applescript trips over the difference.
    try changing the first three lines like so:
    set filePath to "/Users/Ours/Documents/Cats Protection/Control Record.txt"
    set fileReference to open for access filePath with write permission
    set lastNumber to read fileReference -- read all data
    Cocoa is generally happier with posix paths, open for access shouldn't need the file keyword, and reading from the file reference (rather than specifying the file again) is cleaner.

  • Selecting particular folder using file tag browsing button in jsp

    Hi,
    I want to select a particular folder using file browsing option in html. why i want this is : i have to update the resumes located in a particular folder. so every time i am opening that folder which is a subfolder.
    ex: c:\dir1\dir2\dir3\Resumes
    Eveevry time , i have to go to C -> dir1->dir2-->dir3 then Reusmes
    what i need is when i click the browsing button, i want to get the Resumes folder directly. Is there any option to do that one by setting value to file tag.
    thanks in advance
    my mail id [email protected]

    how do you know the machine that the browser is on has that directory structure?

  • Stuck with File Path

    I am writing a very simple script that exports an image's cutline for my newsroom, i am getting stuck with the having it write the file to the correct path. When I run script as below it works, writing the file to my documents:
    function writeCutline () {
                    // Linefeed shizzle
                if ($.os.search(/windows/i) != -1)
                    fileLineFeed = "windows";
                else
                    fileLineFeed = "macintosh";
        var fileName = app.activeDocument.name
        var MetaInfo = app.activeDocument.info;
        MetaInfo = MetaInfo.caption;
        var fileOut = new File(Folder.myDocuments + '/'+ fileName.substring(0,fileName.length-4)+ '.txt');
        fileOut.linefeed = fileLineFeed;
        fileOut.open("w", "TEXT", "????");
        fileOut.writeln(MetaInfo);
        fileOut.close();
    writeCutline();
    What I want it to do is:
    var fileOut = new File( '/c/cutlines/'+ fileName.substring(0,fileName.length-4)+ '.txt');
    but this does not work. What do I have to do different?

    Thanks for the help guys. I wasn't actually putting the files on C: it was actually going to a mapped network drive and for some reason last night the server was working incorrectly and that is where my problems where coming from. But that raises my next question, is there anyway to address the path with mapping the drive, so it would be a refence to the server. If i was browsing the path it would be TARHSHARE/PHOTOS/photos/DailyATS/Cutlines. With PHOTOS mapped to drive P the path is P:/Photos/Daily/ATS/Cutlines. So what I want to do is get it work without mapping the drive, so the script will work on all of the photographers accounts without mapping the drive.

  • HTML file manager/ browse button

    I want a user to be able to upload a .jpg file with php from
    a flash page. But how does one create a "browse" capability from
    Flash so they can select their file?

    great! plenty of information there... thank you K

  • Print list showing graphics used with file paths

    My company is in the process of remapping the graphics on a shared network and I need to go through and make a list of all grphics used in publications along with their filename/path. Hoping there is some plug-in or feature that I can use to create a report that lists this information vs. looking at the options in the links manager and writing things down by hand. Any suggestions? I see the information in a .ps (postscript file) however it's cluttered with everything else. Can I somehow use the ps file and extract only the directory extenstions and filenames/paths.

    FYI I'm working in Pagemaker 6.5 on Windows XP. I can get a report that lists the graphics if I package for Service Provider - unfortunately it doesn't list where the original graphics were located simply the directory it was saved to for teh service provider.

Maybe you are looking for

  • Adobe Bridge: Bridge.exe Application Error

    When startup Adobe Bridge: Receive windows error: The Exception unknown software exception (0x000000d) occurured in the application at location 0x006d783e. Adobe Bridge part off Adobe Photoshop CS4. An re-install of Photoshop CS4/Bridge even same pro

  • How to create F1 help for fields of a table in SM30

    I have a z-table which is being maintained using SM30. while creating new entries for the z-table using this SM30 i want to create F1 help which will be useful for the user to create new entries. can anyone pls help we this requirement?

  • RMI Client Code Issue

    Hello, Here is my client side RMI program: import java.rmi.*; public class MyRemoteClient { public static void main(String args[]) { MyRemoteClient mm = new MyRemoteClient(); mm.go(); public void go(){ try{ MyRemote service2 = (MyRemote) Naming.looku

  • WM-Purchase order -Tansfer order issue

    Hi,      i created the purchase order and GRN, 1)  In the transfer order                                    Source stor.bin                              902 001 4500001113                                    Destination bin                            

  • Workflow Issue - Adding parameter to my decision step.

    Hi I am working on workflow and in decision step there are 4 parameters that I can use for Title. I have a requirement of 6 parameters. Is there any way in which I can add another parameter to my Decision step. Himanshu Verma. Patni Knowledge Park, I