OK, I got the Cognex In-Sight 7050 camera for testing.
I setup FTP server with FileZilla and I’ve got pictures from the camera to the folder on the PC.
Every time you trigger the camera, you get the BMP or JPG file. If you want the overlays, then you get also the SVG file.
This is JPG only file:
And this is combined in Internet Explorer:
I can’t upload the SVG file (forum doesn’t allow), but this is the text from SVG:
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="800" height="600" viewBox="0 0 800 600">
<image x="0.0" y="0.0" width="800px" height="600px" xlink:href="Image369.jpg"/>
<line x1="0.0" y1="0.0" x2="800.0" y2="0.0" stroke-width="5" stroke="#FF0000" />
<line x1="0.0" y1="0.0" x2="0.0" y2="600.0" stroke-width="5" stroke="#FF0000" />
<line x1="0.0" y1="600.0" x2="800.0" y2="600.0" stroke-width="5" stroke="#FF0000" />
<line x1="800.0" y1="0.0" x2="800.0" y2="600.0" stroke-width="5" stroke="#FF0000" />
<g>
<line x1="514.4" y1="368.8" x2="516.6" y2="348.9" stroke-width="2" stroke="#00FF00" />
<polyline points="0,0 -12,-6 -10,0 -12,6" fill="#00FF00" stroke="#00FF00" transform="translate(514.4 368.8) rotate(96.4)"/>
<line x1="525.4" y1="360.0" x2="505.6" y2="357.7" stroke-width="2" stroke="#00FF00" />
<polyline points="0,0 -12,-6 -10,0 -12,6" fill="#00FF00" stroke="#00FF00" transform="translate(525.4 360.0) rotate(6.4)"/>
</g>
<polyline points="0,0 -12,-6 -10,0 -12,6" fill="#00FF00" stroke="#00FF00" transform="translate(40.0 320.0) rotate(90.0)"/>
<polyline points="0,0 -12,-6 -10,0 -12,6" fill="#00FF00" stroke="#00FF00" transform="translate(420.0 40.0) rotate(0.0)"/>
<text x="20.0" y="329.0" style="font-family:Arial;font-size:12pt;font-style:normal;font-weight:normal;fill:#00FF00">X</text>
<text x="420.0" y="29.0" style="font-family:Arial;font-size:12pt;font-style:normal;font-weight:normal;fill:#00FF00">Y</text>
<path d="M 40.0,40.0 L 800.0,40.0 L 800.0,600.0 L 40.0,600.0 z " stroke-width="2" stroke="#00FF00" fill="none"/>
<line x1="201.3" y1="148.0" x2="201.3" y2="156.0" stroke-width="2" stroke="#00FF00" />
<line x1="201.3" y1="148.0" x2="201.3" y2="156.0" stroke-width="2" stroke="#00FF00" />
<line x1="201.3" y1="160.0" x2="201.3" y2="168.0" stroke-width="2" stroke="#00FF00" />
<line x1="191.3" y1="158.0" x2="199.3" y2="158.0" stroke-width="2" stroke="#00FF00" />
<line x1="203.3" y1="158.0" x2="211.3" y2="158.0" stroke-width="2" stroke="#00FF00" />
<circle cx="201.3" cy="158.0" r="10.0" stroke-width="2" stroke="#00FF00" fill="none"/>
<line x1="200.5" y1="132.1" x2="202.1" y2="184.0" stroke-width="2" stroke="#00FF00" />
<line x1="525.3" y1="335.7" x2="525.3" y2="343.7" stroke-width="2" stroke="#00FF00" />
<line x1="525.3" y1="335.7" x2="525.3" y2="343.7" stroke-width="2" stroke="#00FF00" />
<line x1="525.3" y1="347.7" x2="525.3" y2="355.7" stroke-width="2" stroke="#00FF00" />
<line x1="515.3" y1="345.7" x2="523.3" y2="345.7" stroke-width="2" stroke="#00FF00" />
<line x1="527.3" y1="345.7" x2="535.3" y2="345.7" stroke-width="2" stroke="#00FF00" />
<circle cx="525.3" cy="345.7" r="10.0" stroke-width="2" stroke="#00FF00" fill="none"/>
<line x1="464.9" y1="349.7" x2="585.8" y2="341.7" stroke-width="2" stroke="#00FF00" />
<text x="201.3" y="147.0" style="font-family:Arial;font-size:9pt;font-style:normal;font-weight:normal;fill:#FF0000">Distance_1</text>
<line x1="201.3" y1="158.0" x2="525.3" y2="345.7" stroke-width="2" stroke="#FF0000" />
<polyline points="0,0 -12,-6 -10,0 -12,6" fill="#FF0000" stroke="#FF0000" transform="translate(525.3 345.7) rotate(30.1)"/>
<polyline points="0,0 -12,-6 -10,0 -12,6" fill="#FF0000" stroke="#FF0000" transform="translate(201.3 158.0) rotate(-149.9)"/>
<text x="10.0" y="19.0" style="font-family:Arial;font-size:9pt;font-style:normal;font-weight:normal;fill:#00FF00">Math_1 = 0.000</text>
<text x="300.0" y="209.0" style="font-family:Arial;font-size:9pt;font-style:normal;font-weight:normal;fill:#008000">374.454</text>
</svg>
The second line in SVG shows, that it looks for JPG file and then draws vector graphics over it.
Is it possible now to show this two images (or SVG alone) in Ignition somehow?
I can’t find rhe way…