|
 |
Creating a new
DataServerWe are
using mainly a specific DataServer which is connected to a commercial product named MD2S
from Indium. The MD2Sdriver is available in the package. But we propose also here two
other drivers, one which use http and one which is based on the TCP/IP sockets. The http
driver has the enormous advantage to require only a Web server to function but of course
is not efficient at all. If you want to use the socket driver, you will have to program
the server part of it.
To create a new DataServer is also quite simple. Your class must
implement the DataServer interface. The code for the socket based DataServer is given with
the package (we have used it personally to fetch data from a Labview program). As for a
TagsView component, the only thing to do is to insert the class file into the RView folder
of your Web server. The DataServer will have to be referenced further on by its class
name.
Look into the developer guide to have a detailed description of the
DataServer interface. |