Piranha ES-xx User ManualTeledyne DALSA 03-032-20070-02513.4.5 Setting a PretriggerPurpose: A pretrigger may be required for some frame grabbers.Syntax: spt iSyntax Elements: iPretrigger in a range from 0 to 16.3.5 Data Processing3.5.1 Setting a Region of InterestPurpose: Sets the pixel range used to collect the end -of-line statistics andsets the region of pixels used in the ccg, cao, cpa, gl, gla, ccf,and ccp command s.In most applications, the field of view exceed s the required objectsize and these extraneous areas should be ignored . It isrecommend ed that you set the region of interest a few pixelsinsid e the actual useable image.Syntax: roi x1 y1 x2 y2Syntax Elements: x1Column start number. Must be less than or equal to thecolumn end number in a range from 1 to (column resolution –1).y1Row start number. Must be less than or equal to the row endnumber in a range from 1 to (row end number – 1) except inTDI Mod e w here y1 must be 1.x2Column end number. Must be greater than or equal to thecolumn start number in a range from 2 to column resolution.y2Row end number. Must be greater than or equal to the rowstart number in a range from 2 to number of stages except inTDI Mod e w here y2 must be 1.N otes: If you are using binning, the start pixel is round ed d ow n tothe beginning of binned area and end pixel is round ed up tothe end of the binned area. In Area Mod e, the roi must be w ithin the stage. If therequested roi is above the stage, the roi row s w ill be clipped .The start and end row s w ill be clipped to the stage selectionif necessary. A ―clipped to max‖ w arning message isreturned .Related Command s ccg, cao, cpa, gl, gla, ccf, ccp, elsExample: roi 10 1 50 1 (TDI Mod e)