Jump to content

Set Variant Attribute


Recommended Posts

Hi All,

I found a bug with the 'Set Variant Attribute' VI in LV8. It seems that the VI will NOT replace a parameter value. I have attached a test VI that illustrates this problem.

When you run the VI, the 'String' parameter of 'Cluster In' should be changed from "Help" to "Worked" then displayed in 'Cluster Out'. Instead, the VI adds a duplicate parameter and the text "1 Attribute(s):" :thumbdown:

Variant Into 'Set Variant Attribute.vi':

'Numeric' -> 1.000E+0

'String' -> "Help"

Variant Out of 'Set Variant Attribute.vi':

'Numeric' -> 1.000E+0

'String' -> "Help"

1 Attribute(s):

'String' -> "Worked"

Can someone take a look and verify that this is indeed a bug.

Have Fun.

Jon

Download File:post-4769-1156437695.vi

Back again.

After looking at the problem again i think i found the issue. User Error!

There is NO attributes in the variant! :oops:

I am tring to change the value of 'String' -> and it is not an attribute.

Back to the drawing board.

Later.

Jon

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.