Automotive and Embedded Networks

cancel
Showing results for 
Search instead for 
Did you mean: 

error nican.dll

hello,

my computer doesn't load my application correct.
it seems that the vi's can't find the nican.dll because the message is "error loading nican.dll".

has anyone an idea?

markus
0 Kudos
Message 1 of 5
(9,799 Views)
Hi,

what kind of application are you talking about? (VI with LabVIEW, EXE, c file with C++?)
Did you install NI CAN in order to have the DLL installed?

DirkW
0 Kudos
Message 2 of 5
(9,793 Views)
Hello,

i've copied the nican.dll's to the windows\system folder and started my vi.
at start up an error message was shown.
i've got no other files installed.

markus
0 Kudos
Message 3 of 5
(9,791 Views)
In order to work with NI CAN hardware or software you have to install the complete driver . Its unfortunately not enough to copy some dlls.
 
DirkW
0 Kudos
Message 4 of 5
(9,781 Views)
Not totally sure, but I was recently having a similiar error and it was one of two things, if i recollect correctly:

1. The bus speed in my VI application and that set in the MAX were not the same.
2. The hardware was not present on the machine I was trying to develop on.  See this thread for being able to do it with Version 2.3 of the software drivers:

http://forums.ni.com/ni/board/message?board.id=30&message.id=605

per a post in there:



NI-CAN 2.3 introduced the ‘virtual CAN interface’ (aliases CAN256 and CAN257). Thus, if you use NI-CAN 2.3 (or higher) you can just initialize one of those aliases and use the generated TaskRef as an input for the nctGetProperty function.
Download the latest NI-CAN version here.



0 Kudos
Message 5 of 5
(9,722 Views)