LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Using FP.GetImage in a subVI of a built executable

Solved!
Go to solution

Hi,

 

I want to use the FP.GetImage invoke node to programatically generate screenshots.  See the attachement "screendump.vi" for illustration.  This works standalone, and when called from "toplevel.vi".

 

When "screendump.vi" is built as an executable, it works.  However, when "toplevel.vi" is built as an executable, it does not.

 

I suspect the problem is to do with the "This VI" reference, but I can't figure it out.

 

Any ideas?

 

Many Thanks,

 

Dan

Dan
CLD
Download All
0 Kudos
Message 1 of 3
(2,103 Views)
Solution
Accepted by topic author DanB1983

Hi Dan,

 

in an executable the FP of subVIs is removed, when it is not needed. When there is no FP, you can't get a picture of…

 

- Check the settings of your subVI.

- Check the settings of the subVI in the AppBuilder.

 

(I thought a CLD should know this… 🙂 )

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 2 of 3
(2,093 Views)

Excellent, thanks - problem solved.

 

You're probably right, a CLD *should* know this! Smiley Embarassed

Dan
CLD
0 Kudos
Message 3 of 3
(2,082 Views)