Jump to content

CharlesB

Members
  • Posts

    59
  • Joined

  • Last visited

Posts posted by CharlesB

  1. What you posted and what I posted are slightly different in that yours returns all objects found and mine just returns one reference to each of the Call Library Function Nodes found which is what I thought you said you wanted in your original post.

    I guess I took it too far.

    Before I posted it I did run mine against a VI that had several Call Library function nodes in it and it did indeed pick them all out.

    I investigated a bit more, there are strange things in your VI; if the vi I'm gving in parameter is not opened, it finds nothing. If it is opened, it finds 2 Call Library Function Nodes over 6. I think it is because the recursion is not remembering every objects found in structures.

  2. You will need to recursively traverse the hierarchy of objects on the diagram, in order to make sure that you have looked in every location for the CBR functions. I don't have time to create an example; but I'll try to later, unless someone beats me to the punch.

    That's what I'm currently doing, I will post this when I'm done.

    Thanks to both of you

    Charles

  3. Hi, I'm willing to make numerous Call library function nodes reentrant.

    Of course I thougth "scripting!" and started to code a VI that can find a CLFN, and make it reentrant.

    But when I tried I realized that since they are everywhere in my VIs, I need a fucntion that can get all objects in a BD, by recursing in the structures, cases, sequences... Has anyone done that, or is there an easy way to do this? :question:

    Thanks

  4. If you know how to get a reference to a numeric control (Generic->GObject->Control->Numeric), one of its properties is 'Representation'.  The parameter is a U32which appears to be the index of the floating palette for selecting representation.  It is, of course, only writable on a control owned by an idle VI, since it alters the VI's code.

    3616[/snapback]

    I don't know what I am doing wrong, but I can't find such a property...

    I attached what I use to create a control, what is wrong with it?

    Thanks

    Download File:post-1401-1106317485.vi

  5. Hi all,

    I started yesterday to play a bit with the scripting of VIs. I must say it is a real pleasure! But something I haven't found yet is how to change the representation of a created numeric control? I'm creating it through "New VI object.vi" (from OpenG toolkit), but it always created as a double.

    How can I do to choose that?

×
×
  • Create New...

Important Information

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