LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

ni-can grayed out in library menu

I would be most grateful if someone could assist with the following which is driving me nuts. Spent all afternoon yesterday installing NI Labwindows CVI 2010 in addition to my previous NI Labwindows 9.0 so that I could open a project created by a colleague in CVI 2010.

 

When I first tried to build the project in the new 2010 install I got a missing nican.h error message, so I installed latest Ni-Can 2.7.2 off the Nican 2.7.2 disc but I still cannot build the project, I get a list of project link error messages like " Undefined symbol '_ncAction@12' referenced in "CANNI.c"."


In my 2010 install if I go to >Library then my NI-CAN is grayed out, if I go to >Library >Customise then NI-CAN is checked, If I run my old 9.0 version then the NI-CAN is there OK in the Library menu.

 

I have checked and I have nican.h in the C:\Program Files\National Instruments\CVI2010\include folder.

 

I would try to uninstall (then reinstall) either my old CVI 9.0 or my new CVI 2010 and even the NI-CAN 2.7.2 but there does not seem to be an uninstall facility for any of these (nor are they picked up a 'installed programmes' within Windows control panel Add/Remove programmes).

 

Can someone please advise how I can go about sorting this problem, I have searched the knowledge base and forum and drawn a blank...

 

thanks in advance

0 Kudos
Message 1 of 9
(3,983 Views)

does anyone have any possible ideas why Ni-Can might be grayed out in the library menu...?

0 Kudos
Message 2 of 9
(3,966 Views)

I am getting the same error message, but no help anywhere on how to remedy? Anyone know what this means?

Does the 2.7.3 version of CAN support the same functions the older version supported?

Like ncAction, ncCloseObject,....? I used these before?

0 Kudos
Message 3 of 9
(3,926 Views)

Hi Ken,

 

My name is Oli, I'm part of the Applications Engineering team at NIUK.

 

Thanks for your post.  I'm sorry that you haven't had a repose yet.  If you are having a similar problem to another member that is quite an old post, it is often a good idea to start a brand new forum thread and link to the old one in your post.  This is particularly an issue if the older thread has had a high number of views, but very few responses.

 

In response to the issue you are seeing, the first thing we should try is to do a thorough reinstall of both NI-CAN and NI-DAQmx (if you have DAQmx installed).  The reinstall should be done in the following order:

 

  1.  Uninstall NI-DAQmx
  2.  Uninstall NI-CAN
  3.  Delete the NI-CAN directory from the \National Instruments\LabVIEW xxxx\ and National Instruments\CVIxxxx directories
  4.  Delete all registry keys referring to NI-CAN (using regedit.exe)
  5.  Install the latest version of NI-DAQmx (9.5.5)
  6.  Install the latest version of NI-CAN (2.7.3)

The key is to ensure that the NI-CAN registry entries are removed.  This will ensure that LabWindows/CVI will be updated with the new install.

 

I hope that helps.  Let me know if you're still having issues.

 

Best Regards,

Oli
LabVIEW Student Ambassador
National Instruments UK
Message 4 of 9
(3,897 Views)

Oli,

Thanks for your response. I was on vacation last week, so it is good to see your response now that I am back.

I will do as you have listed here, either today or tomorrow, after I catch up with what went on here while I was gone, and I will post here with the results.

0 Kudos
Message 5 of 9
(3,879 Views)

Oli,

 

That did it. CAN works fine now.

 

Thanks for the help.

 

Ken

0 Kudos
Message 6 of 9
(3,871 Views)

Hi Ken,

 

That's great news, thanks for letting me know.

 

To keep the forums up to date, would you mind accepting my previous post as the solution.  That way the forum is marked as 'solved' for other users to see.

 

Best Regards,

Oli
LabVIEW Student Ambassador
National Instruments UK
0 Kudos
Message 7 of 9
(3,866 Views)

Oli,

When I found out that was the solution, I clicked the only thing that looked like a "solved" button, the Kudos.

I don't see any "solved" button or anything else to click, where would such a thing be located?

0 Kudos
Message 8 of 9
(3,862 Views)

Hi Ken,

 

Apologies, that's my mistake.  The 'Accept Solution' button is only available for the original poster.  I had forgotten that you weren't the original thread starter.  For reference - the button would appear in the lower right corner (next to the 'Reply' button) of any reply throughout the thread (including your own) so that you could choose the answer that contains the solution.

 

Not to worry.  Thanks for the Kudos anyway!

 

Best Regards,

Oli
LabVIEW Student Ambassador
National Instruments UK
0 Kudos
Message 9 of 9
(3,860 Views)