JDP Science Tools

cancel
Showing results for 
Search instead for 
Did you mean: 

Launching actor with a TCP service name from startup parameters

Solved!
Go to solution

Hello James,

 

I am launching multiple clones of the same actor and I would like to give each of the a specific TCP service name. First idea

that came to mind was to use the startup parameters:

Startup Parameters.png

Unfortunately, these are available after the service name is already configured. I figured out that I could extract the data like this:

Read Startup Parameters.png

It works, but I was wondering if there is a better way to do it. How would you approach this?

 

Thank you!

 

Kind regards,

Max

0 Kudos
Message 1 of 2
(1,661 Views)
Solution
Accepted by topic author M.Kuznetsov

That looks fine to me.  Maybe make your own "start up" subVI to contain all that code.

Message 2 of 2
(1,615 Views)