03-25-2008 06:16 AM
03-25-2008 06:27 AM
03-25-2008 06:30 AM
Use the "File I/O >> Advanced File Functions >> File Dialog" to select a path and then wire that path, to the "path control" button .
Is it what you need?
03-25-2008 06:34 AM
Hi rashid,
like i understand your question you should use the "Value (Signaling)" property. Hope this helps.
Mike
03-25-2008 06:46 AM - edited 03-25-2008 06:47 AM
Pnt is right (I guess).
@Pnt wrote:
Use the "File I/O >> Advanced File Functions >> File Dialog" to select a path and then wire that path, to the "path control" button .
Is it what you need?
11-18-2016 06:52 AM
Yes, there is no function to programmatically hit the "browse" button and show a file or folder selection dialog according to the PathControl's SelectionMode property. Normally you would expect a callable method for the reference.
Therefore, I wrote a VI that does this as best as it can. Here: Saved for LabVIEW2010.
See http://www.tu-chemnitz.de/~heha/mb-iwp/LabVIEW/path.zip/
Moreover, I wrote another VI that checks whether path given is valid for the current SelectionMode property, and if not, call the file/folder selection dialog.
Some (rarely used) SelectionModes are not handled in this example. The different modes require a quite large case selection list because the file selection dialog box cannot be set-up programmatically.
To save VI size, I choosen the old-style yellow file/folder selection VI, not the blue Express VI.
11-18-2016 07:19 AM - edited 11-18-2016 07:23 AM
What is the effect of clicking on the browse-button of a path control? A File-Selection-Dialog or Directory-Selection-Dialog is showing up.
You can achieve this, as mentioned before, with the "File Dialog"- Express-VI or just the execution of Open/Create/Replace File or Read/Write to/from Binary/Text - File with the Initial Path input left unwired.
oops, now I see this is a very old thread