Jump to content

atradef

Members
  • Posts

    4
  • Joined

  • Last visited

Posts posted by atradef

  1. QUOTE (Aristos Queue @ Apr 21 2009, 10:00 PM)

    On the case structure, ask for the Diagrams property of the case structure. For each diagram, get the subVIs on that diagram. Repeat recursively for any nested structure on the diagram.

    Amazing! Took me a while even with those exact directions, but I got it eventually. Thanks! :star:

  2. Hey guys,

    I made a scripting VI that creates a new VI and places a case structure on its block diagram. It then places down several subVIs inside of the True case (the purpose of this is to force Labview to load these subVIs into memory). I can save and exit - this is all fine.

    The problem is that when I try to delete these subVIs off the block diagram. I can get a reference to this VI and its block diagram, but when I call the "All objects" or "subVIs" property, Labview doesn't return references to those subVIs - only the case structure and the terminal. Is it because they're located inside of the case structure? Even if from the case structure reference I still can't get a reference to those subVIs so that I can delete them. Does anyone know if I can do this?

    Thanks in advance.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.