Jump to content

Problem with data value reference creation


Recommended Posts

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)

gallery_23498_45_1498.png

Im using LV2009f3.

Thanks!

Best regards

Link to comment
  • 3 weeks later...

Hey! There's already a better error message there!

post-5877-0-22156100-1303414972_thumb.pn

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

Link to comment

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).

Link to comment
  • 1 year later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.