Jump to content

which reference VI accepts different control references?


Recommended Posts

Hi,

Could anyone tell me which VI I should use as a control for a supVI, so by which I can pass different typoe of control reference? For example this can be different cluster.

I want to make a general VI which can do samething on different kinds of clusters.

Thank you,

Thang Nguyen

Link to comment

QUOTE(Thang Nguyen @ Jul 19 2007, 04:30 PM)

Hi,

Could anyone tell me which VI I should use as a control for a supVI, so by which I can pass different typoe of control reference? For example this can be different cluster.

I want to make a general VI which can do samething on different kinds of clusters.

Thank you,

Thang Nguyen

Hi Thang,

You should be able to use an untyped cluster refnum to access generic cluster properties. On the front panel palette (8.2.1), drop a control refnum from the Modern, Refnum menu. Then right click on the refnum and Select VI Server Class..., Generic, GObject, Control, Cluster, Cluster.

That should at least get you access to the Controls[] list of refnums in any cluster via reference.

Something I don't know: is there a way to programmatically determine the original strict type on the refnum once it's been passed to the subvi?

Joe Z.

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

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