Jump to content

Event Structure add new event by VI scripting


Vickys

Recommended Posts

I am creating a scripting VI which would semi automate the process of creating a user interface from a ppt slide. I was able to add frames to the event structure placed in the scripted VI's block diagram but I am not able to add events to corresponding frames. Please let me know how this can be done.

 

Thanks,

Vicky

Link to comment

In LabVIEW 2013, you can check out the following shipping example to see some snippets of scripting code that modify the configured events in an Event Structure:

 

LabVIEW 2013examplesApplication ControlVI ScriptingStructuresVI Scripting with Structures - Event Structure.vi

 

Here's a screenshot of the applicable part of the example's diagram:

 

post-4441-0-79431900-1387479036_thumb.pn



Unfortunately, this functionality is not available in LabVIEW prior to version 2013.

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.