12-11-2015 03:25 PM
I having an issue with my VI here. I have some code to save a front panel screenshot of my test when it finishes. It works fine on the computer that has my Labview 14 installed on it. When I create my application and delpoy onto another station. It wont save my screenshot. I could install labview on the computer that wont save the front panel screenshot but there has got to be a way. I could run a HTML report but the "database guy" claims it is much easier for him to retreive a .jpg file.
Any ideas? Thanks!
12-11-2015 03:31 PM
You may not have the correct permissions to write a file where you want to. See if you have any errors coming from the save jpeg function.
12-11-2015 03:58 PM
What are you using for the VI path when built into an EXE? If you want a picture of THIS VI, remove the path and open reference. Also Image Depth is 1, 4, 8, or 24. 100 doesn't make it any better.
12-11-2015 04:51 PM
12-11-2015 05:03 PM
In particular, when building the application, go to the source file settings and make sure that the front panel of the relevant VI is not removed. Since I assume that you are trying to take a screenshot of a front panel that is visible to the user, most likely that's not the problem.
Most likely you are not forming the path correctly. For more details, have a look at this document.
12-12-2015 09:59 AM
Aggregating some of the previous comments and adding: