LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

TDS6804B screen capture with optional file overwrite

Solved!
Go to solution

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

0 Kudos
Message 1 of 3
(2,696 Views)

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

0 Kudos
Message 2 of 3
(2,687 Views)
Solution
Accepted by topic author Allen09

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
Download All
0 Kudos
Message 3 of 3
(2,664 Views)