Automotive and Embedded Networks

cancel
Showing results for 
Search instead for 
Did you mean: 

ncWaitForState.vi error behavior unpredictable

 

Yes, I tried with 1000ms and 2000ms also. The problem is the frame is transmitted sometimes only e.g. If I run the program for the first time

the frame gets transmitted but next time I get the timeout error.

I am writing only 1 message to the sensor and the write queue length is set to 100.

 

0 Kudos
Message 11 of 18
(3,453 Views)

Hi,

I have an NI USB 4874 and I have found a VI using the BlueVI but i don0 t have it, where can I found the blue VI?

0 Kudos
Message 12 of 18
(1,483 Views)

Are you also having problem with the behavior of the ncWaitForState.vi?  If not then I suggest you start your own thread this one is 2 years old and is unrelated to your issue.  You may also want to install the NI-CAN drivers.

0 Kudos
Message 13 of 18
(1,479 Views)

That's what I see in the labview code. I have just installed NI Can.

0 Kudos
Message 14 of 18
(1,477 Views)

What version of LabVIEW, and what version of NI-CAN?  Is it on your palette?

0 Kudos
Message 15 of 18
(1,475 Views)

NI-CAN version 15 and Labview Version 2013 and I have tryed as well with Labview 2016 student version.

0 Kudos
Message 16 of 18
(1,468 Views)

NI-CAN 15, doesn't support LabVIEW 2016.  The general rule is that a version of a toolkit supports that version of LabVIEW, and 3 major releases before.  Only NI-CAN 16 supports 2016.

 

That being said installation order matters.  If you install NI-CAN 15, then install LabVIEW 2013, then install LabVIEW 2016 then the result will be no version of LabVIEW will have NI-CAN support, and you need to install NI-CAN again.  When installing NI-CAN the installer will find what versions of LabVIEW are installed that are supported, and default to installing support for them.  If none are installed at the time then no LabVIEW IDE will have NI-CAN support added.  I can't say for sure but I suspect this is your issue and installing NI-CAN 16.0 will add support for NI-CAN in LabVIEW 2013 and 2016.  Or installing NI-CAN 15 again to add support for NI-CAN in LabVIEW 2013.

0 Kudos
Message 17 of 18
(1,450 Views)

Thanks for your answer, finally I have reinstallede NI-CAN 16 and NI-XNET and now it works with Labview 2016. I have solve the problem!!!

0 Kudos
Message 18 of 18
(1,448 Views)