yuan Posted March 5 Report Share Posted March 5 (edited) Hi ALL, I use VI_A(not in any PPL or LLB) to invoke VI_B in PPL_B , VI_B includes "Tag Engine", but i can‘t find VI_B's tag in VI_A , WHY? Edited March 5 by yuan Quote Link to comment Share on other sites More sharing options...
Ryan Porter Posted March 16 Report Share Posted March 16 Is PPL_B in the same application context as VI_A? Tags are stored in DVRs. Quote Link to comment Share on other sites More sharing options...
Ryan Porter Posted March 16 Report Share Posted March 16 Error 5602 is Tag not found. Quote Link to comment Share on other sites More sharing options...
yuan Posted March 19 Author Report Share Posted March 19 On 3/16/2024 at 9:06 PM, Ryan Porter said: Is PPL_B in the same application context as VI_A? PPL_B and VI_A both in development environment my conclusion is ppl's tag can't be found by other vi,llb's tag can as belows maybe this register in ppl_x are idfferent from others or i made some other mistakes After all,you can build a ppl and llb which includes tags and try yourself. Quote Link to comment Share on other sites More sharing options...
Ryan Porter Posted March 20 Report Share Posted March 20 I understand the problem now. PPL_B gets its own copy of "Get Tag LUT.vi" when you compile the PPL. Then when you call VI_A, it refers to the "Get Tag LUT.vi" in vi.lib. They are not getting the same tag lookup table. To avoid this, I think that you will need to build Get Tag LUT into its own PPL. Then have PPL_B and VI_A call that PPL instead of vi.lib. This would requires some re-structuring of the Tag Engine library before building the shared PPL. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.