Jump to content

Modify a VI at runtime using scripting


Recommended Posts

I've been trying to create a cluster dynamically using scripting, starting from a template VI that I modify before I launch it (Run). It works fine in the development environment but I just can't make it work in EXE. Since I cannot add or remove controls and indicators while at runtime, I thought I'd save my *.vit in the same folder as exe, call it, add the controls dynamically and then "Run VI". I guess it was too simple because it crashed my application everytime...

Can I do that at runtime at all? I know some properties and methods are not available at runtime... Are the OpenG's "Additional Application Controls" VIs available only in the development environment?

Here's a snapshot of what I'm trying to do.

post-10515-1229100227.png?width=400

Link to comment

QUOTE (Ton @ Dec 12 2008, 12:04 PM)

This will fail unless you make contact with an IDE version of LabVIEW, the LabVIEW runtime doesn't have a compiler included.

Ton

Ahhh... And that's why those properties/methods are not available at runtime. (Somehow, I think it's the second time I ask a question that gets me this exact same answer ;) )

thanks Ton.

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.