Back
[18:06:25] <micges> in programming hal rt modules, are there any way to mark part of code as uninteruptible by faster thread?
[18:08:02] <micges> (I know that can lead to increase delays, but more importand is to get correct data from device)
[18:14:18] <awallin_> are you sure HAL can interrupt a comp-block?
[18:15:34] <awallin_> if your function takes too long to execute I think everything will just be late
[18:15:41] <awallin_> that probably causes an error
[18:21:44] <alex_joni> hmmm
[18:21:55] <alex_joni> the only way is to connect it to a faster thread
[18:22:00] <alex_joni> which has higher priority
[18:22:16] <alex_joni> even if the rate is not needed, you can make it sleep every 9 out of 10 periods
[18:23:47] <micges> that I was thinking too
[18:24:30] <micges> but I don't like any sleeps ;)
[18:25:32] <micges> and it must be created some fast thread with fp
[19:14:42] <skunkworks> mozmck:
http://electronicsam.com/images/asymtek/parts.jpg