Download Simrad Other ER60 - REV B
Transcript
Data formats Collecting data In order to collect echo sounder data from the server application, commands must be sent to the RemoteDataServer component of the server application. The following methods/commands are available. • Create data subscription • Handling data • Change data subscription • Destroy data subscription For all commands a Request message must be sent from the client to the server - in the following sections only the contents of the Request field of the Request will be described. For all commands a Response message will be sent from the server to the client - in the following sections only the contents of the Response field of the Response will be described. Create data subscriptions The method part of the request shall be set to Subscribe. The Subscribe method is defined with the following input parameters. • RequestedPort: The local port on the client application that the data should be sent to • DataRequest: The actual specification of the subscription An example of the contents of the Request field of a Subscribe command to the RemoteDataServer is shown below: <request> <clientInfo> <cid>1</cid> <rid>1</rid> </clientInfo> <type>invokeMethod</type> <targetComponent>RemoteDataServer </targetComponent> <method> <Subscribe> <requestedPort>12345</requestedPort> <dataRequest>BottomDetection</dataRequest> </Subscribe> </method> </request> The server application will respond with a Response message. The Subscribe method has the following output parameters: • SubscriptionID: The identification of the current subscription - can be used to differentiate between multiple subscriptions on the same port An example of the contents of the Response field of a Subscribe command to the RemoteDataServer is shown below. 164692/C 183