LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Filename dialogue and browse start path property node / programmatic default filename

Solved!
Go to solution

Hi,

 

I'm trying to build a simple distributable application and I want to make a filename control to have a default value based on the 'Get system directory' vi and 'build path' function.

 

I have a 'write to measurement file' express vi, with a filename control connected to it. I can create a property node for it with the start path property, but the property node only has an output, so I can't set the default starting path. (There's also nothing to indicate that it's connected to the control, but this might be normal.)  What I'd really like is to populate the filename control with a programmatically generated default filename (incl. path) but I can't see how to do this at all.  I did also try using the 'File dialog' express vi but this didn't really have the behaviour I would like (it caused a file dialogue to open as soon as the application was started).

 

I'm sure this is something really simple, but I'm fairly new to Labview, so any help would be gratefully received.

 

Thanks in advance.

0 Kudos
Message 1 of 4
(3,053 Views)
Solution
Accepted by topic author StudentOfLife

Right-click the property then select "Change to Write"

Drag the bottom of the property node down to get another property.

Use the selection tool to choose the "Value" property.

"If you weren't supposed to push it, it wouldn't be a button."
Message 2 of 4
(3,032 Views)

This is very basic LabVIEW knowledge.  You might want to visit the training links on the main forum page before releasing your stuff into the wild...

Bill
CLD
(Mid-Level minion.)
My support system ensures that I don't look totally incompetent.
Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.
Humble author of the CLAD Nugget.
0 Kudos
Message 3 of 4
(2,979 Views)

Thanks Paul, really helpful.

0 Kudos
Message 4 of 4
(2,935 Views)