LAVA 1.0 Content Posted November 30, 2007 Report Share Posted November 30, 2007 I saw something interesting at the bottom of a LAVA WIKI page. Apparently you can close an array of references in one shot by passing the array (of references) directly to the Close Reference vi. I tried it... but got a conflicting class error. Can anyone shed a bit of light on this? Thanks! RayR Quote Link to comment
Tomi Maila Posted November 30, 2007 Report Share Posted November 30, 2007 Works at least in LabVIEW 8.5 with the limitation that the references need to be of same class hierarchy. One cannot close a VI ref and and a control ref together but array of front panel objects can be closed at one go. Quote Link to comment
Cmal Posted November 30, 2007 Report Share Posted November 30, 2007 QUOTE(JoeLabview @ Nov 29 2007, 11:52 AM) I saw something interesting at the bottom of a LAVA WIKI page. Apparently you can close an array of references in one shot by passing the array (of references) directly to the Close Reference vi.I tried it... but got a conflicting class error. Can anyone shed a bit of light on this? Thanks! RayR RayR, The ability to close an array of references was introduced in LabVIEW 8.5. To do this in earlier versions, you will need to use a For loop. Chris M Quote Link to comment
LAVA 1.0 Content Posted December 5, 2007 Author Report Share Posted December 5, 2007 Thanks guys! I saw an example, but didn't realize it was a new feature. 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.