06-27-2023 02:12 PM
Good afternoon engineers
My problem is simple, I don't have much experience programming this software. In the VI and attached photo of an NI engineer, I have a file dialog that opens a window to choose the path but I want to change it to static, try build path but it sends an error, What I'm looking for is to create a new file in a fixed folder and leave the name dynamic with a control without using a dialog box. Thanks
Solved! Go to Solution.
06-27-2023 02:23 PM
@TORRESDANIEL wrote:
create a new file in a fixed folder and leave the name dynamic with a control
How do you envision the name being dynamic?
You can easily hard code the path name using a file path constant.
Then use a build path function to combine the path and the "dynamic name".
06-27-2023 02:27 PM
remove the file dialog and replace with build path.
Create a diagram constant on the upper input and a string control on the lower input
Of course you currently need to enter the name before even running the VI. Maybe you want to do a proper state machine instead, do more error handling, etc..