Jump to content

How to get a typedef path from a control refnum ?


Recommended Posts

Hello,

I have created severals typedefs (mainly clusters), and I want to know how to get the path of the typedef from a refnum control of one of this typedef ? This is a kinf of how to get typedef name at run time. I just want the path because depending this path I will choose VIs to execute.

I hope this is clear. Thanks for your help.

Link to comment

QUOTE (Raph31 @ May 11 2009, 10:37 AM)

Hello,

I have created severals typedefs (mainly clusters), and I want to know how to get the path of the typedef from a refnum control of one of this typedef ? This is a kinf of how to get typedef name at run time. I just want the path because depending this path I will choose VIs to execute.

I hope this is clear. Thanks for your help.

This may not be wise. This path information is only useful during devepment and would be stripped out when build an executable.

I think the better approach would be to create a polymophic function that is selected based on the datatype.

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.