12-01-2021 12:54 AM
Hello
please see my attached VI, It working fine but when ever i press button to take picture and over write on previous image, how can i save all images in one folder.
Regards
asif
Solved! Go to Solution.
12-01-2021 02:11 AM
You have got to modify your file path each time. Once way of doing this is below (I don't have 2020 so I cannot modify your snippet)
You could also use your iteration terminal to generate the file suffix but as I am guessing you don't always want to be recording an image to file I am guessing that will not be quite what you are after.
I also polling a button isn't the most efficient way of handling button presses. Research the event structure and for a more efficient and scalable alternative.
12-01-2021 08:13 AM
A classic solution is to generate a filename from the time stamp, so it's named something like 211201-1515-332.jpg (todays date, 24h time, millisecond)
12-01-2021 08:44 AM
Another option is to use the increment file name generator built into LabVIEW since 2018(?)