Microscope Commands Documentation

Leica logo

Microscope Control Software version 3.1.3.73

JSON command protocol
TCP/IP port: 16951
Message format: message length (4 bytes, int32) followed by JSON message, then raw data length (4 bytes, int32) followed by raw data (if any)

Field Type/Value Description Required Default
Common for all components
CommoncommandRepresent a command that can be executed on a source.
ComponentNamestringName of the component to which command is addressed.Yes
CommandNamestringName of the command.Yes
response
SuccessboolIndicates if command was successful.Yes
ErrorMessagestringError message describing command error.Yes
Timedouble?Time in ms it took to execute command or null if unknown.Yes
Databyte arrayAdditional raw data returned by the command, e.g. for image data or other large binary data. This should not be serialized in the JSON message.Yes
PingcommandPing to check that component is able to receive commands.
response
Common for all devices
ConnectcommandConnect microscope to the device.
response
DisconnectcommandDisconnect microscope from device.
response
PingcommandPing to check that component is able to receive commands.
response
WaitReadycommandWait for a device to be ready.
response
AcquisitionController
AcquirecommandGenerate acquisition controller signals.
IlluminationSettingsstringName of the illumination settings to use.Yes
ExposureSettingsstringName of the exposure settings to use.Yes
response
GetTiltFactorscommandGet the tilt factors associated with the current objective block.
response
Illumin1TiltFactordoubleThe factor of scanner 1 to tilt the scan plane for illumination 1.Yes
Illumin2TiltFactordoubleThe factor of scanner 1 to tilt the scan plane for illumination 2.Yes
SaveTiltFactorscommandSave the tilt factors associated with the current objective block to persistent storage.
response
SetTiltFactorscommandSet the tilt factors associated with the current objective block.
Illumin1TiltFactordouble?The new factor of scanner 1 to tilt the scan plane for illumination 1 or null to keep the current value.Nonull
Illumin2TiltFactordouble?The new factor of scanner 1 to tilt the scan plane for illumination 2 or null to keep the current value.Nonull
response
Camera
DisplayedViewSetcommandSet the displayed view in image viewer.
ViewintThe index of the view to display, one based.Yes
response
GetMaxProjectioncommandGet the maximum intensity projection of the image across a specified dimension (Z, Y, or X). Image data should be included as raw data.
ProjectionTypestringPrimary axis used to compute the maximum-intensity projection ("Z", "Y", or "X").No"Z"
TimePointint?The time point to get max projection for (1 based), null to get last time point acquired.Nonull
SettingsProfilestringThe settings profile to get max projection for, null to get last settings profile acquired.Nonull
PositionstringThe position to get max projection for, null to get last position acquired.Nonull
TileIdlist of 2 integers?The tile ID to get max projection for (1 based), null to get last tile ID acquired.Nonull
ViewIndexintThe index of the view to get max projection for (1 based).No1
ChannelIndexintThe index of the channel to get max projection for (1 based).No1
Leftint?For cropping: the index of the left most pixel to get (0 based), null to center.Nonull
Topint?For cropping: the index of the top most pixel to get (0 based), null to center.Nonull
Widthint?For cropping: the width of the image in pixels, null to get full width.Nonull
Heightint?For cropping: the height of the image in pixels, null to get full height.Nonull
response
GetSensorInfocommandGet sensor information.
response
WidthintWidth of the sensor in pixels.Yes
HeightintHeight of the sensor in pixels.Yes
Temperaturedouble?Current temperature of the sensor in degree Celsius if available.Nonull
ImageGetcommandGet an image from the current experiment. Image data should be included as raw data.
TimePointint?The time point to get image for (1 based), null to get last time point acquired.Nonull
SettingsProfilestringThe settings profile to get image for, null to get last settings profile acquired.Nonull
PositionstringThe position to get image for, null to get last position acquired.Nonull
TileIdlist of 2 integers?The tile ID to get image for (1 based), null to get last tile ID acquired.Nonull
PlaneintThe index of the plane to get image for (1 based).No1
ViewIndexintThe index of the view to get image for (1 based).No1
ChannelIndexintThe index of the channel to get image for (1 based).No1
Leftint?For cropping: the index of the left most pixel to get (0 based), null to center.Nonull
Topint?For cropping: the index of the top most pixel to get (0 based), null to center.Nonull
Widthint?For cropping: the width of the image in pixels, null to get full width.Nonull
Heightint?For cropping: the height of the image in pixels, null to get full height.Nonull
response
WidthintWidth of the image.Yes
HeightintHeight of the image.Yes
ImageInfoGetcommandGet info on imaging setup.
response
WidthintWidth of the image in pixels.Yes
HeightintHeight of the image in pixels.Yes
PlanesintNumber of planes.Yes
ChannelsintNumber of channels.Yes
ViewsintNumber of views.Yes
PositionstringName of position (or null if not known).Yes
SettingsstringName of settings.Yes
TimePointint?Time point starting at 1.Yes
VoxelXdouble?Size of Voxel X in um.Yes
VoxelYdouble?Size of Voxel Y in um.Yes
VoxelZdouble?Size of Voxel Z in um (or null if no stack).Yes
NumericalAperturedoubleNumerical aperture of objective.Yes
OffsetGetcommandGet offset between camera views.
response
OffsetXintThe offset between views along X-axis.Yes
OffsetYintThe offset between views along Y-axis.Yes
OffsetSetcommandSet the offset between camera views.
OffsetXintThe offset between views along X-axis.Yes
OffsetYintThe offset between views along Y-axis.Yes
response
FilterWheel
MovecommandMove filter wheel to specified filter.
FilterNamestringName of the filter settings to move device to.Yes
ForceboolWhether to force the filter wheel to move (even if already at correct position).Nofalse
response
MoveTocommandMove filter wheel to specified position.
PositionintPosition to move the device to.Yes
ForceboolWhether to force the filter wheel to move (even if already at correct position).Nofalse
response
IlluminationModule
ClearRotationRangecommandClear the rotation range associated with the current immersion medium. The modified alignment are not persistent, unless the update command is also sent.
NamestringName of the illumination settings to set.Yes
response
CurrentIlluminationGetcommandGet values currently applied on the hardware.
response
NamestringName of illumination settings.Yes
TranslationXdoubleThe translation along X-axis in um.Yes
RotationXdoubleThe rotation along X-axis in degrees.Yes
TranslationZdoubleThe translation along Z-axis in um.Yes
RotationZdoubleThe rotation along Z-axis in degrees.Yes
GetIlluminationListcommandGet the list of illumination settings.
response
Nameslist of stringThe names of the illumination settings.Yes
GetObjectiveBlockAlignmentcommandGet the objective block alignment associated with the current immersion medium.
NamestringName of the illumination settings to get.Yes
response
NamestringName of illumination settings.Yes
ImmersionMediumstringThe name of the immersion medium.Yes
TranslationXdoubleThe translation along X-axis in um.Yes
RotationXdoubleThe rotation along X-axis in degrees.Yes
MinRotationXdouble?The minimum rotation along X-axis in degrees for pivoting.Yes
MaxRotationXdouble?The maximum rotation along X-axis in degrees for pivoting.Yes
TranslationZdoubleThe translation along Z-axis in um.Yes
RotationZdoubleThe rotation along Z-axis in degrees.Yes
IlluminationGetcommandGet current illumination settings.
NamestringName of the illumination settings to get.Yes
response
NamestringName of illumination settings.Yes
TranslationXdoubleThe translation along X-axis in um.Yes
RotationXdoubleThe rotation along X-axis in degrees.Yes
TranslationZdoubleThe translation along Z-axis in um.Yes
RotationZdoubleThe rotation along Z-axis in degrees.Yes
IlluminationSetcommandSet the illumination settings.
NamestringName of the illumination settings to set.Yes
TranslationXdouble?The translation along X-axis or null to keep original value.Nonull
RotationXdouble?The rotation along X-axis or null to keep original value.Nonull
TranslationZdouble?The translation along Z-axis or null to keep original value.Nonull
RotationZdouble?The rotation along Z-axis or null to keep original value.Nonull
SetDeviceboolWhether to apply the new settings on device.Nofalse
response
OffsetBaseGetcommandGet base offset values.
response
OffsetsBaseSetcommandSet base offsets, all current settings are overwritten.
OffsetsBaselist of dictThe list of base offsets.
Keys of dict listed below.
Yes
BranchintUnique number of illumination branch (value 1, 2 or 3).Yes
Scanner1OffsetdoubleVoltage on scanner 1.Yes
Scanner2OffsetdoubleVoltage on scanner 2.Yes
Scanner3OffsetdoubleVoltage on scanner 3.Yes
Scanner4OffsetdoubleVoltage on scanner 4.Yes
response
PositionAlignmentGetcommandGet position specific Z-alignment.
NamestringName of the position alignment settings to get.Yes
response
NamestringName of the position.Yes
TranslationZdoubleTranslation along Z-axis.Yes
EnableboolWhether the alignment is applied.Yes
PositionAlignmentSetcommandSet position specific Z-alignment and enable the position.
NamestringName of the position alignment settings to set.Yes
TranslationZdouble?Translation along Z-axis to set or null to keep original value.Nonull
Enablebool?Enable to set or null to keep original value.Nonull
response
SetObjectiveBlockAlignmentcommandSet the objective block alignment associated with the current immersion medium. The modified alignment are not persistent, unless the update command is also sent.
NamestringName of the illumination settings to set.Yes
TranslationXdouble?The translation in X in um to apply. If null, keep the current value.Nonull
RotationXdouble?The rotation in X in degrees to apply. If null, keep the current value.Nonull
MinRotationXdouble?The minimum rotation in X in degrees to apply for pivoting. If null, keep the current value.Nonull
MaxRotationXdouble?The maximum rotation in X in degrees to apply for pivoting. If null, keep the current value.Nonull
TranslationZdouble?The translation in Z in um to apply. If null, keep the current value.Nonull
RotationZdouble?The rotation in Z in degrees to apply. If null, keep the current value.Nonull
response
UpdateObjectiveBlockAlignmentcommandUpdate the objective block alignment associated with the current immersion medium based on the current alignment of the given illumination. The updated alignment are persistent.
IlluminationNamestringName of the illumination settings to update, if null, update all illuminations.Nonull
response
System
AuthenticatecommandAuthenticate to the system with a secret key to start a session.
AuthenticationSecretKeystringThe authentication secret key. Software must have been started once to generate this key.Yes
response
GetComponentListcommandGet a list of names and types of components connected to the microscope.
response
ComponentNameslist of stringList of component names.Yes
ComponentTypeslist of stringList of component types.Yes
GetComponentTypecommandGet the type of a component.
QueryComponentNamestringThe name of the component to get the type for.Yes
response
ComponentTypestringType of the component.Yes
SaveAllSettingscommandSave all settings of the application to a directory.
DirectorystringThe directory to save the settings to.Yes
response
ObjectiveBlock
GetObjectiveBlockInfocommandGet the current information about the objective block.
response
ObjectiveBlockstringThe name of the objective block currently used.Yes
ObjectivestringThe name of the objective used.Yes
IsMultiImmersionboolWhether the objective supports multiple immersion media.Yes
ViewsenumThe available views for the current objective.
Possible values listed below.
Yes
View1stringView 1-
View2stringView 2-
View1And2stringView 1 and 2-
IlluminationMagnificationdoubleThe effective magnification of the illumination objective, taking into account the current immersion medium refractive index.Yes
DetectionMagnificationdoubleThe effective magnification of the detection objective, taking into account the current immersion medium refractive index.Yes
DetectionNumericalAperturedoubleThe effective numerical aperture of the detection objective, taking into account the current immersion medium refractive index.Yes
ImmersionMediumstringThe current immersion medium.Yes
RefractiveIndexdoubleThe refractive index of the current immersion medium.Yes
SetShadingcommandSet the shading information for the current immersion medium.
ShadingCorrectionFactorslist of dictThe shading correction factors for each view. The factors allow the reconstruction of a polynomial function that maps the measured intensity to the corrected intensity.
Keys of dict listed below.
Yes
CdoubleThe constant term.Yes
HLdoubleThe horizontal linear coefficient.Yes
VLdoubleThe vertical linear coefficient.Yes
TQdoubleThe tilted quadratic coefficient.Yes
HQdoubleThe horizontal quadratic coefficient.Yes
VQdoubleThe vertical quadratic coefficient.Yes
response
Photomanipulation
GetPositioncommandGet position settings of a photomanipulation.
NamestringName of the position settings.Yes
response
NamestringName of the position settings.Yes
OffsetXdoubleThe offset from position center along X axis in micrometers.Yes
OffsetYdoubleThe offset from position center along Y axis in micrometers.Yes
OffsetZdoubleThe offset from position center along Z axis in micrometers.Yes
RegionstringThe name of the region settings associated with the position.Yes
GetPositionNamescommandGet the list of position names.
response
Nameslist of stringList of position names.Yes
GetRegioncommandGet region settings.
NamestringName of the region settings.Yes
response
NamestringName of the region settings.Yes
TypeenumThe region type.
Possible values listed below.
Yes
PointstringPoint region.-
LinestringLine region.-
RectanglestringRectangle region.-
EllipsestringEllipse region.-
WidthdoubleThe width of the region in micrometers.Yes
HeightdoubleThe height of the region in micrometers.Yes
StepSizedoubleThe step size for the region in micrometers.Yes
RotationdoubleThe rotation of the region in degree.Yes
ExposureTimeintThe exposure time for the region in milliseconds.Yes
RepetitionsintThe number of repetitions for the region.Yes
GetRegionNamescommandGet the list of region settings names.
response
Nameslist of stringList of region names.Yes
OffsetsBaseGetcommandGet base offset values from photomanipulation laser.
response
OffsetsBasedictThe base offsets.
Keys of dict listed below.
Yes
Scanner1OffsetdoubleVoltage on scanner 1 (closest to scan lens).Yes
Scanner2OffsetdoubleVoltage on scanner 2.Yes
Scanner3OffsetdoubleVoltage on scanner 3.Yes
Scanner4OffsetdoubleVoltage on scanner 4 (furthest from scan lens).Yes
OffsetsBaseSetcommandSet base offsets for photomanipulation laser, all current settings are overwritten.
OffsetsBasedictThe baser offsets.
Keys of dict listed below.
Yes
Scanner1OffsetdoubleVoltage on scanner 1 (closest to scan lens).Yes
Scanner2OffsetdoubleVoltage on scanner 2.Yes
Scanner3OffsetdoubleVoltage on scanner 3.Yes
Scanner4OffsetdoubleVoltage on scanner 4 (furthest from scan lens).Yes
response
SetPositioncommandSet position settings of a photomanipulation.
NamestringYes
OffsetXdouble?The offset from position center along X axis in micrometers to set or null to keep original value.Nonull
OffsetYdouble?The offset from position center along Y axis in micrometers to set or null to keep original value.Nonull
OffsetZdouble?The offset from position center along Z axis in micrometers to set or null to keep original value.Nonull
RegionstringThe name of the region settings associated with the position to set or null to keep original value.Nonull
ApplyNowboolWhether to apply the changes immediately. While the time-lapse is running, changes are normally applied at the next time point.Nofalse
response
SetRegioncommandSet region settings.
NamestringThe name of the region settings to update.Yes
NewNamestringThe new name of the region settings or null to keep original value.Nonull
Typeenum?The region type to set or null to keep original value.
Possible values listed below.
Nonull
PointstringPoint region.-
LinestringLine region.-
RectanglestringRectangle region.-
EllipsestringEllipse region.-
Widthdouble?The width of the region in micrometers to set or null to keep original value.Nonull
Heightdouble?The height of the region in micrometers to set or null to keep original value.Nonull
StepSizedouble?The step size for the region in micrometers to set or null to keep original value.Nonull
Rotationdouble?The rotation of the region in degree to set or null to keep original value.Nonull
ExposureTimeint?The exposure time for the region in milliseconds to set or null to keep original value.Nonull
Repetitionsint?The number of repetitions for the region to set or null to keep original value.Nonull
ApplyNowboolWhether to apply the changes immediately. While the time-lapse is running, changes are normally applied at the next time point.Nofalse
response
StageXYZ
ForgetCurrentPositioncommandMake stage forget position name on which it's located.
response
GetCoordinatescommandGet current coordinates of the stage.
response
Coordinateslist of 3 doublesThe current coordinates of the stage.Yes
GetZStackcommandGet Z-Stack settings.
NamestringName of the Z-Stack settings.Yes
response
NamestringName of the Z-Stack settings.Yes
StepdoubleThe step size in micrometer between each plane.Yes
PlanesintThe number of planes of the stack.Yes
GetZStackNamescommandGet a list of Z-Stack settings names.
response
Nameslist of stringList of Z-Stack names.Yes
MovecommandMove stage to a position.
NamestringName of the position settings.Yes
ZStackNamestringName of the Z-stack settings to use or null to move to center.Nonull
Planeint?Plane of the Z-stack to move to or null to move to center.Nonull
Offsetlist of 3 doubles?List of relative X, Y, Z offsets to add to the position.Nonull
response
MoveTocommandMove stage to specified position.
Coordinateslist of 3 doublesThe target coordinates to move to.Yes
MoveOrderstringThe order in which to move the axes (e.g., "XYZ", "XZY").No"XYZ"
response
PositionGetcommandGet position settings.
NamestringName of the position settings.Yes
response
NamestringName of the position.Yes
PositionXdoublePosition on X-axis.Yes
PositionYdoublePosition on Y-axis.Yes
PositionZdoublePosition on Z-axis.Yes
SkipPositionboolWhether the position is skipped.Yes
PositionNamesGetcommandGet a list of position names.
response
Nameslist of stringList of position names.Yes
PositionSetcommandSet position settings.
NamestringName of the position settings to set.Yes
NewNamestringThe new name of the position settings or null to keep original value.Nonull
PositionXdouble?Position on X-axis to set or null to keep original value.Nonull
PositionYdouble?Position on Y-axis to set or null to keep original value.Nonull
PositionZdouble?Position on Z-axis to set or null to keep original value.Nonull
SkipPositionbool?Whether to skip the position or null to keep original value.Nonull
response
SetZStackcommandSet Z-Stack settings.
NamestringName of the Z-stack settings to set.Yes
NewNamestringThe new name of the Z-stack settings or null to keep original value.Nonull
Stepdouble?The step size in micrometer between each plane to set or null to keep original value.Nonull
Planesint?The number of planes of the stack to set or null to keep original value.Nonull
response
TimeLapseController
ContinueFromPausecommandContinue from pause after a position.
response
GetAcquisitionSettingscommandGet acquisition settings.
response
TimeIntervaldoubleThe time interval in seconds between two time points.Yes
RepetitionsintThe number of time points to acquire.Yes
ExperimentNamestringThe name of the experiment.Yes
SettableDeviceSettingsdict (string => string)The acquisition-related settable device settings to apply.Yes
GetChannelSettingscommandGet the channel settings in a settings profile.
SettingsProfilestringThe name of the settings profile to get the channel settings from.Yes
NamestringThe name of the channel settings to get.Yes
response
NamestringThe name of the channel settings.Yes
EnabledboolWhether the channel should be acquired.Yes
AcquireNthTimePointintInterval at which the channel should be acquired. It is acquired at every specified number of time points.Yes
ColorenumThe channel default color.
Possible values listed below.
Yes
RedstringRed color.-
GreenstringGreen color.-
BluestringBlue color.-
CyanstringCyan color.-
MagentastringMagenta color.-
YellowstringYellow color.-
WhitestringWhite color.-
IlluminationstringThe name of the illumination settings to apply on acquisition controller device.Yes
ExposurestringThe name of the exposure settings to apply on acquisition controller device.Yes
SettableDeviceSettingsdict (string => string)The channel-related settable device settings to apply.Yes
GetChannelSettingsNamescommandGet the list of channel settings names in a settings profile.
SettingsProfilestringThe name of the settings profile to get the channel settings names from.Yes
response
Nameslist of stringList of channel settings names.Yes
GetExperimentDirectorycommandGet the experiment directory.
response
ExperimentDirectorystringThe experiment directory where images are being saved of the current/last time-lapse acquisition.Yes
GetPhotomanipulationSettingscommandGet photomanipulation settings.
response
IlluminationInternalboolWhether to use the internal illumination.Yes
IlluminationstringName of the illumination settings to apply on acquisition controller device.Yes
IlluminationFilterstringName of the illumination filter to apply on acquisition controller device.Yes
IlluminationIntensityExternaldoubleThe intensity (as a percentage of the maximum) of the external illumination.No
Positionslist of stringThe list of positions to photomanipulate. If null, all positions are photomanipulated. If empty, no positions are photomanipulated.Yes
TimePointslist of intThe list of time points to photomanipulate. If null, all time points are photomanipulated. If empty, no time points are photomanipulated.Yes
GetSettingsProfilecommandGet a settings profile.
NamestringThe name of the settings profile to get.Yes
response
NamestringThe name of the settings profile.Yes
EnabledboolWhether the settings profile should be acquired.Yes
ZStackstringThe name of the Z-Stack settings to apply, single plane if null.Yes
Positionslist of stringThe list of positions to acquire. If null, all positions are acquired. If empty, no positions are acquired.Yes
ViewsenumThe view(s) to acquire.
Possible values listed below.
Yes
View1stringView 1-
View2stringView 2-
View1And2stringView 1 and 2-
SettableDeviceSettingsdict (string => string)The settings profile related settable device settings to apply.Yes
GetSettingsProfileNamescommandGet the list of settings profile names.
response
Nameslist of stringList of settings profile names.Yes
NoPauseAfterPositionAcquiredcommandDisable pause after each position has been acquired (before photomanipulation).
response
PauseAfterPositionAcquiredcommandAsk time-lapse to pause after each position has been acquired (before photomanipulation).
response
SetAcquisitionSettingscommandSet acquisition settings.
TimeIntervaldouble?The time interval in seconds between two time points to set or null to keep original value.Nonull
Repetitionsint?The number of time points to acquire to set or null to keep original value.Nonull
ExperimentNamestringThe name of the experiment to set or null to keep original value.Nonull
SettableDeviceSettingsdict (string => string)If not null, replace the defined settable device settings.Nonull
response
SetChannelSettingscommandSet the channel settings in a settings profile.
SettingsProfilestringThe name of the settings profile to set the channel settings in.Yes
NamestringName of the channel settings to set.Yes
NewNamestringThe new name of the settings profile or null to keep original value.Nonull
Enabledbool?Whether the channel settings should be acquired or null to keep original value.Nonull
AcquireNthTimePointint?Interval at which the channel should be acquired or null to keep original value.Nonull
Colorenum?The channel default color or null to keep original value.
Possible values listed below.
Nonull
RedstringRed color.-
GreenstringGreen color.-
BluestringBlue color.-
CyanstringCyan color.-
MagentastringMagenta color.-
YellowstringYellow color.-
WhitestringWhite color.-
IlluminationstringThe name of the illumination settings to apply or null to keep original value.Nonull
ExposurestringThe name of the exposure settings to apply or null to keep original value.Nonull
SettableDeviceSettingsdict (string => string)If not null, replace the defined settable device settings.Nonull
response
SetPhotomanipulationSettingscommandSet photomanipulation settings.
IlluminationInternalbool?Whether to use the internal illumination to set or null to keep original value.Nonull
IlluminationstringName of the illumination settings to apply on acquisition controller device to set or null to keep original value.Nonull
IlluminationFilterstringName of the illumination filter to apply on acquisition controller device to set or null to keep original value.Nonull
IlluminationIntensityExternaldouble?The intensity (as a percentage of the maximum) of the external illumination to set or null to keep original value.Nonull
Positionslist of stringThe list of positions to photomanipulate or null to keep original value.Nonull
PositionsAllbool?Whether all positions should be photomanipulated or null to keep original value. If true, must be null. If false, must be defined.Nonull
TimePointslist of intThe list of time points to photomanipulate or null to keep original value.Nonull
TimePointsAllbool?Whether all time points should be photomanipulated or null to keep original value. If true, must be null. If false, must be defined.Nonull
ApplyNowboolWhether to apply the changes immediately. While the time-lapse is running, changes are normally applied at the next time point.Nofalse
response
SetSettingsProfilecommandSet a settings profile.
NamestringName of the settings profile to set.Yes
NewNamestringThe new name of the settings profile or null to keep original value.Nonull
Enabledbool?Whether the settings profile should be acquired or null to keep original value.Nonull
ZStackstringThe name of the Z-Stack settings to apply or null to keep original value.Nonull
IsSinglePlanebool?Whether the settings profile should be acquired in single plane or null to keep original value. If false, must be defined. If true, must be null.Nonull
Positionslist of stringThe list of positions to acquire or null to keep original value.Nonull
PositionsAllbool?Whether all positions should be acquired or null to keep original value. If true, must be null. If false, must be defined.Nonull
Viewsenum?The view(s) to acquire or null to keep original value.
Possible values listed below.
Nonull
View1stringView 1-
View2stringView 2-
View1And2stringView 1 and 2-
SettableDeviceSettingsdict (string => string)If not null, replace the defined settable device settings.Nonull
response
SnapcommandSnap an image.
Illumination1bool?If not null override user settings and enable or disable illumination 1.Nonull
Illumination2bool?If not null override user settings and enable or disable illumination 2.Nonull
ExposureTimeint?If not null override user settings and set the exposure time in milliseconds.Nonull
ScanRangeint?If not null override user settings and set the scan range in micrometers.Nonull
ScanFullFOVbool?If not null override user settings and set whether to scan the full field of view.Nonull
Viewsenum?If not null override user settings and set the view(s) to acquire.
Possible values listed below.
Nonull
View1stringView 1-
View2stringView 2-
View1And2stringView 1 and 2-
SettableDeviceSettingsdict (string => string)If not null override user settings and set the defined settable device.Nonull
FastboolWhether to bypass setting of settable devices (for example filter wheels will not move to defined settings).Nofalse
response
StartcommandStart a time-lapse.
response
StopcommandStop time-lapse.
response
WaitForPausecommandWait until time-lapse controller is paused after a position.
TimeoutintWaiting timeout in ms, -1 to wait indefinitely.No-1
response
PositionstringPosition which was paused.Yes
TimePointintTime point which was paused.Yes
TimeoutboolTrue if timeout, if paused falseYes