[Scilab-users] Sockets in scilab 6.0
James Holland
j_holland at msn.com
Thu Jun 21 21:56:47 CEST 2018
I finally got back to this. The problem I am having now is that wireshark is
showing two sets of LF,CR appended to the end of the string that it sends,
this seems to be causing the oscilloscope to fail to recognise the message.
If I use the command line in the manufacturer's software then I get data
back, in Scilab nothing. This is what I see on wireshark:
>From DS Wave:
0000 38 d2 69 a2 04 9e a0 8c fd 1d e0 79 08 00 45 00 8Òi¢.. .ý.ày..E.
0010 00 2d 46 bf 40 00 80 06 00 00 c0 a8 01 47 c0 a8 .-F¿@.....À¨.GÀ¨
0020 01 48 d4 96 0b b8 ec 1f 69 0d 00 00 19 99 50 18 .HÔ..¸ì.i.....P.
0030 fa f0 83 ff 00 00 2a 49 44 4e 3f úð.ÿ..*IDN?
>From Scilab:
0000 38 d2 69 a2 04 9e a0 8c fd 1d e0 79 08 00 45 00 8Òi¢.. .ý.ày..E.
0010 00 31 46 d3 40 00 80 06 00 00 c0 a8 01 47 c0 a8 .1FÓ@.....À¨.GÀ¨
0020 01 48 d4 b0 0b b8 4f ed f3 c9 00 00 19 a0 50 18 .HÔ°.¸OíóÉ... P.
0030 fa f0 84 03 00 00 2a 49 44 4e 3f 0d 0a 0d 0a úð....*IDN?....
Is this problem embedded in the TCL/TK interface? If it is then I would
consider that a bug, CR/LF should be optional.
--
Sent from: http://mailinglists.scilab.org/Scilab-users-Mailing-Lists-Archives-f2602246.html
More information about the users
mailing list