04-29-2021 04:16 PM
Hi,
I am trying to validate my torque meter reading using NI 9237 module. for that I have copy and saved the NI 9237 getting started example.lvproj and moved host file and VI files in my target. after doing this NI 9237 getting started(FPGA).vi is working fine. While NI 9237 getting started (host).vi is showing wire: class error.
so wire going to subVI is broken, by searching online I leant that it is because of different refnum but I am not sure how to resolve this error.
Can anyone help to resolve this error?
Thanks
Kind Regadrs,
Brijesh
04-29-2021 05:06 PM - edited 04-29-2021 05:08 PM
Hi Brijesh,
Can you share your VI?
It could be the how you have the control setup in your subVI. If that is the case, following is what I practice to avoid the issues: (guessing that's what the problem is 😬)
1)Create a dynamic reference control
2) Make it a type def. and configure this type def. with the bit file reference you are willing to use.
Then later to use this reference, you might need "Dynamic FPGA interface cast" vi from the same pallet.
Also, I would use bit file to configure "Open FGPA VI reference" 😬
04-30-2021 12:00 PM
Another option I have done is create a type def for your FPGA reference and update it after compiling your FPGA.
04-30-2021 01:06 PM
@crossrulz wrote:
Another option I have done is create a type def for your FPGA reference and update it after compiling your FPGA.
Oh yes, I forgot to add that.