Next: The Ion Chamber Entry
Up: Format of the database.dat
Previous: The Pseudo Motor Entry
Contents
The DHS definition
An entry for a complete DHS definition should be in the following generic format:
Line 1:name
Line 2:3
Line 3:hostName protocolLevel
- The hostName parameter is the host name of the computer
that DHS will be running on. DCSS will reject a connection from a DHS announcing
itself with the name if the connection is not coming from
the computer/hostname hostName.
- The protocolLevel can be a 1 or a 2. A protocol of 1 is used
by DHS(s) that are still using the 200 byte DCS protocol. A protocol of 2 is used
by DHS(S) that have been upgraded to the dynamic length DCS protocol.
Here is an example for a camera
DHS entry:
camera
3
biotest.slac.stanford.edu 2
Note: Every database.dat
file should have an entry for the scripting engine DHS as shown here:
self
3
localhost 2
This will define a self
DHS which scripted operations
and scripted devices
should use.
Next: The Ion Chamber Entry
Up: Format of the database.dat
Previous: The Pseudo Motor Entry
Contents
Scott McPhillips
2011-07-06