Include Page | ||||
---|---|---|---|---|
|
iLab Batch LabServer Development
This gives an overview of the LabServer architecture and the concept of 'Experiment Farming' is introduced. | |
A description of the parts that make up the LabServer architecture is provided. | |
LabLibraries | The common LabServer code which includes the base classes is described. |
Template | This is the starting point for implementing a new LabServer and discusses what needs to be changed/added and what doesn't. |
Instructions are provided for creating a new LabServer from the 'Template'. |
LabServer Source Code
The source code for some Batch LabServers is available on SourceForge in the iLabsProject at http://sourceforge.net/projects/ilabproject/. To get to the code tree, go to http://ilabproject.svn.sourceforge.net/viewvc/ilabproject/ and browse to "/trunk/LabServer". Alternatively, download the source code from the links below. The code provided here is exactly the same code as found on SourgeForge. It's just a bit easier to get to from here.
The code common to the LabServers. | |
Template for a new LabServer. |
All very well and good to have the source code to create a new LabServer. What we need are some examples to look at which gives us some idea of what we might need to do.
This is where it all began. No equipment. Communicates with an NTP server over a network connection. | |
Control equipment over a network connection. No LabEquipment service. No input parameters. | |
Control equipment over a network connection. No LabEquipment service. Input parameters are specified. | |
Equipment is controlled by a LabEquipment service which drives an NI FlexMotion card and a serial port. |