10-07-2009 04:26 PM
I have a TDS6804B and I need to save a screen capture as a BMP. However, I need have the option (via some sort of popup question) to save over the file if it exists already. I'm sure that I'l figure out the whole thing eventually, but if someone has a solution already, I'd appreciate the assistance (as would my boss).
Thanks,
Allen
Solved! Go to Solution.
10-07-2009 10:56 PM
Have you downloaded the instrument drivers for your instrument? It is available in the ni website here. After that you can use the "Print Screen to File.vi" to take the screenshot. Before calling this vi, use "Prompt user for input" express vi located at "Programming \ Dialog & User interface" palette. Get input from the user whether to overwrite and do the case accordingly. Post back if you need more help.
Mathan
10-08-2009 12:44 PM
I have the instrument driver, and I made a simple vi to "export" the scope screen, but I wanted some sort of dialog only if the file already existed. So...I made a set of vi's. I've attached them in case anyone needs a simple file replacement option when exporting the screen for a 6000 series scope. The "File Overwrite.vi" should be of use to anyone. I'm not sure how well I "wrote" these (and... whether they're worth sharing), but they should do what I need anyway.
Allen