I have a program that takes multiple IV curves of some nano-devices and saves each set of the IV curve data into a CSV file. I also have a graph on the main screen that gives me a visual representation of the data after each IV curve is taken.
My program automatically names each IV curve with a different file path and at the end of the program execution I could have 50-60 IV curves. What i'm trying to do is have LabVIEW export an image file of the graph on my front panel and save it with the save file path as the CSV file.
Currently i'm using "Invoke Node -> Export Image" method, which is working fine and doing exactly what I want because i can tell it what file path to save to....however it is just a black and white image.
There is another method that I found here: http://digital.ni.com/public.nsf/allkb/5AE4ADCBB65A6D8F86256FBF007A1AC1
That talks about a "Invoke Node -> Get Image Method" which physically captures the colorful chart on the front panel. However I cannot figure out a way to tell it the file path to save to. So when I run my program, after each IV curve, it takes the image from the front panel and then on the next IV curve, it interrupts my program to ask me to overwrite the previous file because it's using the same name.
Is there a way to tell the Get Image Method to save to a specific file path?