Automotive and Embedded Networks

cancel
Showing results for 
Search instead for 
Did you mean: 

waking up ncWaitForState

Hello,

i have a problem with my application after updating from nican 1.6 to nican 2.1.2.

To receive CAN messages, i start a thread and wait with ncWaitForState. Now, if i want to stop this thread, i send NC_ST_STOP with ncAction, and ncWaitForState returned (in Version 1.6). With nican 2.1.2 ncWaitForState doesn't return. How can i perform the same functionality in the new version ?
I don't want to kill the thread because of proper programming techniques.
Thanks for any suggestions.

Harry
0 Kudos
Message 1 of 2
(3,225 Views)
Hello Harry,
Please submit an email support request about this issue at www.ni.com/ask. Address the email to Ray.
Thanks.
0 Kudos
Message 2 of 2
(3,225 Views)