Discussion:
User Defined Refnum Error
(too old to reply)
rex1030
2008-08-14 17:10:06 UTC
Permalink
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. Message Edited by rex1030 on 08-14-2008 12:58 PM


Refnum problem.JPG:
http://forums.ni.com/ni/attachments/ni/170/349352/1/Refnum problem.JPG


CRIO1 Host_brian.vi:
http://forums.ni.com/ni/attachments/ni/170/349352/2/CRIO1 Host_brian.vi
rex1030
2008-08-14 18:10:06 UTC
Permalink
I fixed it. I had reformatted the cRIO to install 8.6 and I needed to name the FPGA alias in MAX to what it was when we compiled it. That way the reference refers to the name in the compiled bitfile. I think.
Jared_B
2008-08-15 15:40:04 UTC
Permalink
rex1030,&nbsp;To help this from happening again, please see the following KB article.&nbsp; If I understand correctly, this is the same thing that was happening: <a href="http://digital.ni.com/public.nsf/allkb/7E0D73FF59368E5A862573B600692E52?OpenDocument" target="_blank">Why Do I Have a Broken Wire When Passing My FPGA VI Reference Into a SubVI?</a>
Loading...