Thank you for this great tool.
I am trying to establish a simultaneous connection toward differents ports. Is it possible? (without opening/closing/opening closing/etc)
The console only has one 'partner' port and opening a socket through the function 'connectSocket' seems to close the previous one.
Thanks for your help
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
what is your exact intention? Do you want to send the same data to 2 destinations and show the received data drom both in one console? Or do you want to route the data from destination 1 to destination 2?
Best regards,
Stefan
Last edit: Stefan Zieker 2016-05-03
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Closer to answer 1.
I want to send data from one source to two destinations. Right now I would like to show the received data in two different consoles (the final goal being to send the data to several hardware targets)
I hope this is clearer.
you have to create a worker script with 2 UDP sockets and 2 consoles (see the manual for more details).
PS: If you are using the current version of ScriptCommunicator (04.10) then your script can add these consoles and your other GUI-elements in the main window (instead of showing them in a separate window). See exampleScripts\WorkerScripts\TestAddToolBoxPageToMainWindow and exampleScripts\WorkerScripts\TestAddTabsToMainWindow for an example.
Best regards,
Stefan
Last edit: Stefan Zieker 2016-05-03
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
your post has inspired me to add some script functions which make it easier to use ScripCommunicator in 1 to n connections (with the help of a script). I will release a new version of ScripCommunicator this weekend which includes this new functions and a script which fulfills your needs. I hope this is not to late for you.
Best regards,
Stefan
Last edit: Stefan Zieker 2016-05-04
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I have released a new version of ScriptCommunicator (04.11). This version includes a script which fulfills your needs (WorkerScripts\AdditionalInterface\UDP).
Best regards,
Stefan
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
View and moderate all "General Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Discussion"
Hi,
Thank you for this great tool.
I am trying to establish a simultaneous connection toward differents ports. Is it possible? (without opening/closing/opening closing/etc)
The console only has one 'partner' port and opening a socket through the function 'connectSocket' seems to close the previous one.
Thanks for your help
Hi,
what is your exact intention? Do you want to send the same data to 2 destinations and show the received data drom both in one console? Or do you want to route the data from destination 1 to destination 2?
Best regards,
Stefan
Last edit: Stefan Zieker 2016-05-03
View and moderate all "General Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Discussion"
Hi,
Closer to answer 1.
I want to send data from one source to two destinations. Right now I would like to show the received data in two different consoles (the final goal being to send the data to several hardware targets)
I hope this is clearer.
Thank you for your time,
MJ
Hi,
you have to create a worker script with 2 UDP sockets and 2 consoles (see the manual for more details).
PS: If you are using the current version of ScriptCommunicator (04.10) then your script can add these consoles and your other GUI-elements in the main window (instead of showing them in a separate window). See exampleScripts\WorkerScripts\TestAddToolBoxPageToMainWindow and exampleScripts\WorkerScripts\TestAddTabsToMainWindow for an example.
Best regards,
Stefan
Last edit: Stefan Zieker 2016-05-03
View and moderate all "General Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Discussion"
Thank you
Hi,
your post has inspired me to add some script functions which make it easier to use ScripCommunicator in 1 to n connections (with the help of a script). I will release a new version of ScripCommunicator this weekend which includes this new functions and a script which fulfills your needs. I hope this is not to late for you.
Best regards,
Stefan
Last edit: Stefan Zieker 2016-05-04
Hi,
I have released a new version of ScriptCommunicator (04.11). This version includes a script which fulfills your needs (WorkerScripts\AdditionalInterface\UDP).
Best regards,
Stefan
View and moderate all "General Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Discussion"
I will test it now, Thank you very much.