CurrentBlockIndex

Complete Command

ZenService.Experiment.CurrentBlockIndex

Input

 

Output

integer

Description

Returns the current experiment block index in heterogeneous experiments.

CurrentSceneIndex

Complete Command

ZenService.Experiment.CurrentSceneIndex

Input

 

Output

integer

Description

Returns the index of the current position for multi-position experiments.

CurrentTileIndex

Complete Command

ZenService.Experiment.CurrentTileIndex

Input

 

Output

integer

Description

Returns the current tile index.

CurrentTimePointIndex

Complete Command

ZenService.Experiment.CurrentTimePointIndex

Input

 

Output

integer

Description

Returns the current time point index, e.g. the frame number from a time-lapse experiment.

CurrentTrackIndex

Complete Command

ZenService.Environment.CurrentTrackIndex

Input

 

Output

integer

Description

Returns the current track number.

CurrentZSliceIndex

Complete Command

ZenService.Experiment.CurrentZSliceIndex

Input

 

Output

integer

Description

Returns the current Z-Plane form the Z-stack.

ElapsedTimeInMinutes

Complete Command

ZenService.Experiment.ElapsedTimeInMinutes

Input

 

Output

double

Description

Returns the elapsed time in minutes for the current experiment.

ElapsedTimeInSeconds

Complete Command

ZenService.Experiment.ElapsedTimeInSeconds

Input

 

Output

double

Description

Returns the elapsed time in seconds for the current experiment.

ImageFileName

Complete Command

ZenService.Experiment.ImageFileName

Input

 

Output

string

Description

Returns the name of the current experiment as a string. The String ending will be *.czi and *.czmbi for multi-block experiments, respectively.

IsExperimentPaused

Complete Command

ZenService.Experiment.IsExperimentPaused

Input

 

Output

boolean

Description

Returns the paused state of the current experiment, i.e. it will be True if the experiment is paused.

IsExperimentRunning

Complete Command

ZenService.Experiment.IsExperimentRunning

Input

 

Output

boolean

Description

Returns the running state of the current experiment, i.e. it will be True if the experiment is running.

HasChanged

Complete Command

ZenService.Environment.HasChanged(String observableId)

Input

 

Output

boolean

Description

Returns true/false if a certain observable has/ has not changed. On simple occurrences it is possible to use the HasChanged("observableId") method. Where available the HasChanged("observableId") method takes an observable name as parameter. HasChanged("observableId") returns true whenever the specified observable has changed since last script run; otherwise false. So it might not be suitable for situations when an observable changes very often and/or when really a singular execution is desired.