Low level connection to the PC controlling the KappaCCD machine.
New protocol DD 23/4/98
|
Methods
|
|
allsockdown mksocks sendfatal sendpacket sendstatus
|
|
|
allsockdown
|
allsockdown ( self )
Shut down all sockets brute force.
In this version only the command socket needs to be closed. |
|
|
mksocks
|
mksocks ( self )
Make the socket connections.
This version only opens the command socket. A new data socket is
used for each image. |
|
|
sendfatal
|
sendfatal ( self, data )
Send fatal error.
This is sent over the command socket in this version |
|
|
sendpacket
|
sendpacket (
self,
data,
type="1",
sendfixed=sendfixed,
)
Send the data.
In this version the data is always prefixed with a length. |
|
|
sendstatus
|
sendstatus ( self, data )
Send image status. |
|