Jump to content

String Constant Erased


Recommended Posts

OK, This is crazy. I'm using 8.2:

I created a sub-VI that is essentially a dialog box. it is a string display with OK and CANCEL buttons beneath it.

There is a string control that is used to feed the string indicator from a calling VI. After one of the dialog buttons is pressed, I feed an empty string to a property node of the string indicator before closing the sub-vi.

I am using it in a VI that feeds a string constant into this dialog VI.

While testing it I found that after the dialog closes, my string constant, that was feeding it, goes blank.... bearing in mind that the string constant is not even in the dialog sub-vi, but in the calling VI.

However, if I replace the property node with a local variable, it works fine.

??? :blink:

Chuck

Link to comment

I've seen this kind of bug in development builds of LV when the inplaceness is improperly calculated and some function ends up writing on top of the constant string instead of making a copy for itself. Never seen it in a release build -- those sorts of errors usually show up pretty fast -- but it is possible. Post your VI and let's see what you've found...

Link to comment

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.