Re: about xgcom software

16 views
Skip to first unread message

helight xu

unread,
Jun 9, 2011, 9:28:16 PM6/9/11
to Ji Guoping, xg...@googlegroups.com


在 2011年6月8日 下午12:15,Ji Guoping <jigu...@163.com>写道:
Hi,
   谢谢你的软件,我现在正在使用。有一个问题,需要你帮忙一下,就是这个log file的位置和文件名是什么呢?
谢谢!
      sprintf(xcomdata->save_file, "%s/uart_data.txt", getenv("HOME"));
在用户主目录下面,保存在uart_data.txt文件中。
 

Ji Guoping



Yanjun Yang

unread,
Jun 11, 2011, 2:41:44 AM6/11/11
to xg...@googlegroups.com
建议 log 文件名增加时间戳信息或者增加串口设备名,便于保存而且可以同时
监视两个串口而不互相干扰。
比如名字叫 ttyS1_20110606083034.log

2011/6/10 helight xu <helig...@gmail.com>:

> --
> You received this message because you are subscribed to the Google
> Groups "xgcom" group.
> To post to this group, send email to xg...@googlegroups.com
> visit this group at https://groups.google.com/group/xgcom?hl=en
>

helight xu

unread,
Jun 12, 2011, 10:56:03 AM6/12/11
to xg...@googlegroups.com
在 2011年6月11日 下午2:41,Yanjun Yang <yangyj.ee@gmail.com>写道:
建议 log 文件名增加时间戳信息或者增加串口设备名,便于保存而且可以同时
监视两个串口而不互相干扰。
比如名字叫 ttyS1_20110606083034.log

恩,谢谢阿,你的这个提议非常好,我回头就修改发布
Reply all
Reply to author
Forward
0 new messages