Chronos Plugins 5.9.0
This documentation covers the plugin interfaces definitions and an example implementation.
|
An object implementing this interface is provided by Chronos and passed to the PAL3task just before execution. More...
Classes | |
class | DualHeadHomingOptions |
Lets you selectively suppress the usual homing of a Dual Head sampler. More... | |
Public Member Functions | |
IActivityResult | ExecuteActivity (IActivity act) |
Use this to actually execute an activity. | |
IModuleReference | GetModuleReference (string strTrayName, ref int vialNo, bool bAllowVolatileVials=true) |
Gets a module reference for a position. | |
IModuleReference | AllocateVial (string strTrayName, int vialNo) |
Allocates the vial. | |
IActivityResult | ExecuteActivityWithoutErrorHandling (IActivity act) |
Use this to actually execute an activity, bypassing the normal error handler. | |
![]() | |
void | Connect () |
You may have connected to the device before this, but make sure you are connected after this. | |
void | Disconnect () |
You may disconnect now. | |
Properties | |
IPalPlusConfigurationService | ConfigService [get] |
The service which provides information about the device configuration, like trays and modules. | |
IDirectExecutionSession | Session [get] |
The session you should use for any operation on the PAL3. | |
IPalPlusDirectService | DirectService [get] |
Gets PAL3 the Direct Service. | |
bool | Simulating [get] |
Gets a value indicating whether this IPAL3Services is simulating. | |
IServiceLocator | Services [get] |
Gets the Driver Service Locator to obtain Driver services. | |
bool | KeepSession [get, set] |
Enforce keeping the session open until the schedule is finished. | |
![]() | |
string | DisplayedTypeName [get] |
Text which is displayed in the instruments settings "Autosampler Type" column and in many other places. | |
string | DeviceTypeDescription [get] |
Text which is displayed to make clear which kind of device a named sampler is. | |
string | Name [get, set] |
User-selected name for the device instance. | |
Events | |
Action | BeforeSessionReset |
Hook up to this event if you want to be notified just before the PALs session is reset (after an error or at sequence end). | |
EventHandler< DualHeadHomingOptions > | BeforeHomingDualHead |
For dual head samplers, the default behavior is to home the sampler heads before resetting the sessions (BeforeSessionReset) This event lets you intervene and change this behavior. | |
![]() | |
Action< ConnectionState > | ConnectionStateChanged |
Raise this event when your connection state has changed. | |
An object implementing this interface is provided by Chronos and passed to the PAL3task just before execution.
Definition at line 11 of file PAL3TaskInterfaces.cs.
IModuleReference AxelSemrau.Chronos.Plugin.IPAL3Services.AllocateVial | ( | string | strTrayName, |
int | vialNo ) |
Allocates the vial.
strTrayName | Name of the STR tray. |
vialNo | The vial no. |
IActivityResult AxelSemrau.Chronos.Plugin.IPAL3Services.ExecuteActivity | ( | IActivity | act | ) |
Use this to actually execute an activity.
act | The act. |
IActivityResult AxelSemrau.Chronos.Plugin.IPAL3Services.ExecuteActivityWithoutErrorHandling | ( | IActivity | act | ) |
Use this to actually execute an activity, bypassing the normal error handler.
act | The act. |
IModuleReference AxelSemrau.Chronos.Plugin.IPAL3Services.GetModuleReference | ( | string | strTrayName, |
ref int | vialNo, | ||
bool | bAllowVolatileVials = true ) |
Gets a module reference for a position.
strTrayName | |
vialNo | |
bAllowVolatileVials |
If the desired position represents a volatile vial, the vial number can change.
|
get |
The service which provides information about the device configuration, like trays and modules.
Definition at line 16 of file PAL3TaskInterfaces.cs.
|
get |
Gets PAL3 the Direct Service.
Definition at line 32 of file PAL3TaskInterfaces.cs.
|
getset |
Enforce keeping the session open until the schedule is finished.
Usually, the session are disposed after not being used for a while if the assigned job was finished. In cases where this leads to unintended effects (like "volatile vials" becoming unusable), you can stop this.
Definition at line 93 of file PAL3TaskInterfaces.cs.
|
get |
Gets the Driver Service Locator to obtain Driver services.
Definition at line 60 of file PAL3TaskInterfaces.cs.
|
get |
The session you should use for any operation on the PAL3.
Definition at line 24 of file PAL3TaskInterfaces.cs.
|
get |
Gets a value indicating whether this IPAL3Services is simulating.
true
if simulating; otherwise, false
.
Definition at line 50 of file PAL3TaskInterfaces.cs.
Referenced by MockPlugin.Tasks.MockUseMultipleDevicesTask.Execute().
EventHandler<DualHeadHomingOptions> AxelSemrau.Chronos.Plugin.IPAL3Services.BeforeHomingDualHead |
For dual head samplers, the default behavior is to home the sampler heads before resetting the sessions (BeforeSessionReset) This event lets you intervene and change this behavior.
Definition at line 115 of file PAL3TaskInterfaces.cs.
Action AxelSemrau.Chronos.Plugin.IPAL3Services.BeforeSessionReset |
Hook up to this event if you want to be notified just before the PALs session is reset (after an error or at sequence end).
Definition at line 55 of file PAL3TaskInterfaces.cs.