mxcubecore.HardwareObjects.QtLimaVideo#
[Name] QtLimaVideo
[Description] HwObj used to grab images via LImA library or Lima Tango server.
[Configuration] See example below. To select between “Library” or “Tango” simply use and configure the field <address> (for Library) or <tangoname> (for Tango) in the XML file.
Example Hardware Object XML file :#
- <object class=”QtLimaVideo”>
<type>basler</type> <encoding>yuv422p</encoding> <address>84.89.227.6</address> <gain>0.5</gain> <exposure>0.01</exposure> <mirror>(False, False)</mirror> <interval>30</interval>
</object>
Functions
|
Classes
|
Descript. |
- class mxcubecore.HardwareObjects.QtLimaVideo.QtLimaVideo(name)[source]#
Bases:
AbstractVideoDevice
Descript. :
- get_image()[source]#
The implementing class should return here the latest_image in raw_format, followed by the width and height of the image
- get_raw_image_size()[source]#
Must return a two-value list necessary to avoid breaking e.g. ViideoMockup