|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||
|
|||
|
cRIO unable to connect to camera
My team is using C++ and we're trying to get our cRIO to communicate with our camera. We have the Axis 206 and an 8-slot cRIO. We have used the axis camera setup tool to set the camera up for going into the second port. We are using a crossover cable and we have been able to get video feed from our computer through a direct connection. Below is our code:
Quote:
Quote:
|
|
#2
|
|||||
|
|||||
|
Re: cRIO unable to connect to camera
What IP address is the camera using? If you want the cRIO to talk to it, the address should be 10.24.84.11.
|
|
#3
|
|||
|
|||
|
Re: cRIO unable to connect to camera
That's only true if It's plugged into the bridge, isn't it? I thought that if you had the Camera plugged straight into the second port on the 8-module models that the IP should be 192.168.0.90.
|
|
#4
|
|||
|
|||
|
The default IP address for the camera has changed this year from the 192 address using the 2nd Ethernet port to .11 on the team subnet with the camera plugged into the switch. This is because we'd like to encourage all teams to do it consistently so it's easier to help in cases like this and the cRIO II doesn't have a second port.
So try setting the cameras IP address to 10.x.y.11 (x and y are your team number) and plugging it into the switch. Or if you want to leave it in the second port, call AxisCamera::GetInstance with a string parameter of the IP address. Brad |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|