Re: questions about rtai-lab and qrtailab
Paolo Mantegazza <[email protected]> Mon, 16 Oct 2017 12:23:17 +0200
| Newsgroups | gmane.linux.real-time.rtai |
|---|---|
| Message-ID | <[email protected]> |
On 10/16/2017 11:17 AM, Tom wrote: > From > > https://www.rtai.org/userfiles/downloads/RTAILAB/qrtailab-0.1.12.tar.bz2 > Qrtailab has been used because of the EFLTK troubles in setting RTAILab on 64 bits machines. A few fixes have made it work reliably for our application at hand, but we are not yet at ease with its internals. Then is something that should be cared of. I see that RT_RPC is systematically called with a null pointer, nonetheless no crash happens in the use I'm seeing at work here around. How are you using it (locally vs distributed).Do you witness any crash without the fix you are pointing at? Paolo > > > > At 2017-10-16 17:00:49, "Paolo Mantegazza" > <[email protected]> wrote: > > I'll pass the question to the scicoslab interface expert. > On my side I would like to know where did you take qrtailab from? > Paolo > > On 10/16/2017 10:02 AM, Tom wrote: >> Hi, all >> >> I am new to rtai and trying to use rtai-lab with scicoslab. >> Config: >> linux 3.18.20 >> rtai 5.0.1 >> scicoslab 4.4.1 >> qrtailab-0.1.12 >> >> I think function `set_double' in rtmain44.c goes wrong when >> running on x86_64 arch. >> unsigned long l = ((unsigned long *)from)[0]; >> unsigned long h = ((unsigned long *)from)[1]; >> because unsigned long would take 8 bytes. >> >> And I think there should be a null pointer guard before >> assignment in qrtailab/src/qrtailab.h line 115 function RT_RPC >> *reply = (unsigned int)ret; >> to >> if (reply) >> { >> *reply = (unsigned int)ret; >> } >> >> regards. >> >> tom@shanghai >> >> >> 【网易自营】好吃到爆!鲜香弹滑加热即食,经典13香/麻辣小龙虾仅75元3斤>> >> <http://you.163.com/item/detail?id=1183001&from=web_gg_mail_jiaobiao_7> >> >> >> >> _______________________________________________ >> Rtai mailing list >> [email protected] >> https://mail.rtai.org/cgi-bin/mailman/listinfo/rtai > > > > > 【网易自营】好吃到爆!鲜香弹滑加热即食,经典13香/麻辣小龙虾仅75元3斤>> > <http://you.163.com/item/detail?id=1183001&from=web_gg_mail_jiaobiao_7> _______________________________________________ Rtai mailing list [email protected] https://mail.rtai.org/cgi-bin/mailman/listinfo/rtai