LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

FP.Get Image not working on a subVI if it has a picture control

  1. Download the attached (7.0).
  2. Open and save BOTH VIs in your own version. This is important, because it looks like if the VI is recompiled its FP is loaded into memory and the bug is not apparent.
  3. Run the VI. The indicators in the subVI are not updated the first time you run the VI.

This happens in 8.6 as well and requires the subVI to have a picture control and to have its FP closed.

 

One workaround is to use the first call? primitive and call the Open FP method (with the state set to hidden) when the VI starts running.


___________________
Try to take over the world!
Message 1 of 5
(3,072 Views)

Hey Tst,

 

Thank you for the feedback.

 

I tried the vi's you have attached here and it updated the first time I ran the Caller.vi.

I must be doing something different from you.

 

Aashish M
CEO
TransferFi
www.transferfi.com
Message 2 of 5
(3,039 Views)
Did you follow step 2? This can only be seen if the subVI's FP is not loaded, so you have to save the VI in your own version before running this. The easiest way is to call File>>Save All or to close and save the VIs and then open them again.

___________________
Try to take over the world!
Message 3 of 5
(3,032 Views)
Behaviour confirmed in LV 8.5 & 8.6. Smiley Happy
- Partha ( CLD until Oct 2024 🙂 )
Message 4 of 5
(3,024 Views)

Hey Tst,

 

The issue has been filed in a Corrective Action Report (CAR ID#126219).

I couldn't see the behavior initially, but now I do!!

 

Sorry for the delayed response.

 

Thank you for your feedback.

Aashish M
CEO
TransferFi
www.transferfi.com
Message 5 of 5
(2,959 Views)