LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Converting Image Image to Picture for easy viewing

I have a program that performs analysis on picture data.  The output data is an array of IMAQ images that are 8 bit and greyscale.  I would like to save this data for each set of input parameters to compare with other experiments.  Unforunately, when I make the output indicators constants on another front panel, the images change each time the original program is run.  I realize this is because there is a certain memory alloted for each image and when the program runs, that alloted image is over written.  I would like a way to keep the original arrarys for later viewing, without renaming the memory allotment each time the program is wriiten.  I was attempting to do this by converting the image to an array and then to a pixmap and finally to a picture.  This does not reproduce the desired image.  I am looking for any help that I could get. 

Thanks for your time!
0 Kudos
Message 1 of 2
(2,678 Views)
Hey Nicole,
 
Thanks for posting to the NI forums with your question.  I've done some research into your question.  If I understand your statement correctly, you want to be able to save these images to files with different names each time so that the new pictures don't overwrite the old pictures because they have the same name.
 
What you can do is set the name to be your filename and place a timestamp at the end of the file.  You can use the Timestamp VI's in LabVIEW to give you the timestamp in string format, then use the concatenate string VI to add the timestamp into the file name.
 
I've included a screenshot to show you the timestamp features of LabVIEW with how I would format the date/time.  Let me know if I can help you out further! 
 
Take Care,
Evan D.
Installer R&D
National Instruments
0 Kudos
Message 2 of 2
(2,653 Views)