File Dialog's start path input on PDA

hello,
I'm using the File Dialog function on a program executing on my PDA to prompt for a (new) directory path name.  I'd like to use the function's start path input so that the directory, by default, uses an existing directory on the PDA's memory card as its base directory.  I thought the path name would be:
   SD Card\LabVIEW data files\
but with this start path connected (as a constant or a control), during runtime, the dialog window defaults to Location->Main Memory (instead of Location->SD Card).  It does, however preselect the desired the start folder: Folder->LabVIEW data files.  I'm assuming something's wrong with my start path format.  I tried:
    My Device\SD Card\LabVIEW data files\
but then the start path defaults to Folder->none in addition to Location->Main Memory.   I also tried starting the path name with a backslash:
    \SD Card\LabVIEW data files\
but then LabVIEW automatically prepends the path name with C:.  The PDA definitely doesn't recognize that directory, so both Folder and Location default again.
Any ideas what I'm doing wrong?  I think I've successfully used File Dialog with the SD card inputted as the start path before, but I don't know what I did differently.
thanks,
Luan
LabVIEW 7.1
LabVIEW PDA 7.1
Pocket PC 2003 SE 

Put your path in a string Constant then use convert string to path.
  \SD Card\LabVIEW data files\

Similar Messages

  • Why Browse File Dialog Box Starts Part-Way Down?

    Whenever I am presented with a dialog box to browse files, the list of
    files always starts up showing the filename about 1/5 the way down
    the list, even though I always (at least recently) have had to access
    a file at the beginning of the list.  This is a minor annoyance but I was
    wondering why.  I'd expect it to default to either the approximate area
    of the list where I'd last selected a file, or perhaps come up with the
    file at the top of the list selected or at least visible.  Seems strange
    to me, and I was wondering if there was a way of changing that.

    __KB__ wrote:
    Hello,
    When the File dialog box is running, other while loop time execution goes down.
    Thanks.
    This you have already mentioned in your first post... now my question is how you've actually figured it out... or can you share your code here???
    I am not allergic to Kudos, in fact I love Kudos.
     Make your LabVIEW experience more CONVENIENT.

  • Open Save File Dialog with Default Path

    Hi All,
    I want to open a "Save File Dialog " with some default path.
    Like when user run that script I want to open  a "Save As" dialog box with default path "/Volumes/<shared name>/<folder name>/.. ."
    I am using
    File.SaveDialog(prompt, filter);
    but it doesn't open to the location by default that I want to open.
    Thanks
    Harsh

    look at this thread to see if it helps
    http://forums.adobe.com/thread/1077267?tstart=0

  • Provide a start path (folder) in a file dialog box

    Is there a way to have a file dialog box start in a specific folder without using the File Dialog express VI? (I also don't want to use a system exec).
    Thanks.
    Richard
    Solved!
    Go to Solution.

    I was refering to functions which support the desired feature. As you already encountered, the Open/Create/Replace File.vi does not support this.
    The Express VI "File Dialog.vi" uses the same file dialog as used in the example "Write to Text File.vi". You can find the VI using the link in the help of Open/Create/Replace File.vi.
    Please note that the context help of this File Dialog states that "LabVIEW no longer supports this function on the block diagram. National Instruments recommends you use the File Dialog Express VI instead."
    I assume that this text is written due to being platform-independent. It still works under Windows, but i can think of future releases of LV not to support this feature anymore (as stated in the help).
    And still, you did not answer why you don't want to use the express vi....
    Norbert
    Message Edited by Norbert B on 09-01-2009 10:08 AM
    CEO: What exactly is stopping us from doing this?
    Expert: Geometry
    Marketing Manager: Just ignore it.

  • Open File dialog window when setting the value of a path type input argument in a VI call

    Hi,
    I am new to TestStand (running 4.0) and I want to create a sequence of VIs to turn on, setup and measure a device. One of my VIs sends a configuration file to my device. An input argument to this VI is the path of the config file. I would like to make it simple to modify this path when setting up the sequence by popping up the File Open dialog window and choose my file. Is this possible? I do not want to manually change the file during execution, just to have multiple calls of one VI, each call opening a different file according to the path given to it during the setup. 
    So far I have only succeeded in manually entering the absolute path each time I add this step. What makes it even more annoying is the fact that LabVIEW interprets the path with the escape codes, rendering the path unusable. Manually adding a 2nd backslash at each '\' occurence adds another step to the process. I tried both String and Path type of inputs, and the SearchandReplace() or ToUpper() (trying to bypass the escape codes) functions in TestStand don't seem to help m.
    Your help is very much appreciated,
    Fred

    Eudaemonic,
    If you want to create a series of easy to configure step types so others can develop sequence files easily, you could use custom step types. When you create a custom step type you implement your own configuration dialog. Since you have control over what controls you expose in your configuration dialog, you can design it so the desired path is selected using a open file dialog. Refer to chapter 13 of the TestStand reference manual for more information about custom step types.
    If you do not want to create a custom step type but you still want to give access to your sequence developers to pre-configured steps, you can use templates. A step template is a snapshot of a step that you can reuse later. Let's assume that instead of asking your users to edit the step to enter the desired path, you create several step templates with different pre-configured paths and based on their applications requirements they could use the appropriate template. Refer to the NI TestStand Help for more information about the Templates list on the Insertion Palette.  
    Hope it helps.
    Antonio Lie. 

  • "File Dialog" Express VI returns the wrong path when the user selects the desktop

    In labview 8.0.1 with Windows
    XP, the File Dialog Express VI seems to return something other than the path
    selected by the user when configured to browse for folders (or files and
    folders) and the user selects the desktop.
    I can't determine exactly when it works and when it fails, but it always seems
    to fail if the user selects the desktop from the places bar (the shortcuts on
    the left side of the dialog) or from the drop-down menu at the top of the
    dialog and then clicks the "Current Folder" button to dismiss the
    dialog.  In this case it always returns whatever path is wired to the
    "Start Path" terminal.
    If the user navigates to the desktop with the "Up One Level" button
    or by selecting the actual desktop directory under Documents and Settings, the
    correct path is returned.
    If the user selects a file before clicking the desktop icon, then clicks
    "Current Folder" the correct path is returned.
    If the user clicks the desktop icon, clicks open, then clicks "Current
    Folder" the correct path is returned.
    It's possible to work around this bug in most cases by setting the start path
    to the desktop.
    Has anyone seen this behavior before?
    Can anybody verify this behavior by running the attached VI?
    In the past, when I've reported issues like this I've received responses from
    NI engineers that basically said "Thanks, but we already knew
    that".  Is there anywhere that users can search the list of known
    bugs and avoid wasting time tracking down issues that are already understood by
    NI?
    Thanks,
    Adam Brewster
    Attachments:
    File Dialog Test.vi ‏39 KB

    I'm on 8.2 and I can't get it to fail no matter how I select the desktop. I haven't tried it in 8.0, but I imagine that if this really is a bug, they did know about it and fixed it with 8.2. If this causes a real problem for you, I would suggest upgrading if you can.

  • Why doesn't the input file dialog prompt once I attach it to a device?

    For my project I am require to move a 3-axis robot from a list of set co-ordinates to either cut into/draw a picture. The only way I can thnk of doing this is by reading the co-ordinates from a spread sheet and timing it to read the co-ordinates and send the information to the straight-line move function (Softmotion).
    The problem occurs once I try to run the program while it's connected to the devices (motors). The file dialog prompt no longer shows up and Error 43 shows up right away. I traced the problem to the read from spread sheet vi, but I am not sure what to do because it is a standard function in labview.
    If you could take a look and give me some input it would be greatly appriciated, I've been learning labview on my own for about a month so if you can please use simple explinations.
    Solved!
    Go to Solution.
    Attachments:
    3-Degrees of Freedom Cartesian Robot.lvproj ‏15 KB
    Multiple Position Movement_6.vi ‏128 KB

    Thanks for the help so far, so I did as you said and added a set path for the program to retreive the file from. I've tested the program by running it in my computer and the file reads properly so my assume is the file is being located and data is taken properly.
    But I still run into the same error when I run it in cRio. I'm still being told labview cannot locate the file.
    Attachments:
    3-Degrees of Freedom Cartesian Robot.lvproj ‏20 KB
    Multiple Position Movement_9.vi ‏76 KB
    Error 7.png ‏107 KB

  • File dialog box: how get full path and filename (firefox 3.0 problem)

    Hi,
    I have a smilar problem then discussed in this thread: file dialog box: how get  full path and filename
    Now this solution doesn't seem to work in firefox 3.0,I only get the filename but not the full path.
    I have tried to solve this problem by adding *"netscape.security.PrivilegeManager.enablePrivilege("UniversalFileRead");"* in a javacript function but that doesn't do the trick
    Although when i tested it local it does work.
    Any idees how to solve this?
    Best Regards
    Stijn

    Actually, that is strange and scarry. With 20% of the browser market share they decide to behave like Microsoft did in the past - they want to decide what users need and what they do not need. With 3.0 I have a real problem with some of my applications. They are all tested in IE6, IE7, FF2.0 and they all work the same way (they even work with Opera and Safari). Now, I will for sure not go there and make it work for 3.0, just because 2 out of 200 users use FF3.0. Up to now I have always recomended FF as the best browser. 3.0 causes my opinion to change completely. Competition is always good but it is a question if it is good if we have 20 different browsers out there with equal market shares.
    Denes Kubicek
    http://deneskubicek.blogspot.com/
    http://www.opal-consulting.de/training
    http://apex.oracle.com/pls/otn/f?p=31517:1
    -------------------------------------------------------------------

  • File dialog box: how get  full path and filename

    Hello All
    i have a problem to save the full path and filename with file dialog box.
    I want to save full path and filename in the database for creating a link to a file.
    I use a file-dialogbox to choose a file.
    I see in the textfiled something like this
    \FULLPATH\filename.ppt
    but when i save the textvalue in the database or look at the seesionvalue I see
    this:
    F2087258868/filename.ppt
    but I need the full path to create a link. How I can get?
    I use version 2.2.1..
    Thanks
    Putcho

    Hi Putcho,
    You can create some javascript that puts it into a hidden item.
    In HTML Form Element Attributes: onChange="$x('P15_X').value=$x('P15_FILE').value;" Then create another process that stores the value of the hidden item in your own table...
    I quickly made an example with a normal text item, so you see it copies itself to the other box: http://apex.shellprompt.net/pls/apex/f?p=286:15
    Hope that helps,
    Dimitri
    http://dgielis.blogspot.com

  • File Dialog can return incorrect path when selecting Windows special folders

    I found an interesting bug when writing an application today. Basically the File Dialog express VI can return the wrong path if selecting special folders in some circumstances. This bug seems especially tough to track down, but I think I managed to figure it out. Steps to reproduce using LabVIEW 8.6.1 on Windows XP:
    Use LabVIEW's File > Open... command to open any VI that is not located directly on your desktop. You MUST use the File > Open... command as this will set the working directory for the dialog box.
    Close the VI (all we cared about was ensuring the working directory was set).
    Create a new VI.
    Place the File Dialog express VI onto the diagram (Programming > File I/O > Advanced File Functions > File Dialog).
    Configure the express VI to select a folder and an existing item, leave the selection enabled to limit to a single item.
    Create an indicator to show the returned path from the dialog.
    Run the VI. Navigate to either your Desktop via the large button on the left, or the pull down menu up top.
    Click the "Current Folder" button.
    Observe how the VI returns whatever the original location of the dialog box was, not the desktop directory.
    I have not confirmed this bug on other operating systems but following the steps above reproduces it on my system.

    This is a very unusual problem you are having.  I tried it on another PC in the office and it did not show the problem you are experiencing.  Are you able to replicate this every time, or only occasionally?  Are you able to see this on other computers?  Do you see this same problem using other software on the computer?  Do you have the most recent updates from Microsoft?  Perhaps the answer to these questions can help shed some light on the problem at hand.
    David_L | Certified LabVIEW Architect
    LabVIEW Tools Network | LabVIEW Tools Network Developer Center

  • Save last path from webutil file dialog

    Hello!
    Is it possible, or how is it possible to save every client's "last path" from choosing files with webutil?
    When we used forms 6, the standard Windows file dialog appeared and it's saving the last path where a file was choosen. With the "new" webutil filedialog this behavior changed and it always opens at the "initial" directory.
    Is there any solution to this?
    Thanks in advance for help

    If you are using the WebUtil_File.File_Open_Dialog() function, you can specify the directory_name as a parameter. When you open a file for the first time in your form, just capture the directory location to a variable and pass this in subsequent calls. Unfortunately, since your form is now Web Deployed, Forms uses Java to display a File Open Dialog so it doesn't retail the last location opened.
    Craig B-)
    If someone's response is helpful or correct, please mark it accordingly.

  • Windows Classis Theme - Windows Classic Start Menu / Save Files Dialog

    MS, please keep a way back to the 9x interface!
    Really anoying that the Windows Classis Start menu (Windows 9x etc.) is not available in Win7.
    (and apparently no option "Always Show All Programs" option is available and the subprograms are listed in the same window which makes it a long list)
    People and commpanies want the option to go to the old-familiair Windows Classic (9x) interface!!!!
    We know it, it works and it suits the purpose: why change!
    Furthermore in a company environment all files are saved in a directory structure and not in the 'favorites' folders in the user profile. So please...make a simple classic w7 interface like XP (with a simple Save File Dialog) and not a Christmass Three with bells Interface like W7.
    [i think that's one of the reson that ofiice 2007/vista doesn't sell as it should. I'm affraid it is a marketing strategy of MS. But unfortunately I think it drives more people in to alternatives like openoffice etc.]

    The XP and later interface has always looked like something designed by Fisher-Price to me. Much more annoying, though, is the inability to go the Classic Start Menu. This is sufficient to cause me to stick with XP until it simply can't handle the then-current software. By that time, Linux should be able to run all Windows progams; it is getting closer to that now. Are you listening, MSFT? I'm an MCP with other certs, and, unless you give the option for the Classic Start Menu and a menu that shows all programs (not just a "personalized menu), XP may be my final Windows version.
    I really do not understand Microsoft's lack of logic here. They changed the interface in Office 2007 with the ribbon; millions upon millions of users were proficient with the interface prior to that, and MSFT says they have to learn a new one (I agree with Frank1977 here that it's driving people to OpenOffice). That sounds like a New Coke decision to me. Maybe they have an Apple or Linux mole in there, seeking to give bad advice purposely (for any Biblically literate readers, think "Hushai the Archite", and the advice he gave Absalom).
    I have defended Microsoft to many Microsoft-bashers at work, but this is becoming more and more difficult to do. And I'm losing my incentive to do so. PLEASE, Microsoft, add power and abilities, as you are doing, but don't arrogantly insist on forcing professional users to learn a new (and less capable) interface.
    Well said , Tewald , have considered other options lately as far as "other operating systems go" , you listening Micro soft ?
    MB

  • After clicking "Save" in "Save as" file dialog, the dialog disappears but no download is started. Is this a Windows 7 64 bit issue? It works fine in Windows XP.

    I am trying to download the iTunes installer for Windows 7 64 bit.
    I have "Always ask me where to save files" checked in Firefox's download options.
    Steps to reproduce the problem:
    1) In the iTunes download page I click the "Download now" link and Firefox shows me a "Opening iTunes64Setup.exe" dialog with a "Save File" button.
    2) I click the "Save File" button. Sometimes the dialog disappears but nothing else happens. Other times I get the Windows 7 "Save as" dialog.
    3) I click the "Save" button in the save file dialog (I'm using the default user documents folder). The dialog disappears and nothing happens.
    If I uncheck "Always ask me where to save files" then the download works fine.
    I also have a Windows XP 32 bit with the same configuration where everything works fine which makes me think that this problem only happens in Windows 7 or in the 64 bit version.

    It is possible that anti-virus software is corrupting downloaded files or is otherwise interfering with downloading files.
    Try to disable the real-time (live) scanning of files in your anti-virus software temporarily to see if that makes downloading work.
    See:
    *http://kb.mozillazine.org/Unable_to_save_or_download_files
    *browser.download.manager.scanWhenDone

  • What does the open file dialog do 'under the hood' and is there a way to simulate it

    What does the open file dialog do 'under the hood' and is there a way to simulate it?
    I have a bug in my code (that I've posted about before, here) which I can't fix at the moment, but I do have a workaround.
    Briefly, the bug:
    I call a dll from a function node, to initialise and run a spectrometer. If I start up the PC, LabVIEW and run my vi the code runs without complaint, the first call to the dll to initialise the spectrometer doesn;t return an error but the spectrometer is not detected either.
    I've tried various solutions, see the link above, and none work
    The workaround:
    If, at any time before running the code containing the function node I open an 'open file' dialog window, select the dll and click ok/hit enter then everything is fine. When I run the main code the spectrometer is detected.
    I use an express vi to open the file dialog, I specify the start path and file name as constant inputs and just click ok/hit return when the dialog pops up. I don't do anything with the dialog outputs. In fact the vi that contains the open file dialog can be run before the project containing the bug is even open.
    I have to do this everytime I turn the PC on.
    So, either
    1) Can somewone suggest a fix for the original bug?
    2) What is the easiest way to simulate the enter keypress when the open file dialog pops up
    or
    3) Can someone tell me what the open file dialog does under the hood that somehow causes the dll to work and can it be simulated in straight LabVIEW
    I suspect that the dll itself is dodgy ( I have in the past talked to the supplier but not got very far, and I will try again but I would like a quick, temporary solution too). I'm guessing that the file dialog is making some kind of check on the file, and possibly registering its presence with the OS (winXP). I tried using the file/folder exists vi to see if checking the file like that worked but no luck.
    Any help greatly appreciated.
    Dave

    Hi David
    I am very conscious about thread hijacking but this sounded like my issue so I hope you dont mind me asking about your issue. I am hoping that you have a spectrometer from the same vendor as me and its not just me seeing an Error 1097 issue. My spectrometer is from a company called Stellarnet.
    So far I have unable to get it to work with other VIs. There is one condition where I can get it to work but its no good for me.
    Case 1
    I open the VI in a fresh labview environment with no other VIs in memory. The code runs with no issue.
    Case 2
    Labview is not opened. I double click the spectrometer VI in windows explorer.  The VI opens but it fails to run resulting in Error 1097. Personally, I dont see the difference between this and Case 1 above and yet it fails.
    Case 3
    If I already have other VI's in memory and try to load the spectrometer VI and run it fails with Error 1097. This case is the one that most important to me. I have a test executive that will load test VIs dynamically and I can't get this to work. Same problem Error 1097.
    I wanted to share what I have seen with you and to let you know that maybe somebody else has the same issue. I am convinced its the DLL but the vendor dis-agreed saying it was LabVIEW. I couldn't convince him otherwise.
    Thanks in advance
    David

  • Open File Dialog, Select either FIle or Folder, but Set the Initial Location to ftp://

    Hello,
    I want to be able to open a file dialog, set the initial location to an ftp:// address, and allow the user to select individual files or a directory.
    I can use the File Dialog express VI, and wire in a start path, but the problem is that the filepath constant does not allow you to input ftp://[IPAddress]. If you type it in it will automatically adjust the path to read . If you right click, and hit browse and go to an ftp site, the dialog will not let you select a file or folder. And no you cannot type the address into a string and then convert that to a path. If you do it will look just like the image above.
    I can use .NET functions as seen below, but it is not trivial to allow the user to select files or a folder. The same is true if I write it in C++ (although I haven't tried this yet, just googled selecting files or folders in a file dialog).
    EDIT: I just realized that with .NET if I select a single file, the FileName it returns points to a temporary internet folder on my computer for example: C:\Users\xxxxx\AppData\Local\Microsoft\Windows\Temporary Internet Files\Content.IE5\P01ODP0F\ni-rt[1].ini
    The FileDIalog Express VI has these very options.
    So what is the easiest way to have an initial ftp address path for a file dialog, and allow the user to select files or a folder?

    Have never had to do that before - that's a bit of a drag.
    Some thoughts.
    1) Can you map a drive to that FTP address and go from there?
    2) You could try rolling your own dialog via FTP - that's something I've definitely done before!
    In the following snippet, I start an FTP session on the NI FTP site, log in as anonymous, list the base directory files/folders and then close my session. I then unbundle the directory listings array and plug the name and item type into the item names of a multicolumn listbox.
    CLD

Maybe you are looking for

  • Why do my contact photos keep getting assigned to the wrong person/number?

    This has happened to me twice recently:  my phone rings and the wrong contact photo appears with the wrong phone number.  All my contact photos are assigned to the wrong person/phone number.  Any ideas on what's going on?  Thanks!

  • TS1253 I have a printer epson TX210, but it doesn't work with my time-capsule. What need to do?

    I have a printer epson TX210, but it doesn't work with my time-capsule. What need to do?

  • Using PCK with  XI3.0

    Greetings, I have installed the PCK SP5 running on J2EE server. The PCK GUI is working fine. we have also configured a simple scenario to send a File from PC (where the PCK is installed) to XI. In the XI directory when I tried to configure the Commun

  • Trial Illustrator CS6

    can you help me with this? Exit Code: 7 Please see specific errors and warnings below for troubleshooting. For example,  ERROR: DW050 ... -------------------------------------- Summary -------------------------------------- - 0 fatal error(s), 39 err

  • Exception while opening content editor

    Hi all, we are getting following exception while opening content editor <Aug 1, 2011 2:56:04 PM IST> <Error> <HTTP> <BEA-101017> <[ServletContext@14211416[app:Oracle Universal Content Management - Content Server module:/ path: spec-version:2.5], requ