|
| List< VisionPort > | Strings [get, set] |
| |
| List< VisionPort > | StringLists [get, set] |
| |
| List< VisionPort > | Booleans [get, set] |
| |
| List< VisionPort > | BooleanLists [get, set] |
| |
| List< VisionPort > | Integers [get, set] |
| |
| List< VisionPort > | IntegerLists [get, set] |
| |
| List< VisionPort > | Reals [get, set] |
| |
| List< VisionPort > | RealLists [get, set] |
| |
| List< VisionPort > | Images [get, set] |
| |
| List< VisionPort > | ImageLists [get, set] |
| |
| List< VisionPort > | ColorImages [get, set] |
| |
| List< VisionPort > | ColorImageLists [get, set] |
| |
| List< VisionPort > | Shapes [get, set] |
| |
| List< VisionPort > | ShapeLists [get, set] |
| |
| List< VisionPort > | Points [get, set] |
| |
| List< VisionPort > | PointLists [get, set] |
| |
| List< VisionPort > | Origins [get, set] |
| |
| List< VisionPort > | OriginLists [get, set] |
| |
| List< VisionPort > | Sizes [get, set] |
| |
| List< VisionPort > | Rects [get, set] |
| |
| List< VisionPort > | RectLists [get, set] |
| |
| List< VisionPort > | Circles [get, set] |
| |
| List< VisionPort > | Polygons [get, set] |
| |
| List< VisionPort > | PolygonLists [get, set] |
| |
| List< VisionPort > | Blobs [get, set] |
| |
| List< VisionPort > | BlobLists [get, set] |
| |
| List< VisionPort > | FontsData [get, set] |
| |
| List< VisionPort > | FontDataLists [get, set] |
| |
| List< VisionPort > | Ranges1D [get, set] |
| |
| List< VisionPort > | Range1DLists [get, set] |
| |
| List< VisionPort > | Tolerances [get, set] |
| |
| List< VisionPort > | ToleranceLists [get, set] |
| |
| List< VisionPort > | Colors [get, set] |
| |
| List< VisionPort > | ColorLists [get, set] |
| |
| List< VisionPort > | LineSegments [get, set] |
| |
| List< VisionPort > | LineSegmentLists [get, set] |
| |
| List< VisionPort > | WideLineSegments [get, set] |
| |
| List< VisionPort > | WideLineSegmentLists [get, set] |
| |
| List< VisionPort > | Points3D [get, set] |
| |
| List< VisionPort > | Point3DLists [get, set] |
| |
| List< VisionPort > | Planes [get, set] |
| |
| List< VisionPort > | PointClouds [get, set] |
| |
| List< VisionPort > | Edgels [get, set] |
| |
| List< VisionPort > | EdgelLists [get, set] |
| |
| List< VisionPort > | AngleRanges [get, set] |
| |
| List< VisionPort > | Contours [get, set] |
| |
| List< VisionPort > | ContourLists [get, set] |
| |
| List< VisionPort > | RectRanges [get, set] |
| |
| List< VisionPort > | RectRangeLists [get, set] |
| |
| List< VisionPort > | ContourModels [get, set] |
| |
| List< VisionPort > | MultiResContourModels [get, set] |
| |
| List< VisionPort > | MultiResContourModelLists [get, set] |
| |
| List< VisionPort > | CorrelationModels [get, set] |
| |
| List< VisionPort > | CorrelationModelLists [get, set] |
| |
| List< VisionPort > | GreyScaleTemplateModels [get, set] |
| |
| List< VisionPort > | WideCircularArcs [get, set] |
| |
| List< VisionPort > | CircleCorrelationModels [get, set] |
| |
| List< VisionPort > | ColorTemplateModels [get, set] |
| |
| List< VisionPort > | PatternFindModels [get, set] |
| |
| List< VisionPort > | PatternFindModelLists [get, set] |
| |
| List< VisionPort > | PatternSortModelLibraries [get, set] |
| |
This class encapsulates multiple data requests at the same time.
This allows you to request all the data that you need in one single call, the big benefit is that
all this data is captured at the same time
This class is composed of a List of VisionPort for each data type
to request a particular data port add the VisionPort to the respective data type array and send the request.
...
// Create the VisionPorts
VisionPortPath imagePort = new VisionPortPath( ... );
VisionPortPath realPort = new VisionPortPath( ... );
VisionPortPath integerPort = new VisionPortPath( ... );
// Create the VisionMultipleDataRequest
VisionMultipleDataRequest multipleDataRequest = new VisionMultipleDataRequest();
multipleDataRequest.Images.Add(this.imagePort);
multipleDataRequest.Reals.Add(this.realPort);
multipleDataRequest.Integers.Add(this.integerPort);
this.visionDevice.GetMultipleDataPortValue(multipleDataRequest, CompletionHandlerFactory.Success<VisionMultipleData>((multipleData) =>
{
// Set the image if is present in multipleData structure
VisionImage visionImage = multipleData.Images[this.imagePort];
if (visionImage != null)
{
Bitmap bmp = visionImage.asBitmap();
if (bmp != null)
{
this.imagePictureBox.Image = bmp;
}
}
// Set the Real data received
double real = multipleData.Reals[this.realPort];
this.realValueTextBox.Text = real.ToString();
// Set the Integer data received
int integer = multipleData.Integers[this.integerPort];
this.integerValueTextBox.Text = integer.ToString();
}));