BioImager  5.0.0
A .NET microscopy imaging application based on Bio library. Supports various microscopes by using imported libraries & GUI automation. Supports XInput game controllers to move stage, take images, run ImageJ macros on images or Bio C# scripts.
Loading...
Searching...
No Matches
BioImager.MicroManager.Shutters Class Reference

Classes

class  Shutter
 

Static Public Member Functions

static void Initialize ()
 
static int GetPosition (string shutterName)
 
static void SetPosition (string shutterName, int state)
 

Static Public Attributes

static List< Shutter > List = new List<Shutter>()
 

Detailed Description

Definition at line 227 of file MicroManager.cs.

Member Function Documentation

◆ GetPosition()

static int BioImager.MicroManager.Shutters.GetPosition ( string shutterName)
static

Definition at line 252 of file MicroManager.cs.

253 {
254 if (core.getShutterOpen())
255 return 1;
256 else
257 return 0;
258 }
static mmcorej.CMMCore core

◆ Initialize()

static void BioImager.MicroManager.Shutters.Initialize ( )
static

Definition at line 238 of file MicroManager.cs.

239 {
240 if (Config.ContainsKey("Device"))
241 {
242 //We get the name of the shutters.
243 foreach (Conf item in Config["Device"])
244 {
245 if (item.Values.Last().Contains("Shutter"))
246 {
247 List.Add(new Shutter(item.Type));
248 }
249 }
250 }
251 }
static List< Shutter > List
static Dictionary< string, List< Conf > > Config

◆ SetPosition()

static void BioImager.MicroManager.Shutters.SetPosition ( string shutterName,
int state )
static

Definition at line 259 of file MicroManager.cs.

260 {
261 if(state == 1)
262 core.setShutterOpen(shutterName, true);
263 else
264 core.setShutterOpen(shutterName, false);
265 }

Member Data Documentation

◆ List

List<Shutter> BioImager.MicroManager.Shutters.List = new List<Shutter>()
static

Definition at line 237 of file MicroManager.cs.


The documentation for this class was generated from the following file: