Could I use a function block to change the ROI of a matching
Hi @jiangp
yes, the function block is ViAccessSetVfExecutionROI and you need the ViAccessBasis too.
Depends what do you want to draw, you can edit the value with viAccessRoiFormatTypeEnum
1 Like
Hi @jiangp
As @vanessaca said it is possible with that function block, just to add, if you use RECTANGLE or ELLIPSE type, it is only posible to have one region, you can’t define multiple regions, if you want to define multiple regions you should use REGION_RLE (not sure about REGION), in this way you can define multiple regions, is just a little tricky how to define them but it works.
2 Likes