CharlesB
-
Posts
59 -
Joined
-
Last visited
Content Type
Profiles
Forums
Downloads
Gallery
Posts posted by CharlesB
-
-
Woops! I missed the obvious.
Attached is a VI that may come close to what you need however.
Thank you! :thumbup:
Unfortunately I couldn't get it to work for my code (it doesn't find anything).
I coded and attached something that works for me, any comments/corrections are welcome
-
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
-
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
-
I get it now. Thanks a lot for your help!
-
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.
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
-
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?
Get *all* objects in the diagram
in VI Scripting
Posted
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.