ImageBuffer2File Property

Applies To
Vision Object: ImageOp

Description
Sets or returns the socond image file to be used for the SubtractAbs operation.

Usage

VGet  Sequence.Object.ImageBuffer2File, var
VSet  Sequence.Object.ImageBuffer2File, value
Sequence
Name of a sequence or string variable containing a sequence name.
Object
Name of an object or string variable containing an object name. The object must exist in the specified sequence.
var
String variable that will contain the value of the property.
value
String or string expression for the new value of the property.

Values
String containing the path of the image file.

Default: “None”

Remarks
Set the ImageBuffer2File property to use images stored on disk by the SaveImage property or by VSaveImage for the SubtractAbs operation. When ImageBuffer2 is set to “File”, the ImageBuffer2File property is available.

The image files are stored in a project subfolder in the Compact Vision and can be shared by all sequences in the project. Multiple sequences in the same project can use the same file, or different files. You cannot use a file with the same name from different paths. Use unique filenames when necessary. You can also use image files stored in a USB memory connected to the Compact Vision.

To set the value to "None" from the Vision Guide window, select the ImageBuffer2File property, then press the Del key.

To specify the file in the USB memory of Compact Vision, put "CVUSB" at the beginning.

Compact Vision only allows the use of ASCII character file names.

Supported formats for bitmap files:
(All of the following conditions must be satisfied.)

  • Uncompressed Windows Bitmap
  • Bit depth: either of 8, 24, or 32 (RGB888)

Following formats are not supported.

  • OS/2
  • Compressed files
  • Bit depth: 1, 4

See Also
ImageOp Object, ImageBuffer2 Property, SaveImage Property