Integrated Motion
0
Items : 0
Subtotal : 0,00 
View CartCheck Out

How to time out a uart_rx_get_byte command?

Home Forums SOMANET Software Communication layer software How to time out a uart_rx_get_byte command?

This topic contains 0 replies, has 0 voices, and was last updated by  prasanna 3 years, 9 months ago.

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #1496

    prasanna

    Or more generally, is there a way to time out a particular expression, if it takes too long to execute? One application for me is to time out uart_rx_get_byte commands when they take too long to respond.

    Of course, I could do a pinseq for this particular case in the uart server. But I am looking for a more generic method that works for any command. Some sort of thread interrupt, maybe?

    Regards,

    Prasanna.

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.