LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with CanBus after doing Updates

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

 

 

 

Download All
0 Kudos
Message 1 of 5
(1,566 Views)

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! 🙂)

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 5
(1,559 Views)

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.

 

 

 

0 Kudos
Message 3 of 5
(1,545 Views)

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?

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 4 of 5
(1,522 Views)

@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?

========================
=== Engineer Ambiguously ===
========================
0 Kudos
Message 5 of 5
(1,516 Views)