Jump to content

LV 6.1 event data wired to SR won't upgrade to 7.1


Recommended Posts

If you wire event data directly out of the event structure and to a shift register, when the VI is converted from LabVIEW 6.1 to LabVIEW 7.1, it will be relinked to different event data. This does not happen when the VI is converted from 6.1 to 7.0, or if the VI is first converted to 7.0 and then 7.1 -- only when converted from 6.1 directly to 7.1. Also, if you disconnect the data from the shift register, the problem does not occur.

post-17-1102130788.png?width=400

Download File:post-17-1102130800.vi

***************

UPDATED INFO

***************

Actually, I found the "real bug". An event structure inside a while loop with any uninitialized Shift Registers will cause the event data items to change.

Link to comment
If you wire event data directly out of the event structure and to a shift register, when the VI is converted from LabVIEW 6.1 to LabVIEW 7.1, it will be relinked to different event data.  This does not happen when the VI is converted from 6.1 to 7.0, or if the VI is first converted to 7.0 and then 7.1 -- only when converted from 6.1 directly to 7.1.  Also, if you disconnect the data from the shift register, the problem does not occur.

post-17-1102130788.png?width=400

Download File:post-17-1102130800.vi

***************

UPDATED INFO

***************

Actually, I found the "real bug".  An event structure inside a while loop with any uninitialized Shift Registers will cause the event data items to change.

2918[/snapback]

Wow, great catch! I've filed this as a bug. Muchas gracias. :)

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