New idea !
I tried something... that doesn't work the way I would like for the moment but maybe someone might help me.
Here is my goal : I am building a remote to control few videoplayers (Playback Pro, Mitti, Millumin...) synchronized (main & backup) and I have put on the corner of my page a tally (shape) and a text (label) to check the network connection.
My shape and label work with an Input Node "Ping". This way each "ping", sent every second, keeps my shape green and my label with the sentence "Connected". If the ping fails, the shape turns red and my sentence becomes "Disconnected".
It works perfectly.
I did the same to check the UDP/TCP connection, with another shape (green or red) and another label text.
It works perfectly too.
Now, I would like to be able to use this remote on any laptop, with the standard (free) version of Widget Designer, without requiring each time my PRO Dongle to manage the Nodes (too easy to lose it on site).
And because sometimes the videoplayers I work with are already set on an internal network, I am not really free to set any IP address I want. I have to adapt to the IP address already set.
It is not a problem for the UDP/TCP connection because this works with the "ID" given to the connection. So each time I create a connection with a new IP Address I just have to set the "ID", and everything created in my remote with this "ID" works pretty well.
But for my network connection, I have to change the IP Address in my Input Node "Ping" to work with the right address. And it requires the PRO Dongle...
So... I tried this :
1) I've created a TextBox where I can write the IP Address of my new device.
2) This TextBox gives the value (IP Address written) to an Input Node TextBox. This Node transmits the value to an Ouptut Node Variable (to the Variable called "IP Address"). This way the IP Address written becomes a dynamic information.
3/a) The value of my "IP Address" Variable appears in an Input Node Variable. I tried to link this one to an Output "Node Parameter". The Node parameter permits to use a value to replace another one in a certain Node, you just have to tell the ID of the Node and the number of the parameter where you want to replace the value. It works the same than the command "WDNodeSetParamFromNodeOutputValue,NodeID,ParamID,SourceNodeID,SourceNodeOutParamID". But, in the Output Node Parameter, impossible to select the output value of the Variable...
3/b) So I did the same with the Input Node Variable, giving the value to an Output Node Value,transmitting it to an Input Node Value, telling the value to the Output Node Parameter. Not so easy
But this way, I have been able to link the Output value to my Node parameter. I have indicated the Node ID and the parameter number to replace the value. It is, of course, my Input Node Ping where I want to update the IP Address with the Variable "IP Address" value. And I finnish with the command "WDNodeRefreshOutput,NodeID" to tell "Apply" to the Ping Node.
It sounds cool... but the Input Node Ping doesn't get the value of the Output Node Parameter.
So... If by any chance any of you had ever tried to do the same, I would be glad to discover the way you made it work
By having it from a TextBox, or a solution to pick the IP Address directly from the Connection Manager, any way to make it work without the PRO Dongle to use it on site ( but only to program, of course).
Thank you very much !!!