How To: Steaming Video on VP200 from a SICK Camera

The VP200 allows you to add live camera feeds to your visualization project. This example uses a SICK camera, though a similar approach would apply to other camera providers such as Cognex. Also, this little How To assumes you already have basic knowledge of how to program a VP200.

Quick note, I was not able to get the web widget or IP camera widget to work via the LAN2 port on the VP200. If anyone has any ideas as to why, please reply. For the time being, expect to only be able to use the LAN1 port.

Go to the Applications tab in the camera’s WBM to find the URL’s for RTSP and MJPEG access. Also, be sure to make sure that RTSP is enabled if that is what you plan to use. MJPEG is typically enabled by default. You’ll need to log in as Service on the camera to enable RTSP:

Add the IP Camera widget to your screen.

In the Properties panel, double click on the URL field to add the URL from obtained from the Applications area of the camera’s WBM. Add the URL under the Expression tab in both the initial value and Expression fields. Also, be sure to select the desired display format. In this example you can see that RTSP is selected and the URL is for the RTSP feed from the camera.

Add the Username and Password if necessary. Though, it isn’t needed by the camera by default.

Download the project to the VP200.

In addition, if you can use the Web Widget to include the entire WBM of the camera in your project. This allows you to configure/manipulate the camera from the VP200 without the need for a laptop. Combine this with the VNC function of the VP200 and remote management of the camera is possible.

This seems pretty simple, but it wasn’t obvious that the URL had to be entered under Expression rather than Tag in the Binding Properties pop-up in Visual Designer.

Also, it may not be obvious that the SICK camera provides the URLs for you, so there is no need to hunt them down. If anyone knows whether other camera manufactures supply the same info, please add a comment.