Jump to content
Sign in to follow this  
MikaelH

VI Property: Allow debugging

Recommended Posts

I have an old VI I haven't touched for ages, but suddenly it gave me wrong result.

Try the attached VI, and run it and look at the PictureOut indicator.

Now change the VI property: Allow debugging to OFF, and run it again.

The PictureOut's result changes.

Have I done something wrong?!?

You have to excuse me for the nasty code behind this VI, it's an old one.

Download File:post-941-1189392546.vi

The behavior is the same in 8.2.1

Cheers,

Mikael

Share this post


Link to post
Share on other sites

This is quite odd (With debugging off, the text ends up beeing drawn on the top of the image).

After further investigation, it appear that this *might* be happening inside the case strucutre were the I16 is coerced to a double (see image below).

post-121-1189408121.png?width=400

If you drop an indicator connected to the I16 inside the case structure, everything works fine again.

It look like this might be an implaceness optimization bug.

PJM

Share this post


Link to post
Share on other sites

Join the conversation

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

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

Sign in to follow this  

×
×
  • Create New...

Important Information

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