04-10-2024 02:24 PM
Hello! I am currently trying to create a basic program that will save oscilloscope data to a file. I have it all working correctly, but ideal I would want to update the file name every time I run the program. So I press run, I trigger my source, the function(s) plot on the waveform chart, and it auto-saves to a specified location. Then, the next time I run it, it saves to the same location with a different name (e.g. data_1 then data_2, data_3 etc...). Would there be a way to do this while simultaneously keeping everything I've done so far relative consistent? I really only want to change the file path part of the block diagram. Thanks!
04-10-2024 03:11 PM
Try "Create File with Incrementing Suffix"
04-10-2024 05:54 PM
@Mancho00 wrote:
Try "Create File with Incrementing Suffix"
Was going to mention the same thing, but I will instead add that this is in the "Advanced file funcs" folder of the palette, under "File I/O". Or, you can browse to it at "<vi.lib>\Utility\file.llb\" in your LabVIEW folder.
04-11-2024 12:08 PM
Thank you so much! I will work on implementing this.