.

Average: 0
Rating Count: 0

Development status: New development
Information status: Updated
Repository: http://svn.code.sf.net/p/tango-ds/code/DeviceClasses/Simulators/SimCcd
Contact:



Class Description


A Ccd simulator which implements the Tango Ccd interface.

This class simulates a Ccd commands and state machine. It returns a simulated image and jpeg of it. It can save the image as a file.

It is intended to be used as for test purposes and as an example of a Ccd class in C++. For a real Ccd we recommend using the LIMA library.

Families: Simulators

Key words:

Platform: All Platforms

Language: Cpp

License:

Contact:

Hardware


Manufacturer: none

Bus: Not Applicable

Class interface


Attributes:

Name Description
ExposureScalar: DevDouble the exposure time for the image
TriggerScalar: DevShort trigger mode of camera (0=internal, 1=external)
WidthScalar: DevLong width of image in pixels
HeightScalar: DevLong height of image in pixels
FramesScalar: DevLong number of images to take
DepthScalar: DevShort number of bits per pixel
FileFormatScalar: DevString file format for saving images to disk
ImageFormatScalar: DevString
ImageCounterScalar: DevLong
JpegQualityScalar: DevShort
JpegCompressionScalar: DevBoolean
ImageScalar: DevEncoded image data
RoiSpectrum: DevLong coordinates of the region of interest
BinningSpectrum: DevShort binning factor of image
FileParamsSpectrum: DevString the file parameters for generating file names (directory, prefix, suffix, number)
JpegImageSpectrum: DevUChar

Commands:

Name Description
StateInput: DevVoid
Output: State
State Code
This command gets the device state (stored in its <i>device_state</i> data member) and returns it to the caller.
StatusInput: DevVoid
Output: ConstDevString
Status description
This command gets the device status (stored in its <i>device_status</i> data member) and returns it to the caller.
StartInput: DevVoid
Output: DevVoid
start camera exposing
StopInput: DevVoid
Output: DevVoid
stop camera exposing
ResetInput: DevVoid
Output: DevVoid
reset camera
WriteFileInput: DevVoid
Output: DevVoid
write image to file in the selected format, use the file parameters to generate file name

Pipes:

Properties:


Please log in to comment.

23 Feb 2017, Piotr Goryl
Updated:
The device class has been updated.
You can see previous version here .



19 Jan 2017, Piotr Goryl
Updated:
The device server has been updated.
You can see previous version here .



2 Jan 2017, Piotr Goryl
Created:
The device server has been added to catalogue.
Added by:pgoryl2 on:2 Jan 2017, 2:58 p.m.