DAOL Posted April 18, 2011 Report Share Posted April 18, 2011 Hello! Im trying to create a data value reference to an object (of a type i created), but it seems like there is an issue with my objects that makes them incompatible with DVR. The error I get is: "You have connected to a polymorphic terminal that cannot accept this data type." I have seen many example of code using this technique, so there must be something I've done wrong. See image: (hopefully you area able to see it) Im using LV2009f3. Thanks! Best regards Quote Link to comment
Mellroth Posted April 18, 2011 Report Share Posted April 18, 2011 ...Im trying to create a data value reference to an object (of a type i created), but it seems like there is an issue with my objects that makes them incompatible with DVR... You should probably check the inheritance properties for your class. /J 1 Quote Link to comment
DAOL Posted April 18, 2011 Author Report Share Posted April 18, 2011 You should probably check the inheritance properties for your class. /J Thats it. Now it works. Thank you very much! /Regards Quote Link to comment
Aristos Queue Posted April 18, 2011 Report Share Posted April 18, 2011 And I will file a bug report to look at that specific error message and try to improve it. [LATER] CAR 294353 filed. Quote Link to comment
Aristos Queue Posted April 21, 2011 Report Share Posted April 21, 2011 [LATER] CAR 294353 filed. Hey! There's already a better error message there! Closing CAR... Quote Link to comment
DAOL Posted May 9, 2011 Author Report Share Posted May 9, 2011 Hey! There's already a better error message there! Closing CAR... Hi again! Sorry for the (very) late response. You are right, but the error message you refer to is shown first when you try to execute the broken vi. If you hold the wire tool over the broken wire, you will get the message in the original post (that isn't very helpfull). I wasn't stuborn enough, and didn't try to execute the broken vi. So i didnt see the better error message. :-) best regards Quote Link to comment
Yair Posted May 9, 2011 Report Share Posted May 9, 2011 I wasn't stuborn enough, and didn't try to execute the broken vi. So i didnt see the better error message. :-) You should get used to it. Clicking the broken run arrow opens the error list window, which shows all the errors in your hierarchy and provides more details than the tool tip description. It's a tool which you should get accustomed to using (hint: the VIs which are actually broken appear at the top of the list and have red Xs next to them). Quote Link to comment
Wouter Posted December 19, 2012 Report Share Posted December 19, 2012 Hey! There's already a better error message there! Closing CAR... Hmmm... Using 2012 here and today I got the same error as described by the OP. I came to this topic by google. Quote Link to comment
GregFreeman Posted December 19, 2012 Report Share Posted December 19, 2012 Hmmm... Using 2012 here and today I got the same error as described by the OP. I came to this topic by google. Well....did you try the solution above given by Mellroth.. Quote Link to comment
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.