Camera IP (ONVIF)

This function block enables users to access and retrieve the latest snapshot from an IP camera that adheres to the ONVIF standard. It is particularly useful for integrating modern IP camera systems into projects.

πŸ“₯ Inputs

This function block does not have any inputs.

πŸ“€ Outputs

Image Any The latest image captured from the IP camera.

πŸ•ΉοΈ Controls

Address The IP address of the camera, typically in the format of 192.168.0.10.

Port The port number for accessing the camera interface, usually 80 or 8080.

User name The username required to access the camera. Defaults to admin unless otherwise specified.

Password The password associated with the username, which can be left empty if not applicable.

🎨 Features

ONVIF Compliance Utilizes the ONVIF protocol for seamless communication with modern IP cameras.

Easy Configuration Provides a straightforward interface for setting up the camera credentials and address.

πŸ“ Usage Instructions

  1. Enter Camera Address: Input the IP address of your IP camera in the Address field.

  2. Set Port Number: Specify the port of the camera in the Port field, or leave it as default (80).

  3. Provide Credentials: Input the username and password required for camera access.

  4. Evaluate: Run the block to retrieve the latest snapshot from the IP camera.

πŸ“Š Evaluation

When executed, the function block sends a request to the specified camera and retrieves the most recent frame, outputting it directly.

πŸ› οΈ Troubleshooting

Camera Not Accessible

Ensure that the IP address and port number are correct and that the camera is powered on and connected to the same network as your system.

Incorrect Credentials

If unable to access the camera, check the username and password. They are often found in the camera's documentation or user manual.

No Image Retrieved

Verify that the camera supports ONVIF and is configured correctly. Additionally, ensure that it's set to provide snapshot functionality.

πŸ’‘ Tips and Tricks

Use Static IPs

Where possible, assign a static IP address to your camera. This eliminates the need for constant updates to your configuration as IP addresses can change.

Test Connection Before Use

Use network utilities to ping the camera's IP address to test the connection before trying to retrieve images.

Last updated