User Tools

Site Tools


getting_started:tutorials:controlsystem5

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Last revisionBoth sides next revision
getting_started:tutorials:controlsystem5 [2017/09/01 12:05] grafgetting_started:tutorials:controlsystem5 [2017/09/01 12:11] graf
Line 3: Line 3:
 At the same time the standalone block periodically transmit six double values, whose values increase over time. The socket data block receives these values and bundles them into its output signal of type ''Matrix<6,1,double>'' At the same time the standalone block periodically transmit six double values, whose values increase over time. The socket data block receives these values and bundles them into its output signal of type ''Matrix<6,1,double>''
 [{{ :getting_started:tutorials:socketconnectionexample.png?500 |//Control system with socket data block and external standalone client//}}] [{{ :getting_started:tutorials:socketconnectionexample.png?500 |//Control system with socket data block and external standalone client//}}]
 + ---- 
 +Another example shows how two independent EEROS applications can pass data among each other by using a socket data block each. Open a shell in the build directory of your EEROS library and run ''examples/socket/eerosServer/socketServerExample''. Open a second terminal and run ''examples/socket/eerosClientExample''. While the socket data block of the former creates a socket server the latter creates a socket client which connects to the server. 
 +\\ 
 +You can alter the data types passed among them by commenting / uncommenting the corresponding lines directly in the source code.