Open JimXu1989 opened 8 months ago
I read one of the solution: https://aravis-project.discourse.group/t/is-it-possible-to-change-the-ip-of-a-connected-camera/226 But I do not know exactly how to code.
I use python package ipaddress to convert ip address to int, and set the camera with the following code, but the ip of camera still 192.168.100.3 arv_camera_set_integer(camera,"GevCurrentIPConfigurationDHCP",0,&error); arv_camera_set_integer(camera,"GevCurrentIPConfigurationPersistentIP",1,&error); arv_camera_set_integer(camera,"GevPersistentIPAddress",3215483944,&error); arv_camera_set_integer(camera,"GevPersistentSubnetMask",4294967040,&error);
Hi,
Are you able to use the camera and get a video stream in arv-viewer ?
Hi,
Are you able to use the camera and get a video stream in arv-viewer ?
When I set the ip by the software provide by the camera manufacture correctly, I can get image from arv-viewer
Did you try arv-tool ? For example:
arv-tool-0.8 network ip=192.168.0.1 mask=255.255.255.0 gateway=192.168.0.254
Did you try arv-tool ? For example:
arv-tool-0.8 network ip=192.168.0.1 mask=255.255.255.0 gateway=192.168.0.254
it shows read_memory timeout arv-tool-0.8 network ip=192.168.100.15 mask=255.255.255.0 gateway=192.168.100.254 GEV-SIA445-00E48218249 (192.16.100.6) Failed to open device 'GEV-SIA445-00E48218249': GigEVision read_memory timeout
Did you try arv-tool ? For example:
arv-tool-0.8 network ip=192.168.0.1 mask=255.255.255.0 gateway=192.168.0.254
My computer ip is 192.168.100.2 when I set the camera ip 192.16.100.6,it shows: arv-tool-0.8 network ip=192.168.100.15 mask=255.255.255.0 gateway=192.168.100.254 GEV-SIA445-00E48218249 (192.16.100.6) Failed to open device 'GEV-SIA445-00E48218249': GigEVision read_memory timeout
when I set the camera ip 192.168.100.6,it shows: arv-tool-0.8 network ip=192.168.100.15 mask=255.255.255.0 gateway=192.168.100.254 GEV-SIA445-00E48218249 (192.168.100.6)
All the situation, the camera ip is not changed
Describe the bug I use the follow code to set gigEcam IP ArvCamera camera; ArvBuffer buffer; GError *error = NULL;
while, the IP did not change, I check the cam ip from the camera manage software provide by the manufacturer. How to set the IP and how to print it out?
Thanks a lot.
Expected behavior A clear and concise description of what you expected to happen.
Camera description:
Platform description: