public class CMMCore
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
swigCMemOwn |
| Modifier | Constructor and Description |
|---|---|
|
CMMCore()
Constructor.
|
protected |
CMMCore(long cPtr,
boolean cMemoryOwn) |
| Modifier and Type | Method and Description |
|---|---|
void |
addGalvoPolygonVertex(java.lang.String galvoLabel,
int polygonIndex,
double x,
double y) |
void |
clearCircularBuffer()
Removes all images from the circular buffer.
|
void |
clearROI()
Set the region of interest of the current camera to the full frame.
|
boolean |
debugLogEnabled()
Indicates if logging of debug messages is enabled
|
void |
defineConfig(java.lang.String groupName,
java.lang.String configName)
Defines a configuration.
|
void |
defineConfig(java.lang.String groupName,
java.lang.String configName,
java.lang.String deviceLabel,
java.lang.String propName,
java.lang.String value) |
void |
defineConfigGroup(java.lang.String groupName)
Creates an empty configuration group.
|
void |
definePixelSizeConfig(java.lang.String resolutionID)
Defines an empty pixel size entry.
|
void |
definePixelSizeConfig(java.lang.String resolutionID,
java.lang.String deviceLabel,
java.lang.String propName,
java.lang.String value) |
void |
defineStateLabel(java.lang.String stateDeviceLabel,
int state,
java.lang.String stateLabel) |
void |
delete() |
void |
deleteConfig(java.lang.String groupName,
java.lang.String configName)
Deletes a configuration from a group.
|
void |
deleteConfig(java.lang.String groupName,
java.lang.String configName,
java.lang.String deviceLabel,
java.lang.String propName) |
void |
deleteConfigGroup(java.lang.String groupName)
Deletes an entire configuration group.
|
void |
deleteGalvoPolygons(java.lang.String galvoLabel)
Remove all added polygons
|
void |
deletePixelSizeConfig(java.lang.String configName)
Deletes a pixel size configuration.
|
DeviceDetectionStatus |
detectDevice(java.lang.String deviceLabel)
Tries to communicate to a device through a given serial port Used to automate discovery of correct serial port Also configures the serial port correctly
|
boolean |
deviceBusy(java.lang.String label)
Checks the busy status of the specific device.
|
boolean |
deviceTypeBusy(DeviceType devType)
Checks the busy status for all devices of the specific type.
|
void |
displaySLMImage(java.lang.String slmLabel)
Display the waiting image on the SLM.
|
void |
enableContinuousFocus(boolean enable)
Enables or disables the operation of the continuous focusing hardware device.
|
void |
enableDebugLog(boolean enable)
Enable or disable logging of debug messages.
|
static void |
enableFeature(java.lang.String name,
boolean enable)
Enable or disable the given Core feature.
|
void |
enableStderrLog(boolean enable)
Enables or disables log message display on the standard console.
|
protected void |
finalize() |
void |
fullFocus()
Performs focus acquisition and lock for the one-shot focusing device.
|
StrVector |
getAllowedPropertyValues(java.lang.String label,
java.lang.String propName)
Returns all valid values for the specified property.
|
java.lang.String |
getAPIVersionInfo()
Returns the module and device interface versions.
|
java.lang.String |
getAutoFocusDevice()
Returns the label of the currently selected auto-focus device.
|
double |
getAutoFocusOffset()
Measures offset for the one-shot focusing device.
|
boolean |
getAutoShutter()
Returns the current setting of the auto-shutter option.
|
StrVector |
getAvailableConfigGroups()
Returns the names of all defined configuration groups
|
StrVector |
getAvailableConfigs(java.lang.String configGroup)
Returns all defined configuration names in a given group
|
StrVector |
getAvailableDeviceDescriptions(java.lang.String library)
Get descriptions for available devices from the specified library.
|
StrVector |
getAvailableDevices(java.lang.String library)
Get available devices from the specified device library.
|
LongVector |
getAvailableDeviceTypes(java.lang.String library)
Get type information for available devices from the specified library.
|
StrVector |
getAvailablePixelSizeConfigs()
Returns all defined resolution preset names
|
int |
getBufferFreeCapacity()
Returns the number of images that can be added to the buffer without overflowing
|
int |
getBufferTotalCapacity()
Returns the total number of images that can be stored in the buffer
|
long |
getBytesPerPixel()
How many bytes for each pixel.
|
java.lang.String |
getCameraChannelName(long channelNr)
Returns the name of the requested channel as known by the default camera
|
java.lang.String |
getCameraDevice()
Returns the label of the currently selected camera device.
|
java.lang.String |
getChannelGroup()
Returns the group determining the channel selection.
|
long |
getCircularBufferMemoryFootprint()
Returns the size of the Circular Buffer in MB
|
Configuration |
getConfigData(java.lang.String configGroup,
java.lang.String configName)
Returns the configuration object for a given group and name.
|
Configuration |
getConfigGroupState(java.lang.String group)
Returns the partial state of the system, only for the devices included in the specified group.
|
Configuration |
getConfigGroupStateFromCache(java.lang.String group)
Returns the partial state of the system cache, only for the devices included in the specified group.
|
Configuration |
getConfigState(java.lang.String group,
java.lang.String config)
Returns a partial state of the system, only for devices included in the specified configuration.
|
java.lang.String |
getCoreErrorText(int code)
Returns a pre-defined error test with the given error code
|
protected static long |
getCPtr(CMMCore obj) |
java.lang.String |
getCurrentConfig(java.lang.String groupName)
Returns the current configuration for a given group.
|
java.lang.String |
getCurrentConfigFromCache(java.lang.String groupName)
Returns the configuration for a given group based on the data in the cache.
|
double |
getCurrentFocusScore()
Returns the focus score from the default focusing device measured at the current Z position.
|
java.lang.String |
getCurrentPixelSizeConfig()
Get the current pixel configuration name
|
java.lang.String |
getCurrentPixelSizeConfig(boolean cached)
Get the current pixel configuration name
|
StrVector |
getDeviceAdapterNames()
Return the names of discoverable device adapters.
|
StrVector |
getDeviceAdapterSearchPaths()
Return the current device adapter search paths.
|
double |
getDeviceDelayMs(java.lang.String label)
Reports action delay in milliseconds for the specific device.
|
java.lang.String |
getDeviceDescription(java.lang.String label)
Returns description text for a given device label.
|
DeviceInitializationState |
getDeviceInitializationState(java.lang.String label)
Queries the initialization state of the given device.
|
java.lang.String |
getDeviceLibrary(java.lang.String label)
Returns device library (aka module, device adapter) name.
|
java.lang.String |
getDeviceName(java.lang.String label)
Returns device name for a given device label.
|
StrVector |
getDevicePropertyNames(java.lang.String label)
Returns all property names supported by the device.
|
DeviceType |
getDeviceType(java.lang.String label)
Returns device type.
|
double |
getExposure()
Returns the current exposure setting of the camera in milliseconds.
|
double |
getExposure(java.lang.String label)
Returns the current exposure setting of the specified camera in milliseconds.
|
int |
getExposureSequenceMaxLength(java.lang.String cameraLabel)
Gets the maximum length of a camera's exposure sequence.
|
java.lang.String |
getFocusDevice()
Returns the label of the currently selected focus device.
|
int |
getFocusDirection(java.lang.String stageLabel)
Get the focus direction of a stage.
|
java.lang.String |
getGalvoChannel(java.lang.String galvoLabel)
Get the name of the active galvo channel (for a multi-laser galvo device).
|
java.lang.String |
getGalvoDevice()
Returns the label of the currently selected Galvo device.
|
java.awt.geom.Point2D.Double |
getGalvoPosition(java.lang.String galvoDevice) |
void |
getGalvoPosition(java.lang.String galvoLabel,
double[] x_stage,
double[] y_stage) |
double |
getGalvoXMinimum(java.lang.String galvoLabel)
Get the Galvo x minimum
|
double |
getGalvoXRange(java.lang.String galvoLabel)
Get the Galvo x range
|
double |
getGalvoYMinimum(java.lang.String galvoLabel)
Get the Galvo y minimum
|
double |
getGalvoYRange(java.lang.String galvoLabel)
Get the Galvo y range
|
java.lang.Object |
getImage()
Exposes the internal image buffer.
|
java.lang.Object |
getImage(long numChannel)
Returns the internal image buffer for a given Camera Channel
|
long |
getImageBitDepth()
How many bits of dynamic range are to be expected from the camera.
|
int |
getImageBufferSize()
Returns the size of the internal image buffer.
|
long |
getImageHeight()
Vertical dimension of the image buffer in pixels.
|
java.lang.String |
getImageProcessorDevice()
Returns the label of the currently selected image processor device.
|
long |
getImageWidth()
Horizontal dimension of the image buffer in pixels.
|
boolean |
getIncludeSystemStateCache() |
java.lang.String |
getInstalledDeviceDescription(java.lang.String hubLabel,
java.lang.String peripheralLabel) |
StrVector |
getInstalledDevices(java.lang.String hubLabel)
Performs auto-detection and loading of child devices that are attached to a Hub device.
|
double |
getLastFocusScore()
Returns the latest focus score from the focusing device.
|
java.lang.Object |
getLastImage()
Gets the last image from the circular buffer.
|
java.lang.Object |
getLastImageMD(long channel,
long slice,
Metadata md) |
java.lang.Object |
getLastImageMD(Metadata md)
Returns a pointer to the pixels of the image that was last inserted into the circular buffer Also provides all metadata associated with that image
|
TaggedImage |
getLastTaggedImage() |
TaggedImage |
getLastTaggedImage(int cameraChannelIndex) |
StrVector |
getLoadedDevices()
Returns an array of labels for currently loaded devices.
|
StrVector |
getLoadedDevicesOfType(DeviceType devType)
Returns an array of labels for currently loaded devices of specific type.
|
StrVector |
getLoadedPeripheralDevices(java.lang.String hubLabel) |
double |
getMagnificationFactor()
Returns the product of all Magnifiers in the system or 1.0 when none is found This is used internally by getPixelSizeUm
|
static int |
getMMCoreVersionMajor()
Returns the MMCore major version number.
|
static int |
getMMCoreVersionMinor()
Returns the MMCore minor version number.
|
static int |
getMMCoreVersionPatch()
Returns the MMCore patch version number.
|
static int |
getMMDeviceDeviceInterfaceVersion()
Returns the MMDevice device interface version number.
|
static int |
getMMDeviceModuleInterfaceVersion()
Returns the MMDevice module interface version number.
|
java.util.List<java.awt.Rectangle> |
getMultiROI() |
void |
getMultiROI(UnsignedVector xs,
UnsignedVector ys,
UnsignedVector widths,
UnsignedVector heights) |
java.lang.Object |
getNBeforeLastImageMD(long n,
Metadata md)
Returns a pointer to the pixels of the image that was inserted n images ago Also provides all metadata associated with that image
|
TaggedImage |
getNBeforeLastTaggedImage(long n) |
long |
getNumberOfCameraChannels()
Returns the number of simultaneous channels the default camera is returning.
|
long |
getNumberOfComponents()
Returns the number of components the default camera is returning.
|
int |
getNumberOfStates(java.lang.String stateDeviceLabel)
Returns the total number of available positions (states).
|
java.lang.String |
getParentLabel(java.lang.String peripheralLabel)
Returns parent device.
|
DoubleVector |
getPixelSizeAffine()
Returns the current Affine Transform to related camera pixels with stage movement..
|
DoubleVector |
getPixelSizeAffine(boolean cached)
Returns the current Affine Transform to related camera pixels with stage movement..
|
java.lang.String |
getPixelSizeAffineAsString()
Convenience function.
|
DoubleVector |
getPixelSizeAffineByID(java.lang.String resolutionID)
Returns the Affine Transform to related camera pixels with stage movement for the requested pixel size group The raw affine transform without correction for binning and magnification will be returned.
|
Configuration |
getPixelSizeConfigData(java.lang.String configName)
Returns the configuration object for a give pixel size preset.
|
double |
getPixelSizedxdz()
Returns the angle between the camera's x axis and the axis (direction) of the z drive.
|
double |
getPixelSizedxdz(boolean cached)
Returns the angle between the camera's x axis and the axis (direction) of the z drive for the given pixel size configuration.
|
double |
getPixelSizedxdz(java.lang.String resolutionID)
Returns the angle between the camera's x axis and the axis (direction) of the z drive for the given pixel size configuration.
|
double |
getPixelSizedydz()
Returns the angle between the camera's y axis and the axis (direction) of the z drive.
|
double |
getPixelSizedydz(boolean cached)
Returns the angle between the camera's y axis and the axis (direction) of the z drive for the given pixel size configuration.
|
double |
getPixelSizedydz(java.lang.String resolutionID)
Returns the angle between the camera's y axis and the axis (direction) of the z drive for the given pixel size configuration.
|
double |
getPixelSizeOptimalZUm()
Returns the optimal z step size in um There is no magic to this number, but lets the system configuration communicate to the end user what the optimal Z step size is for this pixel size configuration
|
double |
getPixelSizeOptimalZUm(boolean cached)
Returns the optimal z step size in um, optionally using cached pixel configuration There is no magic to this number, but lets the system configuration communicate to the end user what the optimal Z step size is for this pixel size configuration
|
double |
getPixelSizeOptimalZUm(java.lang.String resolutionID)
Returns the optimal z step size in um, optionally using cached pixel configuration There is no magic to this number, but lets the system configuration communicate to the end user what the optimal Z step size is for this pixel size configuration
|
double |
getPixelSizeUm()
Returns the current pixel size in microns.
|
double |
getPixelSizeUm(boolean cached)
Returns the current pixel size in microns.
|
double |
getPixelSizeUmByID(java.lang.String resolutionID)
Returns the pixel size in um for the requested pixel size group
|
double |
getPosition()
Returns the current position of the stage in microns.
|
double |
getPosition(java.lang.String stageLabel)
Returns the current position of the stage in microns.
|
java.lang.String |
getPrimaryLogFile()
Return the name of the primary Core log file.
|
java.lang.String |
getProperty(java.lang.String label,
java.lang.String propName)
Returns the property value for the specified device.
|
java.lang.String |
getPropertyFromCache(java.lang.String deviceLabel,
java.lang.String propName)
Returns the cached property value for the specified device.
|
double |
getPropertyLowerLimit(java.lang.String label,
java.lang.String propName)
Returns the property lower limit value, if the property has limits - 0 otherwise.
|
int |
getPropertySequenceMaxLength(java.lang.String label,
java.lang.String propName)
Queries device property for the maximum number of events that can be put in a sequence
|
PropertyType |
getPropertyType(java.lang.String label,
java.lang.String propName)
Returns the intrinsic property type.
|
double |
getPropertyUpperLimit(java.lang.String label,
java.lang.String propName)
Returns the property upper limit value, if the property has limits - 0 otherwise.
|
double |
getPumpFlowrate(java.lang.String pumpLabel)
Gets the flowrate of the pump in uL per second
|
double |
getPumpMaxVolume(java.lang.String pumpLabel)
Gets the max volume of the pump in uL
|
double |
getPumpPressureKPa(java.lang.String pumplabel)
Gets the pressure of the pump in kPa
|
double |
getPumpVolume(java.lang.String pumpLabel)
Get the fluid volume in the pump in uL
|
int |
getRemainingImageCount()
Returns number ofimages available in the Circular Buffer
|
java.awt.Rectangle |
getROI() |
void |
getROI(int[] x,
int[] y,
int[] xSize,
int[] ySize) |
java.awt.Rectangle |
getROI(java.lang.String label) |
void |
getROI(java.lang.String label,
int[] x,
int[] y,
int[] xSize,
int[] ySize) |
java.lang.String |
getSerialPortAnswer(java.lang.String portLabel,
java.lang.String term)
Continuously read from the serial port until the terminating sequence is encountered.
|
java.lang.String |
getShutterDevice()
Returns the label of the currently selected shutter device.
|
boolean |
getShutterOpen()
Returns the state of the currently selected (default) shutter.
|
boolean |
getShutterOpen(java.lang.String shutterLabel)
Returns the state of the specified shutter.
|
long |
getSLMBytesPerPixel(java.lang.String slmLabel)
Returns the number of bytes per SLM pixel
|
java.lang.String |
getSLMDevice()
Returns the label of the currently selected SLM device.
|
double |
getSLMExposure(java.lang.String slmLabel)
Returns the exposure time that will be used by the SLM for illumination
|
long |
getSLMHeight(java.lang.String slmLabel)
Returns the height (in "pixels") of the SLM
|
long |
getSLMNumberOfComponents(java.lang.String slmLabel)
Returns the number of components (usually these depict colors) of the SLM For instance, an RGB projector will return 3, but a grey scale SLM returns 1
|
int |
getSLMSequenceMaxLength(java.lang.String slmLabel)
For SLMs that support sequences, returns the maximum length of the sequence that can be uploaded to the device
|
long |
getSLMWidth(java.lang.String slmLabel)
Returns the width (in "pixels") of the SLM
|
int |
getStageSequenceMaxLength(java.lang.String stageLabel)
Gets the maximum length of a stage's position sequence.
|
int |
getState(java.lang.String stateDeviceLabel)
Returns the current state (position) on the specific device.
|
int |
getStateFromLabel(java.lang.String stateDeviceLabel,
java.lang.String stateLabel)
Obtain the state for a given label.
|
java.lang.String |
getStateLabel(java.lang.String stateDeviceLabel)
Returns the current state as the label (string).
|
StrVector |
getStateLabels(java.lang.String stateDeviceLabel)
Return labels for all states
|
Configuration |
getSystemState()
Returns the entire system state, i.e.
|
Configuration |
getSystemStateCache()
Returns the entire system state, i.e.
|
TaggedImage |
getTaggedImage() |
TaggedImage |
getTaggedImage(int cameraChannelIndex) |
int |
getTimeoutMs() |
java.lang.String |
getVersionInfo()
Displays core version.
|
double |
getXPosition()
Obtains the current position of the X axis of the XY stage in microns.
|
double |
getXPosition(java.lang.String xyStageLabel)
Obtains the current position of the X axis of the XY stage in microns.
|
void |
getXYPosition(double[] x_stage,
double[] y_stage)
Obtains the current position of the XY stage in microns.
|
void |
getXYPosition(java.lang.String xyStageLabel,
double[] x_stage,
double[] y_stage) |
java.lang.String |
getXYStageDevice()
Returns the label of the currently selected XYStage device.
|
java.awt.geom.Point2D.Double |
getXYStagePosition()
Convenience function: returns the current XY position of the current
XY stage device as a Point2D.Double.
|
java.awt.geom.Point2D.Double |
getXYStagePosition(java.lang.String stage) |
int |
getXYStageSequenceMaxLength(java.lang.String xyStageLabel)
Gets the maximum length of an XY stage's position sequence.
|
double |
getYPosition()
Obtains the current position of the Y axis of the XY stage in microns.
|
double |
getYPosition(java.lang.String xyStageLabel)
Obtains the current position of the Y axis of the XY stage in microns.
|
boolean |
hasProperty(java.lang.String label,
java.lang.String propName)
Checks if device has a property with a specified name.
|
boolean |
hasPropertyLimits(java.lang.String label,
java.lang.String propName)
Queries device if the specific property has limits.
|
void |
home(java.lang.String xyOrZStageLabel)
Perform a hardware homing operation for an XY or focus/Z stage.
|
void |
incrementalFocus()
Performs incremental focus for the one-shot focusing device.
|
void |
initializeAllDevices()
Calls Initialize() method for each loaded device.
|
void |
initializeCircularBuffer()
Initialize circular buffer based on the current camera settings.
|
void |
initializeDevice(java.lang.String label)
Initializes specific device.
|
void |
invertPumpDirection(java.lang.String pumpLabel,
boolean invert)
Sets whether the pump direction needs to be inverted
|
boolean |
isBufferOverflowed()
Indicates whether the circular buffer is overflowed
|
boolean |
isConfigDefined(java.lang.String groupName,
java.lang.String configName)
Checks if the configuration already exists within a group.
|
boolean |
isContinuousFocusDrive(java.lang.String stageLabel)
Check if a stage has continuous focusing capability (positions can be set while continuous focus runs).
|
boolean |
isContinuousFocusEnabled()
Checks if the continuous focusing hardware device is ON or OFF.
|
boolean |
isContinuousFocusLocked()
Returns the lock-in status of the continuous focusing device.
|
boolean |
isExposureSequenceable(java.lang.String cameraLabel)
Queries camera if exposure can be used in a sequence
|
static boolean |
isFeatureEnabled(java.lang.String name)
Return whether the given Core feature is currently enabled.
|
boolean |
isGroupDefined(java.lang.String groupName)
Checks if the group already exists.
|
boolean |
isMultiROIEnabled()
Queries the camera to determine if multiple ROIs are currently set.
|
boolean |
isMultiROISupported()
Queries the camera to determine if it supports multiple ROIs.
|
boolean |
isPixelSizeConfigDefined(java.lang.String resolutionID)
Checks if the Pixel Size Resolution already exists
|
boolean |
isPropertyPreInit(java.lang.String label,
java.lang.String propName)
Tells us whether the property must be defined prior to initialization.
|
boolean |
isPropertyReadOnly(java.lang.String label,
java.lang.String propName)
Tells us whether the property can be modified.
|
boolean |
isPropertySequenceable(java.lang.String label,
java.lang.String propName)
Queries device if the specified property can be used in a sequence
|
boolean |
isPumpDirectionInverted(java.lang.String pumpLabel)
Gets whether the pump direction needs to be inverted
|
boolean |
isSequenceRunning()
Check if the current camera is acquiring the sequence Returns false when the sequence is done
|
boolean |
isSequenceRunning(java.lang.String cameraLabel)
Check if the specified camera is acquiring the sequence Returns false when the sequence is done
|
boolean |
isStageLinearSequenceable(java.lang.String stageLabel)
Queries if the stage can be used in a linear sequence A linear sequence is defined by a stepsize and number of slices
|
boolean |
isStageSequenceable(java.lang.String stageLabel)
Queries stage if it can be used in a sequence
|
boolean |
isXYStageSequenceable(java.lang.String xyStageLabel)
Queries XY stage if it can be used in a sequence
|
void |
loadDevice(java.lang.String label,
java.lang.String moduleName,
java.lang.String deviceName) |
void |
loadExposureSequence(java.lang.String cameraLabel,
DoubleVector exposureSequence_ms)
Transfer a sequence of exposure times to the camera.
|
void |
loadGalvoPolygons(java.lang.String galvoLabel)
Load a set of galvo polygons to the device
|
void |
loadPropertySequence(java.lang.String label,
java.lang.String propName,
StrVector eventSequence) |
void |
loadSLMSequence(java.lang.String slmLabel,
java.util.List<byte[]> imageSequence)
Load a sequence of images into the SLM
|
void |
loadStageSequence(java.lang.String stageLabel,
DoubleVector positionSequence)
Transfer a sequence of events/states/whatever to the device This should only be called for device-properties that are sequenceable
|
void |
loadSystemConfiguration(java.lang.String fileName)
Loads the system configuration from the text file conforming to the MM specific format.
|
void |
loadSystemState(java.lang.String fileName)
Loads the system configuration from the text file conforming to the MM specific format.
|
void |
loadXYStageSequence(java.lang.String xyStageLabel,
DoubleVector xSequence,
DoubleVector ySequence) |
void |
logMessage(java.lang.String msg)
Record text message in the log file.
|
void |
logMessage(java.lang.String msg,
boolean debugOnly)
Record text message in the log file.
|
static void |
noop()
A static method that does nothing.
|
void |
pointGalvoAndFire(java.lang.String galvoLabel,
double x,
double y,
double pulseTime_us) |
java.lang.Object |
popNextImage()
Gets and removes the next image from the circular buffer.
|
java.lang.Object |
popNextImageMD(long channel,
long slice,
Metadata md) |
java.lang.Object |
popNextImageMD(Metadata md)
Gets and removes the next image (and metadata) from the circular buffer
|
TaggedImage |
popNextTaggedImage() |
TaggedImage |
popNextTaggedImage(int cameraChannelIndex) |
void |
prepareSequenceAcquisition(java.lang.String cameraLabel)
Prepare the camera for the sequence acquisition to save the time in the StartSequenceAcqusition() call which is supposed to come next.
|
void |
pressurePumpCalibrate(java.lang.String pumpLabel)
Calibrates the pump
|
boolean |
pressurePumpRequiresCalibration(java.lang.String pumpLabel)
Returns boolean whether the pump is operational before calibration
|
void |
pressurePumpStop(java.lang.String pumpLabel)
Stops the pressure pump
|
void |
pumpDispenseDurationSeconds(java.lang.String pumpLabel,
double seconds)
Dispenses for the provided duration (in seconds) at the set flowrate
|
void |
pumpDispenseVolumeUl(java.lang.String pumpLabel,
double microLiter)
Dispenses the provided volume (in uL) at the set flowrate
|
void |
pumpStart(java.lang.String pumpLabel)
Start dispensing at the set flowrate until syringe is empty, or manually stopped (whichever occurs first).
|
CharVector |
readFromSerialPort(java.lang.String portLabel)
Reads the contents of the Rx buffer.
|
void |
registerCallback(MMEventCallback cb)
Register a callback (listener class).
|
void |
renameConfig(java.lang.String groupName,
java.lang.String oldConfigName,
java.lang.String newConfigName) |
void |
renameConfigGroup(java.lang.String oldGroupName,
java.lang.String newGroupName)
Renames a configuration group.
|
void |
renamePixelSizeConfig(java.lang.String oldConfigName,
java.lang.String newConfigName)
Renames a pixel size configuration.
|
void |
reset()
Unloads all devices from the core, clears all configuration data.
|
void |
runGalvoPolygons(java.lang.String galvoLabel)
Run a loop of galvo polygons
|
void |
runGalvoSequence(java.lang.String galvoLabel)
Run a sequence of galvo positions
|
void |
saveSystemConfiguration(java.lang.String fileName)
Saves the current system configuration to a text file of the MM specific format.
|
void |
saveSystemState(java.lang.String fileName)
Saves the current system state to a text file of the MM specific format.
|
void |
setAdapterOrigin(double newZUm)
Enable software translation of coordinates for the current focus/Z stage.
|
void |
setAdapterOrigin(java.lang.String stageLabel,
double newZUm)
Enable software translation of coordinates for the given focus/Z stage.
|
void |
setAdapterOriginXY(double newXUm,
double newYUm)
Enable software translation of coordinates for the current XY stage.
|
void |
setAdapterOriginXY(java.lang.String xyStageLabel,
double newXUm,
double newYUm) |
void |
setAutoFocusDevice(java.lang.String focusLabel)
Sets the current auto-focus device.
|
void |
setAutoFocusOffset(double offset)
Applies offset the one-shot focusing device.
|
void |
setAutoShutter(boolean state)
If this option is enabled Shutter automatically opens and closes when the image is acquired.
|
void |
setCameraDevice(java.lang.String cameraLabel)
Sets the current camera device.
|
void |
setChannelGroup(java.lang.String channelGroup)
Specifies the group determining the channel selection.
|
void |
setCircularBufferMemoryFootprint(long sizeMB)
Reserve memory for the circular buffer.
|
void |
setConfig(java.lang.String groupName,
java.lang.String configName)
Applies a configuration to a group.
|
void |
setDeviceAdapterSearchPaths(StrVector paths)
Set the device adapter search paths.
|
void |
setDeviceDelayMs(java.lang.String label,
double delayMs)
Overrides the built-in value for the action delay.
|
void |
setExposure(double exp)
Sets the exposure setting of the current camera in milliseconds.
|
void |
setExposure(java.lang.String cameraLabel,
double dExp)
Sets the exposure setting of the specified camera in milliseconds.
|
void |
setFocusDevice(java.lang.String focusLabel)
Sets the current focus device.
|
void |
setFocusDirection(java.lang.String stageLabel,
int sign)
Set the focus direction of a stage.
|
void |
setGalvoDevice(java.lang.String galvoLabel)
Sets the current galvo device.
|
void |
setGalvoIlluminationState(java.lang.String galvoLabel,
boolean on)
Set the galvo's illumination state to on or off
|
void |
setGalvoPolygonRepetitions(java.lang.String galvoLabel,
int repetitions)
Set the number of times to loop galvo polygons
|
void |
setGalvoPosition(java.lang.String galvoLabel,
double x,
double y) |
void |
setGalvoSpotInterval(java.lang.String galvoLabel,
double pulseTime_us) |
void |
setImageProcessorDevice(java.lang.String procLabel)
Sets the current image processor device.
|
void |
setIncludeSystemStateCache(boolean state) |
void |
setMultiROI(java.util.List<java.awt.Rectangle> rects) |
void |
setMultiROI(UnsignedVector xs,
UnsignedVector ys,
UnsignedVector widths,
UnsignedVector heights) |
void |
setOrigin()
Zero the current focus/Z stage's coordinates at the current position.
|
void |
setOrigin(java.lang.String stageLabel)
Zero the given focus/Z stage's coordinates at the current position.
|
void |
setOriginX()
Zero the given XY stage's X coordinate at the current position.
|
void |
setOriginX(java.lang.String xyStageLabel)
Zero the given XY stage's X coordinate at the current position.
|
void |
setOriginXY()
Zero the current XY stage's coordinates at the current position.
|
void |
setOriginXY(java.lang.String xyStageLabel)
Zero the given XY stage's coordinates at the current position.
|
void |
setOriginY()
Zero the given XY stage's Y coordinate at the current position.
|
void |
setOriginY(java.lang.String xyStageLabel)
Zero the given XY stage's Y coordinate at the current position.
|
void |
setParentLabel(java.lang.String deviceLabel,
java.lang.String parentHubLabel)
Sets parent device label
|
void |
setPixelSizeAffine(java.lang.String resolutionID,
DoubleVector affine)
Sets the raw affine transform for the specific pixel size configuration The affine transform consists of the first two rows of a 3x3 matrix, the third row is alsways assumed to be 0.0 0.0 1.0.
|
void |
setPixelSizeConfig(java.lang.String resolutionID)
Applies a Pixel Size Configuration.
|
void |
setPixelSizedxdz(java.lang.String resolutionID,
double dXdZ)
Sets the angle between the camera's x axis and the axis (direction) of the z drive.
|
void |
setPixelSizedydz(java.lang.String resolutionID,
double dYdZ)
Sets the angle between the camera's y axis and the axis (direction) of the z drive.
|
void |
setPixelSizeOptimalZUm(java.lang.String resolutionID,
double optimalZ)
Sets the opimal Z stepSize (in microns).
|
void |
setPixelSizeUm(java.lang.String resolutionID,
double pixSize)
Sets pixel size in microns for the specified resolution sensing configuration preset.
|
void |
setPosition(double position)
Sets the position of the stage in microns.
|
void |
setPosition(java.lang.String stageLabel,
double position)
Sets the position of the stage in microns.
|
void |
setPrimaryLogFile(java.lang.String filename) |
void |
setPrimaryLogFile(java.lang.String filename,
boolean truncate)
Set the primary Core log file.
|
void |
setProperty(java.lang.String label,
java.lang.String propName,
boolean propValue) |
void |
setProperty(java.lang.String label,
java.lang.String propName,
double propValue) |
void |
setProperty(java.lang.String label,
java.lang.String propName,
float propValue) |
void |
setProperty(java.lang.String label,
java.lang.String propName,
int propValue) |
void |
setProperty(java.lang.String label,
java.lang.String propName,
java.lang.String propValue) |
void |
setPumpFlowrate(java.lang.String pumpLabel,
double volume)
Sets the flowrate of the pump in uL per second
|
void |
setPumpMaxVolume(java.lang.String pumpLabel,
double volume)
Sets the max volume of the pump in uL
|
void |
setPumpPressureKPa(java.lang.String pumplabel,
double pressure)
Sets the pressure of the pump in kPa
|
void |
setPumpVolume(java.lang.String pumpLabel,
double volume)
Sets the volume of fluid in the pump in uL.
|
void |
setRelativePosition(double d)
Sets the relative position of the stage in microns.
|
void |
setRelativePosition(java.lang.String stageLabel,
double d)
Sets the relative position of the stage in microns.
|
void |
setRelativeXYPosition(double dx,
double dy)
Sets the relative position of the XY stage in microns.
|
void |
setRelativeXYPosition(java.lang.String xyStageLabel,
double dx,
double dy) |
void |
setROI(int x,
int y,
int xSize,
int ySize) |
void |
setROI(java.lang.String label,
int x,
int y,
int xSize,
int ySize) |
void |
setSerialPortCommand(java.lang.String portLabel,
java.lang.String command,
java.lang.String term) |
void |
setSerialProperties(java.lang.String portName,
java.lang.String answerTimeout,
java.lang.String baudRate,
java.lang.String delayBetweenCharsMs,
java.lang.String handshaking,
java.lang.String parity,
java.lang.String stopBits) |
void |
setShutterDevice(java.lang.String shutterLabel)
Sets the current shutter device.
|
void |
setShutterOpen(boolean state)
Opens or closes the currently selected (default) shutter.
|
void |
setShutterOpen(java.lang.String shutterLabel,
boolean state)
Opens or closes the specified shutter.
|
void |
setSLMDevice(java.lang.String slmLabel)
Sets the current slm device.
|
void |
setSLMExposure(java.lang.String slmLabel,
double exposure_ms)
For SLM devices with build-in light source (such as projectors) this will set the exposure time, but not (yet) start the illumination
|
void |
setSLMImage(java.lang.String slmLabel,
byte[] pixels)
Write an 8-bit monochrome image to the SLM.
|
void |
setSLMImage(java.lang.String slmLabel,
int[] pixels)
Write an 8-bit monochrome image to the SLM.
|
void |
setSLMPixelsTo(java.lang.String slmLabel,
short intensity)
Set all SLM pixels to a single 8-bit intensity.
|
void |
setSLMPixelsTo(java.lang.String slmLabel,
short red,
short green,
short blue) |
void |
setStageLinearSequence(java.lang.String stageLabel,
double dZ_um,
int nSlices) |
void |
setState(java.lang.String stateDeviceLabel,
int state)
Sets the state (position) on the specific device.
|
void |
setStateLabel(java.lang.String stateDeviceLabel,
java.lang.String stateLabel)
Sets device state using the previously assigned label (string).
|
void |
setSystemState(Configuration conf)
Sets all properties contained in the Configuration object.
|
void |
setTimeoutMs(int timeoutMs) |
void |
setXYPosition(double x,
double y)
Sets the position of the XY stage in microns.
|
void |
setXYPosition(java.lang.String xyStageLabel,
double x,
double y) |
void |
setXYStageDevice(java.lang.String xyStageLabel)
Sets the current XY device.
|
void |
sleep(double intervalMs)
Waits (blocks the calling thread) for specified time in milliseconds.
|
void |
snapImage()
Acquires a single image with current settings.
|
void |
startContinuousSequenceAcquisition(double intervalMs)
Starts the continuous camera sequence acquisition.
|
void |
startExposureSequence(java.lang.String cameraLabel)
Starts an ongoing sequence of triggered exposures in a camera This should only be called for cameras where exposure time is sequenceable
|
void |
startPropertySequence(java.lang.String label,
java.lang.String propName)
Starts an ongoing sequence of triggered events in a property of a device This should only be called for device-properties that are sequenceable
|
int |
startSecondaryLogFile(java.lang.String filename,
boolean enableDebug) |
int |
startSecondaryLogFile(java.lang.String filename,
boolean enableDebug,
boolean truncate) |
int |
startSecondaryLogFile(java.lang.String filename,
boolean enableDebug,
boolean truncate,
boolean synchronous) |
void |
startSequenceAcquisition(int numImages,
double intervalMs,
boolean stopOnOverflow) |
void |
startSequenceAcquisition(java.lang.String cameraLabel,
int numImages,
double intervalMs,
boolean stopOnOverflow) |
void |
startSLMSequence(java.lang.String slmLabel)
Starts the sequence previously uploaded to the SLM
|
void |
startStageSequence(java.lang.String stageLabel)
Starts an ongoing sequence of triggered events in a stage This should only be called for stages
|
void |
startXYStageSequence(java.lang.String xyStageLabel)
Starts an ongoing sequence of triggered events in an XY stage This should only be called for stages
|
boolean |
stderrLogEnabled()
Indicates whether logging output goes to stdErr
|
void |
stop(java.lang.String xyOrZStageLabel)
Stop the XY or focus/Z stage motors
|
void |
stopExposureSequence(java.lang.String cameraLabel)
Stops an ongoing sequence of triggered exposures in a camera This should only be called for cameras where exposure time is sequenceable
|
void |
stopPropertySequence(java.lang.String label,
java.lang.String propName)
Stops an ongoing sequence of triggered events in a property of a device This should only be called for device-properties that are sequenceable
|
void |
stopSecondaryLogFile(int handle)
Stop capturing logging output into an additional file.
|
void |
stopSequenceAcquisition()
Stops streaming camera sequence acquisition.
|
void |
stopSequenceAcquisition(java.lang.String cameraLabel)
Stops streaming camera sequence acquisition for a specified camera.
|
void |
stopSLMSequence(java.lang.String slmLabel)
Stops the SLM sequence if previously started
|
void |
stopStageSequence(java.lang.String stageLabel)
Stops an ongoing sequence of triggered events in a stage This should only be called for stages that are sequenceable
|
void |
stopXYStageSequence(java.lang.String xyStageLabel)
Stops an ongoing sequence of triggered events in an XY stage This should only be called for stages that are sequenceable
|
boolean |
supportsDeviceDetection(java.lang.String deviceLabel)
Return whether or not the device supports automatic device detection (i.e.
|
boolean |
systemBusy()
Checks the busy status of the entire system.
|
void |
unloadAllDevices()
Unloads all devices from the core and resets all configuration data.
|
void |
unloadDevice(java.lang.String label)
Unloads the device from the core and adjusts all configuration data.
|
void |
unloadLibrary(java.lang.String moduleName)
Forcefully unload a library.
|
void |
updateCoreProperties()
Updates CoreProperties (currently all Core properties are devices types) with the loaded hardware.
|
void |
updateSystemStateCache()
Updates the state of the entire hardware.
|
boolean |
usesDeviceDelay(java.lang.String label)
Signals if the device will use the delay setting or not.
|
void |
volumetricPumpHome(java.lang.String pumpLabel)
Homes the pump
|
boolean |
volumetricPumpRequiresHoming(java.lang.String pumpLabel) |
void |
volumetricPumpStop(java.lang.String pumpLabel)
Stops the volumetric pump
|
void |
waitForConfig(java.lang.String group,
java.lang.String configName)
Blocks until all devices included in the configuration become ready.
|
void |
waitForDevice(java.lang.String label)
Waits (blocks the calling thread) until the specified device becomes non-busy.
|
void |
waitForDeviceType(DeviceType devType)
Blocks until all devices of the specific type become ready (not-busy).
|
void |
waitForSystem()
Blocks until all devices in the system become ready (not-busy).
|
void |
writeToSerialPort(java.lang.String portLabel,
CharVector data)
Sends an array of characters to the serial port and returns immediately.
|
protected CMMCore(long cPtr,
boolean cMemoryOwn)
public CMMCore()
protected static long getCPtr(CMMCore obj)
protected void finalize()
finalize in class java.lang.Objectpublic void delete()
public boolean getIncludeSystemStateCache()
public void setIncludeSystemStateCache(boolean state)
public TaggedImage getTaggedImage(int cameraChannelIndex)
throws java.lang.Exception
java.lang.Exceptionpublic TaggedImage getTaggedImage()
throws java.lang.Exception
java.lang.Exceptionpublic TaggedImage getLastTaggedImage(int cameraChannelIndex)
throws java.lang.Exception
java.lang.Exceptionpublic TaggedImage getLastTaggedImage()
throws java.lang.Exception
java.lang.Exceptionpublic TaggedImage getNBeforeLastTaggedImage(long n)
throws java.lang.Exception
java.lang.Exceptionpublic TaggedImage popNextTaggedImage(int cameraChannelIndex)
throws java.lang.Exception
java.lang.Exceptionpublic TaggedImage popNextTaggedImage()
throws java.lang.Exception
java.lang.Exceptionpublic java.awt.Rectangle getROI()
throws java.lang.Exception
java.lang.Exceptionpublic java.awt.Rectangle getROI(java.lang.String label)
throws java.lang.Exception
java.lang.Exceptionpublic java.util.List<java.awt.Rectangle> getMultiROI()
throws java.lang.Exception
java.lang.Exceptionpublic void setMultiROI(java.util.List<java.awt.Rectangle> rects)
throws java.lang.Exception
java.lang.Exceptionpublic java.lang.String getPixelSizeAffineAsString()
throws java.lang.Exception
java.lang.Exceptionpublic java.awt.geom.Point2D.Double getXYStagePosition(java.lang.String stage)
throws java.lang.Exception
java.lang.Exceptionpublic java.awt.geom.Point2D.Double getXYStagePosition()
throws java.lang.Exception
java.lang.Exceptionpublic java.awt.geom.Point2D.Double getGalvoPosition(java.lang.String galvoDevice)
throws java.lang.Exception
java.lang.Exceptionpublic static void noop()
public static void enableFeature(java.lang.String name,
boolean enable)
throws java.lang.Exception
java.lang.Exceptionpublic static boolean isFeatureEnabled(java.lang.String name)
throws java.lang.Exception
java.lang.Exceptionpublic void loadDevice(java.lang.String label,
java.lang.String moduleName,
java.lang.String deviceName)
throws java.lang.Exception
java.lang.Exceptionpublic void unloadDevice(java.lang.String label)
throws java.lang.Exception
java.lang.Exceptionpublic void unloadAllDevices()
throws java.lang.Exception
java.lang.Exceptionpublic void initializeAllDevices()
throws java.lang.Exception
java.lang.Exceptionpublic void initializeDevice(java.lang.String label)
throws java.lang.Exception
java.lang.Exceptionpublic DeviceInitializationState getDeviceInitializationState(java.lang.String label) throws java.lang.Exception
java.lang.Exceptionpublic void reset()
throws java.lang.Exception
java.lang.Exceptionpublic void unloadLibrary(java.lang.String moduleName)
throws java.lang.Exception
java.lang.Exceptionpublic void updateCoreProperties()
throws java.lang.Exception
java.lang.Exceptionpublic java.lang.String getCoreErrorText(int code)
public java.lang.String getVersionInfo()
public java.lang.String getAPIVersionInfo()
public static int getMMCoreVersionMajor()
public static int getMMCoreVersionMinor()
public static int getMMCoreVersionPatch()
public static int getMMDeviceModuleInterfaceVersion()
public static int getMMDeviceDeviceInterfaceVersion()
public Configuration getSystemState()
public void setSystemState(Configuration conf)
public Configuration getConfigState(java.lang.String group, java.lang.String config) throws java.lang.Exception
java.lang.Exceptionpublic Configuration getConfigGroupState(java.lang.String group) throws java.lang.Exception
java.lang.Exceptionpublic void saveSystemState(java.lang.String fileName)
throws java.lang.Exception
java.lang.Exceptionpublic void loadSystemState(java.lang.String fileName)
throws java.lang.Exception
java.lang.Exceptionpublic void saveSystemConfiguration(java.lang.String fileName)
throws java.lang.Exception
java.lang.Exceptionpublic void loadSystemConfiguration(java.lang.String fileName)
throws java.lang.Exception
java.lang.Exceptionpublic void registerCallback(MMEventCallback cb)
public void setPrimaryLogFile(java.lang.String filename,
boolean truncate)
throws java.lang.Exception
java.lang.Exceptionpublic void setPrimaryLogFile(java.lang.String filename)
throws java.lang.Exception
java.lang.Exceptionpublic java.lang.String getPrimaryLogFile()
public void logMessage(java.lang.String msg)
public void logMessage(java.lang.String msg,
boolean debugOnly)
public void enableDebugLog(boolean enable)
public boolean debugLogEnabled()
public void enableStderrLog(boolean enable)
public boolean stderrLogEnabled()
public int startSecondaryLogFile(java.lang.String filename,
boolean enableDebug,
boolean truncate,
boolean synchronous)
throws java.lang.Exception
java.lang.Exceptionpublic int startSecondaryLogFile(java.lang.String filename,
boolean enableDebug,
boolean truncate)
throws java.lang.Exception
java.lang.Exceptionpublic int startSecondaryLogFile(java.lang.String filename,
boolean enableDebug)
throws java.lang.Exception
java.lang.Exceptionpublic void stopSecondaryLogFile(int handle)
throws java.lang.Exception
java.lang.Exceptionpublic StrVector getDeviceAdapterSearchPaths()
public void setDeviceAdapterSearchPaths(StrVector paths)
public StrVector getDeviceAdapterNames() throws java.lang.Exception
java.lang.Exceptionpublic StrVector getAvailableDevices(java.lang.String library) throws java.lang.Exception
java.lang.Exceptionpublic StrVector getAvailableDeviceDescriptions(java.lang.String library) throws java.lang.Exception
java.lang.Exceptionpublic LongVector getAvailableDeviceTypes(java.lang.String library) throws java.lang.Exception
java.lang.Exceptionpublic StrVector getLoadedDevices()
public StrVector getLoadedDevicesOfType(DeviceType devType)
public DeviceType getDeviceType(java.lang.String label) throws java.lang.Exception
java.lang.Exceptionpublic java.lang.String getDeviceLibrary(java.lang.String label)
throws java.lang.Exception
java.lang.Exceptionpublic java.lang.String getDeviceName(java.lang.String label)
throws java.lang.Exception
java.lang.Exceptionpublic java.lang.String getDeviceDescription(java.lang.String label)
throws java.lang.Exception
java.lang.Exceptionpublic StrVector getDevicePropertyNames(java.lang.String label) throws java.lang.Exception
java.lang.Exceptionpublic boolean hasProperty(java.lang.String label,
java.lang.String propName)
throws java.lang.Exception
java.lang.Exceptionpublic java.lang.String getProperty(java.lang.String label,
java.lang.String propName)
throws java.lang.Exception
java.lang.Exceptionpublic void setProperty(java.lang.String label,
java.lang.String propName,
java.lang.String propValue)
throws java.lang.Exception
java.lang.Exceptionpublic void setProperty(java.lang.String label,
java.lang.String propName,
boolean propValue)
throws java.lang.Exception
java.lang.Exceptionpublic void setProperty(java.lang.String label,
java.lang.String propName,
int propValue)
throws java.lang.Exception
java.lang.Exceptionpublic void setProperty(java.lang.String label,
java.lang.String propName,
float propValue)
throws java.lang.Exception
java.lang.Exceptionpublic void setProperty(java.lang.String label,
java.lang.String propName,
double propValue)
throws java.lang.Exception
java.lang.Exceptionpublic StrVector getAllowedPropertyValues(java.lang.String label, java.lang.String propName) throws java.lang.Exception
java.lang.Exceptionpublic boolean isPropertyReadOnly(java.lang.String label,
java.lang.String propName)
throws java.lang.Exception
java.lang.Exceptionpublic boolean isPropertyPreInit(java.lang.String label,
java.lang.String propName)
throws java.lang.Exception
java.lang.Exceptionpublic boolean isPropertySequenceable(java.lang.String label,
java.lang.String propName)
throws java.lang.Exception
java.lang.Exceptionpublic boolean hasPropertyLimits(java.lang.String label,
java.lang.String propName)
throws java.lang.Exception
java.lang.Exceptionpublic double getPropertyLowerLimit(java.lang.String label,
java.lang.String propName)
throws java.lang.Exception
java.lang.Exceptionpublic double getPropertyUpperLimit(java.lang.String label,
java.lang.String propName)
throws java.lang.Exception
java.lang.Exceptionpublic PropertyType getPropertyType(java.lang.String label, java.lang.String propName) throws java.lang.Exception
java.lang.Exceptionpublic void startPropertySequence(java.lang.String label,
java.lang.String propName)
throws java.lang.Exception
java.lang.Exceptionpublic void stopPropertySequence(java.lang.String label,
java.lang.String propName)
throws java.lang.Exception
java.lang.Exceptionpublic int getPropertySequenceMaxLength(java.lang.String label,
java.lang.String propName)
throws java.lang.Exception
java.lang.Exceptionpublic void loadPropertySequence(java.lang.String label,
java.lang.String propName,
StrVector eventSequence)
throws java.lang.Exception
java.lang.Exceptionpublic boolean deviceBusy(java.lang.String label)
throws java.lang.Exception
java.lang.Exceptionpublic void waitForDevice(java.lang.String label)
throws java.lang.Exception
java.lang.Exceptionpublic void waitForConfig(java.lang.String group,
java.lang.String configName)
throws java.lang.Exception
java.lang.Exceptionpublic boolean systemBusy()
throws java.lang.Exception
java.lang.Exceptionpublic void waitForSystem()
throws java.lang.Exception
java.lang.Exceptionpublic boolean deviceTypeBusy(DeviceType devType) throws java.lang.Exception
java.lang.Exceptionpublic void waitForDeviceType(DeviceType devType) throws java.lang.Exception
java.lang.Exceptionpublic double getDeviceDelayMs(java.lang.String label)
throws java.lang.Exception
java.lang.Exceptionpublic void setDeviceDelayMs(java.lang.String label,
double delayMs)
throws java.lang.Exception
java.lang.Exceptionpublic boolean usesDeviceDelay(java.lang.String label)
throws java.lang.Exception
java.lang.Exceptionpublic void setTimeoutMs(int timeoutMs)
public int getTimeoutMs()
public void sleep(double intervalMs)
public java.lang.String getCameraDevice()
public java.lang.String getShutterDevice()
public java.lang.String getFocusDevice()
public java.lang.String getXYStageDevice()
public java.lang.String getAutoFocusDevice()
public java.lang.String getImageProcessorDevice()
public java.lang.String getSLMDevice()
public java.lang.String getGalvoDevice()
public java.lang.String getChannelGroup()
public void setCameraDevice(java.lang.String cameraLabel)
throws java.lang.Exception
java.lang.Exceptionpublic void setShutterDevice(java.lang.String shutterLabel)
throws java.lang.Exception
java.lang.Exceptionpublic void setFocusDevice(java.lang.String focusLabel)
throws java.lang.Exception
java.lang.Exceptionpublic void setXYStageDevice(java.lang.String xyStageLabel)
throws java.lang.Exception
java.lang.Exceptionpublic void setAutoFocusDevice(java.lang.String focusLabel)
throws java.lang.Exception
java.lang.Exceptionpublic void setImageProcessorDevice(java.lang.String procLabel)
throws java.lang.Exception
java.lang.Exceptionpublic void setSLMDevice(java.lang.String slmLabel)
throws java.lang.Exception
java.lang.Exceptionpublic void setGalvoDevice(java.lang.String galvoLabel)
throws java.lang.Exception
java.lang.Exceptionpublic void setChannelGroup(java.lang.String channelGroup)
throws java.lang.Exception
java.lang.Exceptionpublic Configuration getSystemStateCache()
public void updateSystemStateCache()
public java.lang.String getPropertyFromCache(java.lang.String deviceLabel,
java.lang.String propName)
throws java.lang.Exception
java.lang.Exceptionpublic java.lang.String getCurrentConfigFromCache(java.lang.String groupName)
throws java.lang.Exception
java.lang.Exceptionpublic Configuration getConfigGroupStateFromCache(java.lang.String group) throws java.lang.Exception
java.lang.Exceptionpublic void defineConfig(java.lang.String groupName,
java.lang.String configName)
throws java.lang.Exception
java.lang.Exceptionpublic void defineConfig(java.lang.String groupName,
java.lang.String configName,
java.lang.String deviceLabel,
java.lang.String propName,
java.lang.String value)
throws java.lang.Exception
java.lang.Exceptionpublic void defineConfigGroup(java.lang.String groupName)
throws java.lang.Exception
java.lang.Exceptionpublic void deleteConfigGroup(java.lang.String groupName)
throws java.lang.Exception
java.lang.Exceptionpublic void renameConfigGroup(java.lang.String oldGroupName,
java.lang.String newGroupName)
throws java.lang.Exception
java.lang.Exceptionpublic boolean isGroupDefined(java.lang.String groupName)
public boolean isConfigDefined(java.lang.String groupName,
java.lang.String configName)
public void setConfig(java.lang.String groupName,
java.lang.String configName)
throws java.lang.Exception
java.lang.Exceptionpublic void deleteConfig(java.lang.String groupName,
java.lang.String configName)
throws java.lang.Exception
java.lang.Exceptionpublic void deleteConfig(java.lang.String groupName,
java.lang.String configName,
java.lang.String deviceLabel,
java.lang.String propName)
throws java.lang.Exception
java.lang.Exceptionpublic void renameConfig(java.lang.String groupName,
java.lang.String oldConfigName,
java.lang.String newConfigName)
throws java.lang.Exception
java.lang.Exceptionpublic StrVector getAvailableConfigGroups()
public StrVector getAvailableConfigs(java.lang.String configGroup)
public java.lang.String getCurrentConfig(java.lang.String groupName)
throws java.lang.Exception
java.lang.Exceptionpublic Configuration getConfigData(java.lang.String configGroup, java.lang.String configName) throws java.lang.Exception
java.lang.Exceptionpublic java.lang.String getCurrentPixelSizeConfig()
throws java.lang.Exception
java.lang.Exceptionpublic java.lang.String getCurrentPixelSizeConfig(boolean cached)
throws java.lang.Exception
java.lang.Exceptionpublic double getPixelSizeUm()
public double getPixelSizeUm(boolean cached)
public double getPixelSizeUmByID(java.lang.String resolutionID)
throws java.lang.Exception
java.lang.Exceptionpublic DoubleVector getPixelSizeAffine() throws java.lang.Exception
java.lang.Exceptionpublic DoubleVector getPixelSizeAffine(boolean cached) throws java.lang.Exception
java.lang.Exceptionpublic DoubleVector getPixelSizeAffineByID(java.lang.String resolutionID) throws java.lang.Exception
java.lang.Exceptionpublic double getPixelSizedxdz()
throws java.lang.Exception
java.lang.Exceptionpublic double getPixelSizedxdz(boolean cached)
throws java.lang.Exception
java.lang.Exceptionpublic double getPixelSizedxdz(java.lang.String resolutionID)
throws java.lang.Exception
java.lang.Exceptionpublic double getPixelSizedydz()
throws java.lang.Exception
java.lang.Exceptionpublic double getPixelSizedydz(boolean cached)
throws java.lang.Exception
java.lang.Exceptionpublic double getPixelSizedydz(java.lang.String resolutionID)
throws java.lang.Exception
java.lang.Exceptionpublic double getPixelSizeOptimalZUm()
throws java.lang.Exception
java.lang.Exceptionpublic double getPixelSizeOptimalZUm(boolean cached)
throws java.lang.Exception
java.lang.Exceptionpublic double getPixelSizeOptimalZUm(java.lang.String resolutionID)
throws java.lang.Exception
java.lang.Exceptionpublic double getMagnificationFactor()
public void setPixelSizeUm(java.lang.String resolutionID,
double pixSize)
throws java.lang.Exception
java.lang.Exceptionpublic void setPixelSizeAffine(java.lang.String resolutionID,
DoubleVector affine)
throws java.lang.Exception
java.lang.Exceptionpublic void setPixelSizedxdz(java.lang.String resolutionID,
double dXdZ)
throws java.lang.Exception
java.lang.Exceptionpublic void setPixelSizedydz(java.lang.String resolutionID,
double dYdZ)
throws java.lang.Exception
java.lang.Exceptionpublic void setPixelSizeOptimalZUm(java.lang.String resolutionID,
double optimalZ)
throws java.lang.Exception
java.lang.Exceptionpublic void definePixelSizeConfig(java.lang.String resolutionID,
java.lang.String deviceLabel,
java.lang.String propName,
java.lang.String value)
throws java.lang.Exception
java.lang.Exceptionpublic void definePixelSizeConfig(java.lang.String resolutionID)
throws java.lang.Exception
java.lang.Exceptionpublic StrVector getAvailablePixelSizeConfigs()
public boolean isPixelSizeConfigDefined(java.lang.String resolutionID)
throws java.lang.Exception
java.lang.Exceptionpublic void setPixelSizeConfig(java.lang.String resolutionID)
throws java.lang.Exception
java.lang.Exceptionpublic void renamePixelSizeConfig(java.lang.String oldConfigName,
java.lang.String newConfigName)
throws java.lang.Exception
java.lang.Exceptionpublic void deletePixelSizeConfig(java.lang.String configName)
throws java.lang.Exception
java.lang.Exceptionpublic Configuration getPixelSizeConfigData(java.lang.String configName) throws java.lang.Exception
java.lang.Exceptionpublic void setROI(int x,
int y,
int xSize,
int ySize)
throws java.lang.Exception
java.lang.Exceptionpublic void setROI(java.lang.String label,
int x,
int y,
int xSize,
int ySize)
throws java.lang.Exception
java.lang.Exceptionpublic void getROI(int[] x,
int[] y,
int[] xSize,
int[] ySize)
throws java.lang.Exception
java.lang.Exceptionpublic void getROI(java.lang.String label,
int[] x,
int[] y,
int[] xSize,
int[] ySize)
throws java.lang.Exception
java.lang.Exceptionpublic void clearROI()
throws java.lang.Exception
java.lang.Exceptionpublic boolean isMultiROISupported()
throws java.lang.Exception
java.lang.Exceptionpublic boolean isMultiROIEnabled()
throws java.lang.Exception
java.lang.Exceptionpublic void setMultiROI(UnsignedVector xs, UnsignedVector ys, UnsignedVector widths, UnsignedVector heights) throws java.lang.Exception
java.lang.Exceptionpublic void getMultiROI(UnsignedVector xs, UnsignedVector ys, UnsignedVector widths, UnsignedVector heights) throws java.lang.Exception
java.lang.Exceptionpublic void setExposure(double exp)
throws java.lang.Exception
java.lang.Exceptionpublic void setExposure(java.lang.String cameraLabel,
double dExp)
throws java.lang.Exception
java.lang.Exceptionpublic double getExposure()
throws java.lang.Exception
java.lang.Exceptionpublic double getExposure(java.lang.String label)
throws java.lang.Exception
java.lang.Exceptionpublic void snapImage()
throws java.lang.Exception
java.lang.Exceptionpublic java.lang.Object getImage()
throws java.lang.Exception
java.lang.Exceptionpublic java.lang.Object getImage(long numChannel)
throws java.lang.Exception
java.lang.Exceptionpublic long getImageWidth()
public long getImageHeight()
public long getBytesPerPixel()
public long getImageBitDepth()
public long getNumberOfComponents()
public long getNumberOfCameraChannels()
public java.lang.String getCameraChannelName(long channelNr)
public int getImageBufferSize()
public void setAutoShutter(boolean state)
public boolean getAutoShutter()
public void setShutterOpen(boolean state)
throws java.lang.Exception
java.lang.Exceptionpublic boolean getShutterOpen()
throws java.lang.Exception
java.lang.Exceptionpublic void setShutterOpen(java.lang.String shutterLabel,
boolean state)
throws java.lang.Exception
java.lang.Exceptionpublic boolean getShutterOpen(java.lang.String shutterLabel)
throws java.lang.Exception
java.lang.Exceptionpublic void startSequenceAcquisition(int numImages,
double intervalMs,
boolean stopOnOverflow)
throws java.lang.Exception
java.lang.Exceptionpublic void startSequenceAcquisition(java.lang.String cameraLabel,
int numImages,
double intervalMs,
boolean stopOnOverflow)
throws java.lang.Exception
java.lang.Exceptionpublic void prepareSequenceAcquisition(java.lang.String cameraLabel)
throws java.lang.Exception
java.lang.Exceptionpublic void startContinuousSequenceAcquisition(double intervalMs)
throws java.lang.Exception
java.lang.Exceptionpublic void stopSequenceAcquisition()
throws java.lang.Exception
java.lang.Exceptionpublic void stopSequenceAcquisition(java.lang.String cameraLabel)
throws java.lang.Exception
java.lang.Exceptionpublic boolean isSequenceRunning()
public boolean isSequenceRunning(java.lang.String cameraLabel)
throws java.lang.Exception
java.lang.Exceptionpublic java.lang.Object getLastImage()
throws java.lang.Exception
java.lang.Exceptionpublic java.lang.Object popNextImage()
throws java.lang.Exception
java.lang.Exceptionpublic java.lang.Object getLastImageMD(long channel,
long slice,
Metadata md)
throws java.lang.Exception
java.lang.Exceptionpublic java.lang.Object popNextImageMD(long channel,
long slice,
Metadata md)
throws java.lang.Exception
java.lang.Exceptionpublic java.lang.Object getLastImageMD(Metadata md) throws java.lang.Exception
java.lang.Exceptionpublic java.lang.Object getNBeforeLastImageMD(long n,
Metadata md)
throws java.lang.Exception
java.lang.Exceptionpublic java.lang.Object popNextImageMD(Metadata md) throws java.lang.Exception
java.lang.Exceptionpublic int getRemainingImageCount()
public int getBufferTotalCapacity()
public int getBufferFreeCapacity()
public boolean isBufferOverflowed()
public void setCircularBufferMemoryFootprint(long sizeMB)
throws java.lang.Exception
java.lang.Exceptionpublic long getCircularBufferMemoryFootprint()
public void initializeCircularBuffer()
throws java.lang.Exception
java.lang.Exceptionpublic void clearCircularBuffer()
throws java.lang.Exception
java.lang.Exceptionpublic boolean isExposureSequenceable(java.lang.String cameraLabel)
throws java.lang.Exception
java.lang.Exceptionpublic void startExposureSequence(java.lang.String cameraLabel)
throws java.lang.Exception
java.lang.Exceptionpublic void stopExposureSequence(java.lang.String cameraLabel)
throws java.lang.Exception
java.lang.Exceptionpublic int getExposureSequenceMaxLength(java.lang.String cameraLabel)
throws java.lang.Exception
java.lang.Exceptionpublic void loadExposureSequence(java.lang.String cameraLabel,
DoubleVector exposureSequence_ms)
throws java.lang.Exception
java.lang.Exceptionpublic double getLastFocusScore()
public double getCurrentFocusScore()
public void enableContinuousFocus(boolean enable)
throws java.lang.Exception
java.lang.Exceptionpublic boolean isContinuousFocusEnabled()
throws java.lang.Exception
java.lang.Exceptionpublic boolean isContinuousFocusLocked()
throws java.lang.Exception
java.lang.Exceptionpublic boolean isContinuousFocusDrive(java.lang.String stageLabel)
throws java.lang.Exception
java.lang.Exceptionpublic void fullFocus()
throws java.lang.Exception
java.lang.Exceptionpublic void incrementalFocus()
throws java.lang.Exception
java.lang.Exceptionpublic void setAutoFocusOffset(double offset)
throws java.lang.Exception
java.lang.Exceptionpublic double getAutoFocusOffset()
throws java.lang.Exception
java.lang.Exceptionpublic void setState(java.lang.String stateDeviceLabel,
int state)
throws java.lang.Exception
java.lang.Exceptionpublic int getState(java.lang.String stateDeviceLabel)
throws java.lang.Exception
java.lang.Exceptionpublic int getNumberOfStates(java.lang.String stateDeviceLabel)
public void setStateLabel(java.lang.String stateDeviceLabel,
java.lang.String stateLabel)
throws java.lang.Exception
java.lang.Exceptionpublic java.lang.String getStateLabel(java.lang.String stateDeviceLabel)
throws java.lang.Exception
java.lang.Exceptionpublic void defineStateLabel(java.lang.String stateDeviceLabel,
int state,
java.lang.String stateLabel)
throws java.lang.Exception
java.lang.Exceptionpublic StrVector getStateLabels(java.lang.String stateDeviceLabel) throws java.lang.Exception
java.lang.Exceptionpublic int getStateFromLabel(java.lang.String stateDeviceLabel,
java.lang.String stateLabel)
throws java.lang.Exception
java.lang.Exceptionpublic void setPosition(java.lang.String stageLabel,
double position)
throws java.lang.Exception
java.lang.Exceptionpublic void setPosition(double position)
throws java.lang.Exception
java.lang.Exceptionpublic double getPosition(java.lang.String stageLabel)
throws java.lang.Exception
java.lang.Exceptionpublic double getPosition()
throws java.lang.Exception
java.lang.Exceptionpublic void setRelativePosition(java.lang.String stageLabel,
double d)
throws java.lang.Exception
java.lang.Exceptionpublic void setRelativePosition(double d)
throws java.lang.Exception
java.lang.Exceptionpublic void setOrigin(java.lang.String stageLabel)
throws java.lang.Exception
java.lang.Exceptionpublic void setOrigin()
throws java.lang.Exception
java.lang.Exceptionpublic void setAdapterOrigin(java.lang.String stageLabel,
double newZUm)
throws java.lang.Exception
java.lang.Exceptionpublic void setAdapterOrigin(double newZUm)
throws java.lang.Exception
java.lang.Exceptionpublic void setFocusDirection(java.lang.String stageLabel,
int sign)
public int getFocusDirection(java.lang.String stageLabel)
throws java.lang.Exception
java.lang.Exceptionpublic boolean isStageSequenceable(java.lang.String stageLabel)
throws java.lang.Exception
java.lang.Exceptionpublic boolean isStageLinearSequenceable(java.lang.String stageLabel)
throws java.lang.Exception
java.lang.Exceptionpublic void startStageSequence(java.lang.String stageLabel)
throws java.lang.Exception
java.lang.Exceptionpublic void stopStageSequence(java.lang.String stageLabel)
throws java.lang.Exception
java.lang.Exceptionpublic int getStageSequenceMaxLength(java.lang.String stageLabel)
throws java.lang.Exception
java.lang.Exceptionpublic void loadStageSequence(java.lang.String stageLabel,
DoubleVector positionSequence)
throws java.lang.Exception
java.lang.Exceptionpublic void setStageLinearSequence(java.lang.String stageLabel,
double dZ_um,
int nSlices)
throws java.lang.Exception
java.lang.Exceptionpublic void setXYPosition(java.lang.String xyStageLabel,
double x,
double y)
throws java.lang.Exception
java.lang.Exceptionpublic void setXYPosition(double x,
double y)
throws java.lang.Exception
java.lang.Exceptionpublic void setRelativeXYPosition(java.lang.String xyStageLabel,
double dx,
double dy)
throws java.lang.Exception
java.lang.Exceptionpublic void setRelativeXYPosition(double dx,
double dy)
throws java.lang.Exception
java.lang.Exceptionpublic void getXYPosition(java.lang.String xyStageLabel,
double[] x_stage,
double[] y_stage)
throws java.lang.Exception
java.lang.Exceptionpublic void getXYPosition(double[] x_stage,
double[] y_stage)
throws java.lang.Exception
java.lang.Exceptionpublic double getXPosition(java.lang.String xyStageLabel)
throws java.lang.Exception
java.lang.Exceptionpublic double getYPosition(java.lang.String xyStageLabel)
throws java.lang.Exception
java.lang.Exceptionpublic double getXPosition()
throws java.lang.Exception
java.lang.Exceptionpublic double getYPosition()
throws java.lang.Exception
java.lang.Exceptionpublic void stop(java.lang.String xyOrZStageLabel)
throws java.lang.Exception
java.lang.Exceptionpublic void home(java.lang.String xyOrZStageLabel)
throws java.lang.Exception
java.lang.Exceptionpublic void setOriginXY(java.lang.String xyStageLabel)
throws java.lang.Exception
java.lang.Exceptionpublic void setOriginXY()
throws java.lang.Exception
java.lang.Exceptionpublic void setOriginX(java.lang.String xyStageLabel)
throws java.lang.Exception
java.lang.Exceptionpublic void setOriginX()
throws java.lang.Exception
java.lang.Exceptionpublic void setOriginY(java.lang.String xyStageLabel)
throws java.lang.Exception
java.lang.Exceptionpublic void setOriginY()
throws java.lang.Exception
java.lang.Exceptionpublic void setAdapterOriginXY(java.lang.String xyStageLabel,
double newXUm,
double newYUm)
throws java.lang.Exception
java.lang.Exceptionpublic void setAdapterOriginXY(double newXUm,
double newYUm)
throws java.lang.Exception
java.lang.Exceptionpublic boolean isXYStageSequenceable(java.lang.String xyStageLabel)
throws java.lang.Exception
java.lang.Exceptionpublic void startXYStageSequence(java.lang.String xyStageLabel)
throws java.lang.Exception
java.lang.Exceptionpublic void stopXYStageSequence(java.lang.String xyStageLabel)
throws java.lang.Exception
java.lang.Exceptionpublic int getXYStageSequenceMaxLength(java.lang.String xyStageLabel)
throws java.lang.Exception
java.lang.Exceptionpublic void loadXYStageSequence(java.lang.String xyStageLabel,
DoubleVector xSequence,
DoubleVector ySequence)
throws java.lang.Exception
java.lang.Exceptionpublic void setSerialProperties(java.lang.String portName,
java.lang.String answerTimeout,
java.lang.String baudRate,
java.lang.String delayBetweenCharsMs,
java.lang.String handshaking,
java.lang.String parity,
java.lang.String stopBits)
throws java.lang.Exception
java.lang.Exceptionpublic void setSerialPortCommand(java.lang.String portLabel,
java.lang.String command,
java.lang.String term)
throws java.lang.Exception
java.lang.Exceptionpublic java.lang.String getSerialPortAnswer(java.lang.String portLabel,
java.lang.String term)
throws java.lang.Exception
java.lang.Exceptionpublic void writeToSerialPort(java.lang.String portLabel,
CharVector data)
throws java.lang.Exception
java.lang.Exceptionpublic CharVector readFromSerialPort(java.lang.String portLabel) throws java.lang.Exception
java.lang.Exceptionpublic void setSLMImage(java.lang.String slmLabel,
byte[] pixels)
throws java.lang.Exception
java.lang.Exceptionpublic void setSLMImage(java.lang.String slmLabel,
int[] pixels)
throws java.lang.Exception
java.lang.Exceptionpublic void setSLMPixelsTo(java.lang.String slmLabel,
short intensity)
throws java.lang.Exception
java.lang.Exceptionpublic void setSLMPixelsTo(java.lang.String slmLabel,
short red,
short green,
short blue)
throws java.lang.Exception
java.lang.Exceptionpublic void displaySLMImage(java.lang.String slmLabel)
throws java.lang.Exception
java.lang.Exceptionpublic void setSLMExposure(java.lang.String slmLabel,
double exposure_ms)
throws java.lang.Exception
java.lang.Exceptionpublic double getSLMExposure(java.lang.String slmLabel)
throws java.lang.Exception
java.lang.Exceptionpublic long getSLMWidth(java.lang.String slmLabel)
throws java.lang.Exception
java.lang.Exceptionpublic long getSLMHeight(java.lang.String slmLabel)
throws java.lang.Exception
java.lang.Exceptionpublic long getSLMNumberOfComponents(java.lang.String slmLabel)
throws java.lang.Exception
java.lang.Exceptionpublic long getSLMBytesPerPixel(java.lang.String slmLabel)
throws java.lang.Exception
java.lang.Exceptionpublic int getSLMSequenceMaxLength(java.lang.String slmLabel)
throws java.lang.Exception
java.lang.Exceptionpublic void startSLMSequence(java.lang.String slmLabel)
throws java.lang.Exception
java.lang.Exceptionpublic void stopSLMSequence(java.lang.String slmLabel)
throws java.lang.Exception
java.lang.Exceptionpublic void loadSLMSequence(java.lang.String slmLabel,
java.util.List<byte[]> imageSequence)
throws java.lang.Exception
java.lang.Exceptionpublic void pointGalvoAndFire(java.lang.String galvoLabel,
double x,
double y,
double pulseTime_us)
throws java.lang.Exception
java.lang.Exceptionpublic void setGalvoSpotInterval(java.lang.String galvoLabel,
double pulseTime_us)
throws java.lang.Exception
java.lang.Exceptionpublic void setGalvoPosition(java.lang.String galvoLabel,
double x,
double y)
throws java.lang.Exception
java.lang.Exceptionpublic void getGalvoPosition(java.lang.String galvoLabel,
double[] x_stage,
double[] y_stage)
throws java.lang.Exception
java.lang.Exceptionpublic void setGalvoIlluminationState(java.lang.String galvoLabel,
boolean on)
throws java.lang.Exception
java.lang.Exceptionpublic double getGalvoXRange(java.lang.String galvoLabel)
throws java.lang.Exception
java.lang.Exceptionpublic double getGalvoXMinimum(java.lang.String galvoLabel)
throws java.lang.Exception
java.lang.Exceptionpublic double getGalvoYRange(java.lang.String galvoLabel)
throws java.lang.Exception
java.lang.Exceptionpublic double getGalvoYMinimum(java.lang.String galvoLabel)
throws java.lang.Exception
java.lang.Exceptionpublic void addGalvoPolygonVertex(java.lang.String galvoLabel,
int polygonIndex,
double x,
double y)
throws java.lang.Exception
java.lang.Exceptionpublic void deleteGalvoPolygons(java.lang.String galvoLabel)
throws java.lang.Exception
java.lang.Exceptionpublic void loadGalvoPolygons(java.lang.String galvoLabel)
throws java.lang.Exception
java.lang.Exceptionpublic void setGalvoPolygonRepetitions(java.lang.String galvoLabel,
int repetitions)
throws java.lang.Exception
java.lang.Exceptionpublic void runGalvoPolygons(java.lang.String galvoLabel)
throws java.lang.Exception
java.lang.Exceptionpublic void runGalvoSequence(java.lang.String galvoLabel)
throws java.lang.Exception
java.lang.Exceptionpublic java.lang.String getGalvoChannel(java.lang.String galvoLabel)
throws java.lang.Exception
java.lang.Exceptionpublic void pressurePumpStop(java.lang.String pumpLabel)
throws java.lang.Exception
java.lang.Exceptionpublic void pressurePumpCalibrate(java.lang.String pumpLabel)
throws java.lang.Exception
java.lang.Exceptionpublic boolean pressurePumpRequiresCalibration(java.lang.String pumpLabel)
throws java.lang.Exception
java.lang.Exceptionpublic void setPumpPressureKPa(java.lang.String pumplabel,
double pressure)
throws java.lang.Exception
java.lang.Exceptionpublic double getPumpPressureKPa(java.lang.String pumplabel)
throws java.lang.Exception
java.lang.Exceptionpublic void volumetricPumpStop(java.lang.String pumpLabel)
throws java.lang.Exception
java.lang.Exceptionpublic void volumetricPumpHome(java.lang.String pumpLabel)
throws java.lang.Exception
java.lang.Exceptionpublic boolean volumetricPumpRequiresHoming(java.lang.String pumpLabel)
throws java.lang.Exception
java.lang.Exceptionpublic void invertPumpDirection(java.lang.String pumpLabel,
boolean invert)
throws java.lang.Exception
java.lang.Exceptionpublic boolean isPumpDirectionInverted(java.lang.String pumpLabel)
throws java.lang.Exception
java.lang.Exceptionpublic void setPumpVolume(java.lang.String pumpLabel,
double volume)
throws java.lang.Exception
java.lang.Exceptionpublic double getPumpVolume(java.lang.String pumpLabel)
throws java.lang.Exception
java.lang.Exceptionpublic void setPumpMaxVolume(java.lang.String pumpLabel,
double volume)
throws java.lang.Exception
java.lang.Exceptionpublic double getPumpMaxVolume(java.lang.String pumpLabel)
throws java.lang.Exception
java.lang.Exceptionpublic void setPumpFlowrate(java.lang.String pumpLabel,
double volume)
throws java.lang.Exception
java.lang.Exceptionpublic double getPumpFlowrate(java.lang.String pumpLabel)
throws java.lang.Exception
java.lang.Exceptionpublic void pumpStart(java.lang.String pumpLabel)
throws java.lang.Exception
java.lang.Exceptionpublic void pumpDispenseDurationSeconds(java.lang.String pumpLabel,
double seconds)
throws java.lang.Exception
java.lang.Exceptionpublic void pumpDispenseVolumeUl(java.lang.String pumpLabel,
double microLiter)
throws java.lang.Exception
java.lang.Exceptionpublic boolean supportsDeviceDetection(java.lang.String deviceLabel)
public DeviceDetectionStatus detectDevice(java.lang.String deviceLabel)
public java.lang.String getParentLabel(java.lang.String peripheralLabel)
throws java.lang.Exception
java.lang.Exceptionpublic void setParentLabel(java.lang.String deviceLabel,
java.lang.String parentHubLabel)
throws java.lang.Exception
java.lang.Exceptionpublic StrVector getInstalledDevices(java.lang.String hubLabel) throws java.lang.Exception
java.lang.Exceptionpublic java.lang.String getInstalledDeviceDescription(java.lang.String hubLabel,
java.lang.String peripheralLabel)
throws java.lang.Exception
java.lang.Exceptionpublic StrVector getLoadedPeripheralDevices(java.lang.String hubLabel) throws java.lang.Exception
java.lang.Exception