pyrolab.drivers.cameras.thorcam.ThorCamClient#
- class ThorCamClient[source]#
Bases:
objectThe Thorlabs camera client. Not a PyroLab
Serviceobject.Used for receiving video streamed over a socket connection from a
ThorCamBase-derived service.Any
ThorCamBaseattribute is a valid ThorCamClient attribute.- Attributes:
- SUB_MESSAGE_LENGTHint
The size of the sub-message chunks used.
Methods
await_stream([timeout])Blocks until the first image is available from the stream.
close()Closes the Proxy connection to the remote camera.
connect(name[, ns_host, ns_port])Connect to a remote PyroLab-hosted UC480 camera.
Ends the video stream.
Returns the last image received from the stream.
Starts the video stream.