08-14-2008 11:56 AM - edited 08-14-2008 11:58 AM
I am getting an error that doesn't make any sense to me. I am writing a VI that runs on a cRIO device with an eight channel FPGA backplane. I am trying to connect a FPGA Reference out of one VI to the FPGA Reference in of a sub VI. I am getting an error that states "You have connected two wires of different types. The type of the source is user defined refnum. The type of the sink is user defined refnum. "
Can someone tell me what is causing this error? I am posting a screenshot that shows the main VI in the background with the broken wire, the subvi is in the bottom left and the error messages are on the right. I am also going to post the VI, though I am not sure you will be able to open it without the rest of the project (which I cannot post). Let me know if you need the subVI as well, though.
Solved! Go to Solution.
08-14-2008 12:49 PM
08-15-2008 10:14 AM
rex1030,
To help this from happening again, please see the following KB article. If I understand correctly, this is the same thing that was happening: Why Do I Have a Broken Wire When Passing My FPGA VI Reference Into a SubVI?
08-21-2008 02:03 PM
Ok, I though I had fixed it but I didn't. I tried to do what that article said but I dont know how to do step 2 of the solution.
How do I "Open the SubVI and replace the original FPGA VI Reference Out control with the new Type Definition?" I really don't understand how to replace the output control with a new type definition. Someone help
08-22-2008 12:49 PM
rex1030,
On this part you will want to open up your SubVI and where you have your FPGA Reference on the block diagram, delete it. The previous step in the KB article has you create the TypeDef (.ctl). You can just drag this from your project explorer window to the block diagram of your SubVI and replace it.
The typedef should take the place of the reference that you currently have wired up.
11-19-2009 05:11 AM
I cant make this solution work in LW09, i simply cant pull the .ctl file from the Project Explorer into the VI.
So now i got a project with a typedef and everything, but no working connection between the main and sub_vi....
Please help anyone
11-20-2009 11:33 AM
11-29-2009 11:54 PM
Good morning
I am experiencing the same problem and am having the same results. I am using LV2009 and when I modify the bitfile name, the wires to the sub-vis break. I have also made a type definition, but am unable to place it in the subvi.
I have also tried dragging it and get a "not allowed" symbol (red circle with a diagonal line). The only way I have solved this is by redoing the whole subvi from scratch. Please help - this is very frustrating and is slowing the project down that I am working on.
Regards
Ian
12-02-2009 12:50 PM
Hello,
this is a bug in LabVIEW 2009. The bug number is 179896 for your reference. The workaround is to create a control off the Open FPGA VI Reference and place that in the Typedef created. ( notice the custom control was empty - this is the bug ).
Thanks,
Anna K.
06-10-2010 04:53 PM