Jump to content

Save Reentrant VI Reference for later use in call chain


Recommended Posts

Hello,

 

In a call sequence I lose access to the VI reference of the last VI called.

 

Sequence is: main_caller calls ta_int that will initialize and start a server for an equipement, t7_server_ta.vi.

Later I will call ta_SendCommand.vi that will act in the reference saved under an "alias".

 

I believe that is is related to the value "Auto Dispose Ref" in the Invoke Nodeof the two calls but I do not know how to correctly configure this.

I don't need the reference of the ta_init.vi neither ta_SendCommand.vi. I only require the reference of the t7_server_ta.vi that I will maintain running.

Code attached.

 

Thanks.

vis.zip

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
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
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.