06-18-2020 12:03 PM
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.
Solved! Go to Solution.
06-18-2020 01:05 PM
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.
06-19-2020 09:21 AM
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...
06-24-2020 06:56 AM
Thanks Paul, really helpful.