Hello, I'm trying to program my vi so that the data the vi generates is saved to a file. I've gotten that far, but I want the user to be able to select where they want to save the file and what they want to name it. However, I need to force them to use .hdr as the extension. Is there anyway to do this with labview other than having them type in the filename and path and concatenating .hdr to the filename?
If you use a file dialog with a data type specified (*.hdr) the .hrd ending will automatically be appended as long as the user only writes in a name. I do not believe you can prevent that, but you coan scan the path from the file dialog and replace the extension if it is not .hdr (avoids double extensions).