Jump to content

TonyKuiper

Members
  • Posts

    3
  • Joined

  • Last visited

    Never

TonyKuiper's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. Jim, Well, I'm slapping myself on the head. This one should have been obvious. Thanks for your help! Tony
  2. Jim, I don't know if I hadn't made myself clear, but I had already found this Object type and one other - 'Dialog Label'. (check the 'Scripted VI Comments' VI attached to my first message.) The problem I have with these two Object types is that they both exist/are created on the Front Panel, not the Block Diagram. I checked the 'Is On BD?' property for both of these Object Types, but it's read-only and cannot be used to force the newly created Label/Dialog Label onto the Block Diagram. Just out of curiosity, what other conventions are there for labels? (Since "floating" was a new one to me!) Thanks again, Tony P.S. I already have the 'Additional Application Control' pallete from Commander, it's how I wrote my example code. My compliments to the creator(s)! P.P.S. Please forgive the lack of Close References in the original example - that's what I get for not double-checking my work before submitting!
  3. Hello all, This is my first post ever, so "Hello, World!" Basically, I'm trying to discover the method of using VI Scripting to create Front Panel and Block Diagram comments. I know, I know, who ever wants to comment their code? I, for one, think that <CAN_OF_WORMS LID="OPEN">even though LabVIEW is a self-documenting language, there are still many times that comments are helpful and even necessary.</CAN_OF_WORMS> That being said, I've plowed through the many possibilities that the 'New VI Object' node allows and have found two Nodes that act as comments for a Front Panel, but as for the Block Diagram, nothing. Code is attached demonstrating FP Comments, 'Scripted VI Comments.vi'. My question is this, gurus: does anybody know how to create what the Diagram object calls 'Decos'? (I'm guessing this is short for 'Decorations', and I'm not referring to the type of Dialog Decorations placed on the front panel, either!) I've attached another quickie research VI I scabbed together - 'Export VI Contents.vi' that profiles the top-level contents of a VI. (It doesn't go through everything in the VI, such as Case Structures, Sequences, etc...) Run this VI on itself and you'll see what I'm talking about - on my machine the last object reported is a 'Deco'... Thanks for your time, Tony Download File:post-2230-1117250735.vi Download File:post-2230-1117250751.vi
×
×
  • Create New...

Important Information

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