Jump to content

LV Bug in "Index Array"


Guenther

Recommended Posts

Download File:post-3733-1136821779.viHi Folks,

I came across some very strange behavior of the index array function in LV8. There is problem when you mix readout of single elements and rows or columns within one index array function (see attached VI). If I open the VI as is, I get a compiler error. A click on the broken arrow tells me that the code could not be generated. However, none of the error messages actually tells me that it is the index array, which is making trouble.

Now the funny thing: when I delete the second output wire from the top, everything is ok! :blink:

So you actually have to use the output to reproduce the error - that's why the sequence is there.

The workaround is simple, split access to single elements and row into separate functions.

I came across this when it opened a VI that was working fine in LV7. Spent quite some time to track it down.

Hope this is of help to somebody.

Link to comment
  • 3 months 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
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.