Page 1 of 1
serial communication issue in windows 10
Posted: 11 Aug 2015, 07:22
by kanishka89
i was using v-rep on windows 8.1 for more than 6 months and i was able to communicate with an arduino without any hassle. but after upgrading to windows 10 the read values from the serial stream are not available in the stored variable.
here is the code that i use,
Code: Select all
countReadChar=simSerialCheck(ardd)
if (countReadChar>0) then
readDD = simSerialRead(ardd,10,false,'/n',0)
simSerialSend(ardd,'abc')
print(countReadChar)
print(readDD)
end
Re: serial communication issue in windows 10
Posted: 11 Aug 2015, 08:50
by coppelia
Hello,
could you successfully open the port, are there any error codes or messages in the console window?
Cheers
Re: serial communication issue in windows 10
Posted: 11 Aug 2015, 11:05
by kanishka89
yes the port was successfully opened and i monitored the serial buffer also which is reducing as i read the serial port but the variable prints nil on the console
i tested on a another computer with windows 10 today but end up with the same results
Re: serial communication issue in windows 10
Posted: 12 Aug 2015, 09:58
by coppelia
Ok, we will try to add alternative serial port routines for next release (beta version in 1-2 weeks).
Cheers
Re: serial communication issue in windows 10
Posted: 12 Aug 2015, 10:37
by kanishka89
coppelia wrote:Ok, we will try to add alternative serial port routines for next release (beta version in 1-2 weeks).
Cheers
hope to see the next release soon.
thanks
Kanishka
Re: serial communication issue in windows 10
Posted: 23 Apr 2016, 02:52
by dnahar
Hello,
I am facing this issue now. Was this solved? How do i work with this..
Thanks,
Dixit
Re: serial communication issue in windows 10
Posted: 25 Apr 2016, 08:14
by coppelia
In file V-REP/system/usrset.txt, change the value of useAlternateSerialPortRoutines.
Cheers