Difference between revisions of "Communication/FastData"
Line 1: | Line 1: | ||
− | + | =Introduction= | |
− | The FastData UDP server allows a UDP client to retrieve from the MC data about specific axes and variables. | + | The FastData UDP server allows a UDP client to retrieve from the MC data about specific axes and variables.<br/> |
− | The server is initialized upon MC startup and is immediately ready to respond to clients. | + | The server is initialized upon MC startup and is immediately ready to respond to clients.<br/> |
<br/> | <br/> | ||
− | =Server Functionality= | + | |
+ | ==Server Functionality== | ||
The server will receive client requests from any IP address, on port 60000.<br/> | The server will receive client requests from any IP address, on port 60000.<br/> | ||
− | The server will send axes data ONCE upon a SINGLE request | + | The server will send axes data ONCE upon a SINGLE request received from the client, and will send<br/> |
data only about axes that were specifically requested by the client.<br/> | data only about axes that were specifically requested by the client.<br/> | ||
+ | Meaning the server is blocked on receive( ) and anticipates data from the client that indicates which axes data to send back.<br/><br/> | ||
+ | On version 1 of the FastData server, MC Integer and MC Double arrays are added to the requested axes data.<br/> | ||
+ | <br/> | ||
+ | |||
+ | ==Data Structure== | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
<br/> | <br/> | ||
− | |||
− | |||
− | |||
− | |||
[[Category:Control:Offline]] | [[Category:Control:Offline]] |
Revision as of 15:04, 11 June 2014
Introduction
The FastData UDP server allows a UDP client to retrieve from the MC data about specific axes and variables.
The server is initialized upon MC startup and is immediately ready to respond to clients.
Server Functionality
The server will receive client requests from any IP address, on port 60000.
The server will send axes data ONCE upon a SINGLE request received from the client, and will send
data only about axes that were specifically requested by the client.
Meaning the server is blocked on receive( ) and anticipates data from the client that indicates which axes data to send back.
On version 1 of the FastData server, MC Integer and MC Double arrays are added to the requested axes data.
Data Structure