AnsweredAssumed Answered

Direct Ethernet Connection zc702 with Host PC

Question asked by Ronen on Jul 22, 2016
Latest reply on Jul 22, 2016 by Ronen

To ADI Support team.

 

Hi.

 

I've tried to connect board with host-PC directly to run matlab iio examples.

 

First, I linked board and host-PC directly by Ethernet.

 

Second, I assigned IP address manually to both board and PC side.

 

PC SIde: IPv4 : 166.104.112.49

               subnet mask : 255.255.0.0

               gateway : 166.104.112.1

 

Board Side: IPv4 : 166.104.112.50

                    subnet mask : 255.255.0.0

                     gateway : 166.104.112.1

 

Third, I confirmed connection status by command prompt at both side.

 

PC Side : C\Users\ECS> ping 166.104.112.50

                 Ping 166.104.112.50  32 bytes data used.

 

                 166.104.112.50's response : byte = 32  Time<1ms TTL = 64

                 166.104.112.50's response : byte = 32  Time<1ms TTL = 64

                 166.104.112.50's response : byte = 32  Time<1ms TTL = 64

                 166.104.112.50's response : byte = 32  Time<1ms TTL = 64

                    ....

 

It works.

 

Board Side :

lin.jpg

it works too.

 

Finally, I've tried to connect by matlab.

 

<Matlab Source / ad9361_matlab.m >

 

s = iio_sys_obj_matlab; % Constructor

s.ip_address = '166,104,112,50';

 

and an error occurs,

 

Could not connect to the IIO Server!

 

How can I solve it?

 

Regards.

Outcomes