BioImager  3.6.0
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
microscope._wrappers.mirao52e Namespace Reference

Functions

def prototype (name, argtypes, restype=Boolean)
 

Variables

 SDK = ctypes.WinDLL("mirao52e")
 
int TRUE = 1
 
int FALSE = 0
 
int NB_COMMAND_VALUES = 52
 
int OK = 0
 
 Boolean = ctypes.c_char
 
 Command = ctypes.POINTER(ctypes.c_double)
 
def open = prototype("mro_open", [])
 
def close = prototype("mro_close", [])
 
def applyCommand = prototype("mro_applyCommand", [Command, Boolean])
 

Function Documentation

◆ prototype()

def microscope._wrappers.mirao52e.prototype (   name,
  argtypes,
  restype = Boolean 
)

Definition at line 45 of file mirao52e.py.

45def prototype(name, argtypes, restype=Boolean):
46 func = getattr(SDK, name)
47 # All functions have 'int *' as the last argument for status.
48 func.argtypes = argtypes + [ctypes.POINTER(ctypes.c_int)]
49 func.restype = restype
50 return func
51
52

Variable Documentation

◆ applyCommand

def microscope._wrappers.mirao52e.applyCommand = prototype("mro_applyCommand", [Command, Boolean])

Definition at line 56 of file mirao52e.py.

◆ Boolean

microscope._wrappers.mirao52e.Boolean = ctypes.c_char

Definition at line 41 of file mirao52e.py.

◆ close

def microscope._wrappers.mirao52e.close = prototype("mro_close", [])

Definition at line 54 of file mirao52e.py.

◆ Command

microscope._wrappers.mirao52e.Command = ctypes.POINTER(ctypes.c_double)

Definition at line 42 of file mirao52e.py.

◆ FALSE

int microscope._wrappers.mirao52e.FALSE = 0

Definition at line 31 of file mirao52e.py.

◆ NB_COMMAND_VALUES

int microscope._wrappers.mirao52e.NB_COMMAND_VALUES = 52

Definition at line 35 of file mirao52e.py.

◆ OK

int microscope._wrappers.mirao52e.OK = 0

Definition at line 38 of file mirao52e.py.

◆ open

def microscope._wrappers.mirao52e.open = prototype("mro_open", [])

Definition at line 53 of file mirao52e.py.

◆ SDK

microscope._wrappers.mirao52e.SDK = ctypes.WinDLL("mirao52e")

Definition at line 27 of file mirao52e.py.

◆ TRUE

int microscope._wrappers.mirao52e.TRUE = 1

Definition at line 30 of file mirao52e.py.