Discussion:
i get an error in using ncWatiForState,how to solve the problem?
(too old to reply)
sunnywu
2008-05-07 03:10:07 UTC
Permalink
I recuperate a  CVI code (obj2obj) in examples, in order to receive CAN data. However, I met an ERROR, 
It shows:
(Hex 0xBFF62001) means the timeout of a wait or notification function expired before any desired state occurred. Solutions: Increase value of Timeout parameter; Verify your cable connections and operation of remote devices
 
But if the other OBJ didn't  send data,how to solve this ERROR?I means that i want to get my program continue  running without/after this error be solved?That is if time is out,it jumps to next line?
DirkW
2008-05-27 18:10:08 UTC
Permalink
You could ignore the timeout for the wait and just case to the next function you wnat to call if a timeout ocures. Thus you would not call the read function in a timeout case. Or you could loop into the wait function again to wait another timout until the frame you expected has received.DirkW
Loading...