crelf Posted May 22, 2012 Report Share Posted May 22, 2012 Does anyone have any information about the "Class Operator" method? For example: http://zone.ni.com/reference/en-XX/help/371361H-01/lvscript/application_class_operator058set/ I'm not sure what it does, or how to use it, so any info would be greatly appreciated. Quote Link to comment
Darren Posted May 22, 2012 Report Share Posted May 22, 2012 I've only ever used Class Operator in conjunction with the Traverse method. You set an operator VI that runs whenever the Traverse method finds an object matching the class name you specify. For my Traverse VIs, the operator VI is very simple...it just adds the found object's reference to an array. I know other people have written their own traversal algorithms that have the operator VI do a lot more stuff when it finds the object. The following VI is available in LabVIEW 2010 and later...you should be able to dig through it to find out everything I know about the Class Operator and Traverse methods: <LabVIEW>\vi.lib\Utility\traverseref.llb\Traverse for GObjects.vi Quote Link to comment
crelf Posted May 22, 2012 Author Report Share Posted May 22, 2012 So it's almost like a callback? Hmmmm.... Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.