Question:
Can images be captured with a video camera by Elipse SCADA?
Solution:
Yes, this can be done via Snapshot function of videoIn object (which belongs to the Video object inserted onto screen).
The current video frame is recorded by Snapshot function in a file with a pre-determined name and path. It accepts the following image formats: RAW, BMP, GIF, and JPEG
This function has two different parameters: filename and type.
The filename parameter contains, between quotation marks, the directory where the image is saved, its name, and its extension. Example: “C:\image.bmp“.
The type parameter contains the following options:
- 0 – RAW file (saves current frame in disk, no conversion)
- 1 – BMP format
- 2 – GIF format (limited to a 256-color palette)
- 3 – JPEG format
Therefore, the function will be written in the following format: videoIn.Snapshot(“C:\imagem.bmp”, 1)