BioImager  3.9.1
A .NET microscopy imaging library. Supports various microscopes by using imported libraries & GUI automation. Supported libraries include PriorĀ® & ZeissĀ® & all devices supported by Micromanager 2.0 and python-microscope.
Loading...
Searching...
No Matches
BioImager.RLShutter Class Reference

Public Member Functions

short GetPosition ()
 
void SetPosition (int p)
 

Static Public Attributes

static Type rlType
 
static object rlShutter = null
 

Detailed Description

Definition at line 617 of file Microscope.cs.

Member Function Documentation

◆ GetPosition()

short BioImager.RLShutter.GetPosition ( )

If the library path contains "MTB", then return the position of the shutter, otherwise return the position of the shutter

Returns
The position of the shutter.

Definition at line 626 of file Microscope.cs.

627 {
628 BioImager.MicroscopeConsole.Command com = BioImager.MicroscopeConsole.RunCommand
630 return (short)com.doubles[0];
631 }

◆ SetPosition()

void BioImager.RLShutter.SetPosition ( int  p)

The function takes an integer as an argument, and if the microscope is an MTB, it sets the position of the RLShutter to the value of the integer

Parameters
p

Definition at line 637 of file Microscope.cs.

638 {
639 if (Properties.Settings.Default.LibPath.Contains("MTB"))
640 {
641 BioImager.MicroscopeConsole.RunCommand(
642 new BioImager.MicroscopeConsole.Command(BioImager.MicroscopeConsole.Command.Type.SetRLShutter, new double[] { p }));
643 }
644 position = p;
645 if (Recorder.recordMicroscope)
646 Recorder.AddLine("Microscope.RLShutter.SetPosition(" + p + ");");
647 }

Member Data Documentation

◆ rlShutter

object BioImager.RLShutter.rlShutter = null
static

Definition at line 620 of file Microscope.cs.

◆ rlType

Type BioImager.RLShutter.rlType
static

Definition at line 619 of file Microscope.cs.


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