Singer Instruments PIXL Client
RunRearrayWorkflow(String,String,String,ConsecutivePinningInstruction[],RunRearrayWorkflowResponseCallback) Method
Example 



SI.PIXL.Client Namespace > PIXLClient Class > RunRearrayWorkflow Method : RunRearrayWorkflow(String,String,String,ConsecutivePinningInstruction[],RunRearrayWorkflowResponseCallback) Method
The workflow's ID.
The name of the project template to use. If this is empty the last used settings will be used.
The name of the pinning parameters to use. If this is empty the last used settings will be used.
The consecutive pinnings used in the re-array.
A callback to invoke when the command has finished execution.
Run the re-array workflow.
Syntax
'Declaration
 
Public Overloads Function RunRearrayWorkflow( _
   ByVal id As String, _
   ByVal projectTemplateName As String, _
   ByVal pinningParametersName As String, _
   ByVal consecutivePinningsInstruction() As ConsecutivePinningInstruction, _
   ByVal callback As RunRearrayWorkflowResponseCallback _
) As Task
'Usage
 
Dim instance As PIXLClient
Dim id As String
Dim projectTemplateName As String
Dim pinningParametersName As String
Dim consecutivePinningsInstruction() As ConsecutivePinningInstruction
Dim callback As RunRearrayWorkflowResponseCallback
Dim value As Task
 
value = instance.RunRearrayWorkflow(id, projectTemplateName, pinningParametersName, consecutivePinningsInstruction, callback)

Parameters

id
The workflow's ID.
projectTemplateName
The name of the project template to use. If this is empty the last used settings will be used.
pinningParametersName
The name of the pinning parameters to use. If this is empty the last used settings will be used.
consecutivePinningsInstruction
The consecutive pinnings used in the re-array.
callback
A callback to invoke when the command has finished execution.

Return Value

The result of the action.
Example
This sample shows how to use the RunRearrayWorkflow(String,String,String,ConsecutivePinningInstruction[],RunRearrayWorkflowResponseCallback) method.
Define some plates.
var plate1 = new Plate("Source_Plate_1", PlateTypes.PlusPlate_96, PlateRoles.Source);
var plate2 = new Plate("Target_Plate_1", PlateTypes.PlusPlate_96, PlateRoles.Target);
            
 Define some pinnings instructions.
var pinnings = new[]
{
    new ConsecutivePinningInstruction(new[]
    {
        new PinningInstruction(plate1, 1, 1),
        new PinningInstruction(plate2, 1, 1)
    })
};
// Run the re-array workflow for the defined pinning operations with the default project template and pinning profile and display the result on the Console.
pixl.RunRearrayWorkflow("1234", string.Empty, string.Empty, pinnings, x => Console.WriteLine(x.Result.Message));
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

PIXLClient Class
PIXLClient Members
Overload List