COMTool icon indicating copy to clipboard operation
COMTool copied to clipboard

请问这个图表功能要这么用呢,收发数据没有绘图呀

Open Fancysy opened this issue 3 years ago • 10 comments

Fancysy avatar Jun 12 '22 12:06 Fancysy

image

image

按照这样拼接一个协议帧就好啦(顺便 这个帮助页面的例程写得比较简陋 能看懂就好哈哈哈哈)

Neutree avatar Jun 12 '22 12:06 Neutree

是一个发送一个接受,然后绘图吗,点击那个按钮发送数据吗,要怎样的格式呀

Fancysy avatar Jun 12 '22 14:06 Fancysy

不是。。。。 是其它设备或者程序给comtool发,comtool收到了后画图;

那个按钮是方便comtool给其它设备或者程序发送数据用的

Neutree avatar Jun 12 '22 14:06 Neutree

我在其他设备上用comtool给自己发,但是绘图没反应,要发怎样的数据呀

Fancysy avatar Jun 12 '22 15:06 Fancysy

image

image

按照这样拼接一个协议帧就好啦(顺便 这个帮助页面的例程写得比较简陋 能看懂就好哈哈哈哈)

Neutree avatar Jun 12 '22 15:06 Neutree

Fancy 2 0.4 \xAA\xCC\xEE\xBB'这样的格式嘛,还是没有反应呀/(ㄒoㄒ)/~~

Fancysy avatar Jun 13 '22 02:06 Fancysy

emmm 你先用提供的python API调试下吧。。。肯定是可以的 你自己没发送对

Neutree avatar Jun 13 '22 07:06 Neutree

好的,万分感谢

Fancysy avatar Jun 14 '22 03:06 Fancysy

请问调试成功了吗?我的graph也不显示曲线,不知道作者说的协议应该往哪里加

linghan1997 avatar Jul 12 '22 14:07 linghan1997

@linghan1997 就是外部往comtool 发送数据呀, 每帧数据按照帮助里面的函数合成一帧数据, 发送给comtool 就好啦

Neutree avatar Jul 13 '22 02:07 Neutree

看帮助信息 image

总之就是按照协议合成一个包,然后通过串口或者 TCP 等方式发送到 comtool 就会显示了

Neutree avatar Apr 24 '23 08:04 Neutree