luiz.felipe Posted June 4, 2009 Report Share Posted June 4, 2009 Hello everyone, I'm new here and in to labview. I need to create a movie from an intensity graph, but I will do this saving images from the graph 24 frames per second, in a loop way. I try using a "WRITE JPEG FILE.vi" but the problem is that when I stipulate a path it overwrite the file in each loop, otherwise with no default path, when running it keep me asking what name to save. I need to make an automatic way to save each time (frame) with a different name, is that a way? thanks, sorry for my english Quote Link to comment
Francois Normandin Posted June 4, 2009 Report Share Posted June 4, 2009 Check out the String palette. You can build a string from a base name for your file to which you'll concatenate the loop number (Format Into String). Then build the filepath using the "Build Path" VI in the file palette. Check the help (Ctrl-H) to see how you should wire the Format Into String primitive. Quote Link to comment
luiz.felipe Posted June 4, 2009 Author Report Share Posted June 4, 2009 QUOTE (normandinf @ Jun 3 2009, 12:10 AM) Check out the String palette. You can build a string from a base name for your file to which you'll concatenate the loop number (Format Into String). Then build the filepath using the "Build Path" VI in the file palette. Check the help (Ctrl-H) to see how you should wire the Format Into String primitive. http://lavag.org/old_files/monthly_06_2009/post-10515-1243998586.png' target="_blank"> thank you for your big help, it works very well just need a small change, the "%s %06d.jpg" string to "%06d.jpg" and works :thumbup: Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.