Jump to content

Error from "Set Control Value {Variant}__ogtk.vi"


Recommended Posts

This thread was manually moved from OpenG to LAVA.

Hi openG users,

Since LV2010, Set Control Value {Variant}__ogtk.vi function end on error for some control type like cluster reference.

See SetControlValueBug-LV2009.vi in attachment to reproduce the bug.

LV2009 SP1 --> OK

LV2010 or later (SP1 and LV2011 beta) --> NOK

To fixe the bug, you just need to replace Ctrl Val.Set Invoke Method by Ctrl Val.Set (variant) Invoke Method.

See Set Control Value {Variant}__ogtk--fix.vi in attachment to fix the issue.

It will be great if this fix could be added to oglib_appcontrol.

Thanks,

Olivier

SetControlValueBug-LV2009.vi

Set Control Value Variant__ogtk--fix.vi

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