dipanwita Posted June 15, 2023 Report Share Posted June 15, 2023 I have installed NI CAN driver to communicate in LABVIEW. I can see CAN channel mentioned in NI MAX. But I cannot find the functions in function palatte. Am I missing any step or what is the problem behind it. Can anyone suggest. I am a beginner. Quote Link to comment
LogMAN Posted June 15, 2023 Report Share Posted June 15, 2023 (edited) You should find the CAN palette under Measurement I/O. That said, NI CAN is only for legacy CAN hardware. For newer hardware, NI XNET is the way to go: NI-XNET CAN, LIN, and FlexRay Platform Overview - NI Edit: Forgot to mention NI Example Finder, which includes several examples on how to use the API (via Help > Find Examples). Edited June 15, 2023 by LogMAN 1 Quote Link to comment
dipanwita Posted June 16, 2023 Author Report Share Posted June 16, 2023 As My Labview version is 2017, I have installed NI-CAN 17.0. NI-XNET is for higher version I think so. I checked NI Example finder also, but there is no CAN example available. What can be the problem ? suggestion please. One more thing, I checked the installation path and I found there is no .lib File (Library palette) present. Is it the problem for all? if so please provide me correct download link or so. (though I always download from NI website) Quote Link to comment
hooovahh Posted June 16, 2023 Report Share Posted June 16, 2023 NI-XNet is newer then NI-CAN. I believe its first release supported LabVIEW 2010 or so. It really is a superior API with much more flexible features. I cover some of the differences in NI-CAN and NI-XNet in Part 3 of my CAN blog. Part 6 goes into XNet in more detail. Newer CAN hardware support either API, but some old stuff does need to use NI-CAN. One thing you didn't mention was if you installed NI-CAN 17 after installing LabVIEW or not. During the install it will detect versions of LabVIEW installed and add support for it. So if you install NI-CAN then LabVIEW, you won't see the supporting palettes. You can just run the NI-CAN installer again and it will add any missing components. This will add Example Finder examples from the Help >> Find Examples menu, and add the NI-CAN palette, I believe it goes under the Measurement I/O on the functions palette, but I don't have it installed at the moment. Quote Link to comment
dipanwita Posted June 19, 2023 Author Report Share Posted June 19, 2023 yes, I have installed LABVIEW 2017 before NI-CAN 17.0. I run quite a few times the CAN file to check if everything fine or not. but I do not find CAN palette or even examples under Find examples. Another point is there is no lib file present in NI-CAN installer. What should I do now? What would be a solution. Quote Link to comment
sam Posted June 19, 2023 Report Share Posted June 19, 2023 5 hours ago, dipanwita said: yes, I have installed LABVIEW 2017 before NI-CAN 17.0. I run quite a few times the CAN file to check if everything fine or not. but I do not find CAN palette or even examples under Find examples. Another point is there is no lib file present in NI-CAN installer. What should I do now? What would be a solution. Other's have repeatedly answered your question that you need to look into ni-xnet. So let me ask you another way, what is your CAN hardware? Is it from NI or another part? Please list their model and identification so we can make sure you're using the right drivers Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.