Jump to content

passing the connection ID


Recommended Posts

hello again smile.gif,

yesterday i learned, how to pass parametres from a sub VI to the executing VI.

Now i am asking me, how i can pass a connection ID of a connection, which was setup in the subVI.

i thought, maybe i could convert the ID to a string or something, but I didnt find anything to do so.

Is there a way, to pass the conID to the executing VI?

Thanks in advance

Ben

Link to comment
hello again smile.gif,

yesterday i learned, how to pass parametres from a sub VI to the executing VI.

Now i am asking me, how i can pass a connection ID of a connection, which was setup in the subVI.

i thought, maybe i could convert the ID to a string or something, but I didnt find anything to do so.

Is there a way, to pass the conID to the executing VI?

Thanks in advance

Ben

5428[/snapback]

put a 'TCP Network Connection Refnum' indicator on the subVI's front panel and wire it on the block diagram. Then wire it in the connector pane of the subVI as explained yesterday and you'll have access to the connID in the calling VI

Link to comment

my problem was, that i didn't find an indicator for the connID

but now i found out how to create one ;)

right-click on the tunnel of the connID -> create indicator

now that i have an indicator for the ID I can wire it as explained yesterday ;)

i was missing the word "indicator" in my first post here too :) sorry if it was hard to understand

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.