12-23-2021 04:45 AM
Hi All
After Updating the LabView programms I get an error regarding the Canopen SubVI's.
The 1. problem occurs by opening the LabView programm, it does not find the file "nicanopenlvapi.dll". Where can I find it and why does it has this problem now (It didn't happen before)?
This causes further problems with all the Canopen SubVi's (see picture), but I don't know what I can do to solve it. As far as I know there should be some path behind but I don't see the right solution for this issue.
Before I did all the updates the programm was running and had no issues regarding canbus, therefore the "syntax" of our labview should not be the cause.
kind regards
12-23-2021 04:56 AM - edited 12-23-2021 04:56 AM
Hi Biforot,
@Biforot wrote:
After Updating the LabView programms I get an error regarding the Canopen SubVI's.
What exactly did you update?
Did you just change your source code?
Did you update the CAN driver(s)?
Did you update/upgrade LabVIEW?
Did you create new executables from your source code?
Which CAN and CANopen drivers do you use?
@Biforot wrote:
Before I did all the updates the programm was running and had no issues regarding canbus, therefore the "syntax" of our labview should not be the cause.
Simply switch back to an older revision using your SCC (source code control) tool: now your program should be executable again!
(When you don't use a SCC tool until now: congratulations, you have learned about their importance for professional software creation! 🙂)
12-23-2021 06:29 AM
Thank you for the fast answer.
What exactly did you update?
I started to update the drivers and firmware for our DAQmx to the recent version.
after that I had to Update the labview version (We use still 2018)and the canopen drivers as well.
Did you just change your source code?
I haven't changed anything there.
Did you update the CAN driver(s)?
I have the Versions installed shown in the picture for the canbus.
Did you update/upgrade LabVIEW?
Yes
Do you know something about this file "nicanopenlvapi.dll" is it important? Right now I am trying to repair the Canopen drivers, hopeful to get some positive result.
12-23-2021 09:42 AM
Hi Biforot,
@Biforot wrote:
Did you update the CAN driver(s)?
I have the Versions installed shown in the picture for the canbus.
Did you update/upgrade LabVIEW?
Yes
Why did you upgrade a running system at all?
And what was the driver version before the upgrade?That part is crucial: there used to be an old CANopen driver, used as an wrapper over the also old NI-CAN driver. Atleast that's the CANopen driver I know of…
@Biforot wrote:
Right now I am trying to repair the Canopen drivers, hopeful to get some positive result.
Is it an option to switch back to the system state when your VI was executable?
12-23-2021 11:47 AM
@GerdW wrote:
Why did you upgrade a running system at all?
I have to agree with GerdW here: Don't fix something that is not broken!
Have you tried reinstalling NI-CAN or the latest CAN driver package you are using?