Automotive and Embedded Networks

cancel
Showing results for 
Search instead for 
Did you mean: 

ERROR :ncWaitforState: Unknown Status -1074388991

This is the error code I recieve while using the VB sample application. From that point, using the ncRead will give a similar response. This is a one channel PCI-CAN card. All diagnostics check O.K. There are no other errors up to this point while opening the object. Need Help!
0 Kudos
Message 1 of 4
(4,760 Views)
Hello,

This error (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.

Verify that you can communicate with your instrument. If you have NI-CAN 1.5, then you can use the Bus Monitor by configuring it up to CAN0 and hooking up a device to see if any frames are being read. The Bus Monitor logs all traffic on the bus.

Kim L.
Applications Engineer
National Instruments
0 Kudos
Message 2 of 4
(4,760 Views)
Thank You for responding. I am using NI-CAN 1.5 I have verified communications with the Bus Monitor Utility. This also verifies cable connections and remote devices, yes? There are no errors configuring the object to this point in the obj2obj code. I have increased the time to 15 seconds, but this has no affect. The "start on open" attribute when configuring is set to true and I have also tried to use ncAction to ensure that it starts a read.
0 Kudos
Message 3 of 4
(4,760 Views)
If you can communicate using the Bus Monitor, then your cables are set up properly. Make sure you close the Bus Monitor before running your program. The Visual Basic part of NI-CAN 1.5.1 is beta. We will offer more Visual Basic support in the future, but at this point there is no official support. The NI-CAN Programmer's Reference may help you determine if there is a problem with the program.

Is it an option for you to work with the C examples to troubleshoot your code?

Good luck.
0 Kudos
Message 4 of 4
(4,760 Views)