Page 1 of 1

realtimeXScope

Posted: Mon Dec 26, 2016 12:11 pm
by aybarskizilay
Hi,
I am new user of XMOS and I have started to play with XMOS starter kit. I was doing the exercises and I have encountered with the error. The exercise that I was working on is :Getting Started with Real-Time xSCOPE in xTIMEcomposer Studio". The program basically should display the sin waves values.
I have followed these instruction for real time analyses.

1) Build projects
2)Run configuration
3) Select my hardware
4)Select the real-time mode
And the under the real time option, port is automatically set to 10101.
When I run my program, I receive this error : ERROR: socket Bind2, ipaddress: localhost, port: 10101

Please help me to solve this problem...

Thanks

Re: realtimeXScope

Posted: Tue Dec 27, 2016 11:49 am
by henk
Hi,

Two thoughts.

1) It may be that the port is already in use - maybe by a previous incarnation. You can try and change the number

2) your O/S may not be able to resolve localhost? What O/S do you use?

Cheers,
Henk

Re: realtimeXScope

Posted: Tue Dec 27, 2016 11:52 am
by aybarskizilay
Hi,
Thanks for replying. I am using macOS Sierra.
I can change the number but I should change it to which value?

Thanks

Re: realtimeXScope

Posted: Tue Dec 27, 2016 12:07 pm
by henk
Hi,

I am using El Capitan - and that resolves localhost fine.

Try 10123 and see whether that is free. Any number in the 10,000 range should be fine.

Cheers,
Henk

Re: realtimeXScope

Posted: Tue Dec 27, 2016 12:11 pm
by aybarskizilay
Hi,

Thanks for help, I will try it.