This will acquire a stack using a channelgroup to determine the acquisition

Namespace:  CoreDevices
Assembly:  Micromanager_net (in Micromanager_net.dll) Version: 1.0.0.0 (1.0.0.0)

Syntax

C#
public void RunZStackAcquisition(
	ChannelGroup ActiveGroup,
	string CameraDevice,
	string FocusDevice,
	long TimePerFrameMS,
	bool FirstStackThenChannel,
	bool DisplaySlices,
	bool CurrentSliceIsMiddle,
	int NumSlices,
	double SliceDistance,
	bool Save,
	string SavePath,
	string Savefilename
)
Visual Basic (Declaration)
Public Sub RunZStackAcquisition ( _
	ActiveGroup As ChannelGroup, _
	CameraDevice As String, _
	FocusDevice As String, _
	TimePerFrameMS As Long, _
	FirstStackThenChannel As Boolean, _
	DisplaySlices As Boolean, _
	CurrentSliceIsMiddle As Boolean, _
	NumSlices As Integer, _
	SliceDistance As Double, _
	Save As Boolean, _
	SavePath As String, _
	Savefilename As String _
)
Visual C++
public:
virtual void RunZStackAcquisition(
	ChannelGroup^ ActiveGroup, 
	String^ CameraDevice, 
	String^ FocusDevice, 
	long long TimePerFrameMS, 
	bool FirstStackThenChannel, 
	bool DisplaySlices, 
	bool CurrentSliceIsMiddle, 
	int NumSlices, 
	double SliceDistance, 
	bool Save, 
	String^ SavePath, 
	String^ Savefilename
) sealed

Parameters

ActiveGroup
Type: CoreDevices..::.ChannelGroup
Aquisition instructions
CameraDevice
Type: System..::.String
Desired Camera
FocusDevice
Type: System..::.String
Stage or piezo
TimePerFrameMS
Type: System..::.Int64
Time from start of image to start of next image
FirstStackThenChannel
Type: System..::.Boolean
Determines if a stack is performed and then a channel. Or the channelgroup and then the next slice
DisplaySlices
Type: System..::.Boolean
Report each slice to viewer
CurrentSliceIsMiddle
Type: System..::.Boolean
If true then currentposition is middle Z of stack. If false current position is bottom of z stack
NumSlices
Type: System..::.Int32

[Missing <param name="NumSlices"/> documentation for "M:CoreDevices.AcquisitionEngine.RunZStackAcquisition(CoreDevices.ChannelGroup,System.String,System.String,System.Int64,System.Boolean,System.Boolean,System.Boolean,System.Int32,System.Double,System.Boolean,System.String,System.String)"]

SliceDistance
Type: System..::.Double
Distance between slices in microns
Save
Type: System..::.Boolean
optional to save raw image immediately instead of through viewer
SavePath
Type: System..::.String
Save Folder
Savefilename
Type: System..::.String
Filename

Implements

IAquisitionEngineCom..::.RunZStackAcquisition(ChannelGroup, String, String, Int64, Boolean, Boolean, Boolean, Int32, Double, Boolean, String, String)

See Also