Definition at line 548 of file Microscope.cs.
◆ GetPosition()
| short BioImager.TLShutter.GetPosition |
( |
| ) |
|
If the library path contains "MTB", then invoke the get_Position method on the tlShutter object. Otherwise, return the position variable
- Returns
- The position of the shutter.
Definition at line 557 of file Microscope.cs.
558 {
561 return (short)com.doubles[0];
562 }
◆ SetPosition()
| void BioImager.TLShutter.SetPosition |
( |
int | p | ) |
|
The function takes an integer as an argument and sets the position of the shutter to the value of the integer.
The function is called by the following line of code:
- Parameters
-
Definition at line 570 of file Microscope.cs.
571 {
572 if (Recorder.recordMicroscope)
573 Recorder.AddLine("Microscope.TLShutter.SetPosition(" + p + ");");
574 if (Properties.Settings.Default.LibPath.Contains("MTB"))
575 {
578 position = p;
579 }
580 if (Properties.Settings.Default.LibPath.Contains("Prio"))
581 {
582 if (p == 0)
583 Microscope.sdk.shutterClose();
584 else
585 Microscope.sdk.shutterOpen();
586 }
587 }
◆ position
| int BioImager.TLShutter.position |
|
static |
◆ tlShutter
| object BioImager.TLShutter.tlShutter = null |
|
static |
◆ tlType
| Type BioImager.TLShutter.tlType |
|
static |
The documentation for this class was generated from the following file: