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



SI.PIXL.Client Namespace > PIXLClient Class > RunRearrayWorkflow Method : RunRearrayWorkflow(String,ConsecutivePinningInstruction[],RunRearrayWorkflowResponseCallback) Method
The workflow's ID.
The consecutive pinnings used in the re-array.
A callback to invoke when the command has finished execution.
Run the re-array workflow using the last used project template and its pinning profile.
Syntax
'Declaration
 
Public Overloads Function RunRearrayWorkflow( _
   ByVal id As String, _
   ByVal consecutivePinningsInstruction() As ConsecutivePinningInstruction, _
   ByVal callback As RunRearrayWorkflowResponseCallback _
) As Task
'Usage
 
Dim instance As PIXLClient
Dim id As String
Dim consecutivePinningsInstruction() As ConsecutivePinningInstruction
Dim callback As RunRearrayWorkflowResponseCallback
Dim value As Task
 
value = instance.RunRearrayWorkflow(id, consecutivePinningsInstruction, callback)

Parameters

id
The workflow's ID.
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,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 last used 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