PXI

cancel
Showing results for 
Search instead for 
Did you mean: 

Why do I get error "-1074388885" when using CANopen in PXI RT?

Dear all,

 

I built a test program (reading only the temprature of a motor) to use it later to exchange data between NI- PXI RT  and a LUST servo controller, which are locally connected with CAN network. Please see the attached VI. After run the program , a communication error with CAN network is happend. The error code is (-1074388885; CANopen NMT send.vi) after that the RT-Target give an error a message:
 
 (impossible to connect to target Real-time)
 
and then switched off. To connect it again, switched off/on of power supply has to be done.

I test the CAN connection between them with MAX, the test results give no problems.


Normally this test program was before running  correct between PC (with NI CAN-card) and Lust servo motor.

 

Does anybody have a solution?

 

Regards

 

al_ibr

0 Kudos
Message 1 of 8
(4,773 Views)

Hi,

Could you provide the version of LabVIEW and MAX that you installed?
Which hardware do you use?

Regards

 

Yann C.

France

0 Kudos
Message 2 of 8
(4,753 Views)
Hi Yann, Many thanks for your reply. The LV version is 8.6 and MAX is 4.5. The PXI RT has the following data: NI PXI chassis: 1031 NI PXI embedded controller: 8104NI PXI CAN card: 8461 The servo controller (Lust CDD3000) has a CAN card LUST CM CANI (see attached documentation). The equivalent program in PC with NI PCI CAN/2, which tests the data exchange with this servo controller, is attached (works without any problem). I attached the project file for the test program in PXI RT. Regards al_ibr   

 

0 Kudos
Message 3 of 8
(4,734 Views)

Hi,

Can you try test_progr_CAN_non_RT.vi directly on your PXI target. Just create a new LabVIEW project with your PXI target, add  test_progr_CAN_non_RT.vi under calculDroit target and launch the Vi.

Do you have an error?

Regards

Yann C.

France

0 Kudos
Message 4 of 8
(4,711 Views)

Hello,

 

yes, I got the same error (begining by start remote node).

 

Regards

al_ibr

0 Kudos
Message 5 of 8
(4,695 Views)

Can you provide a screenshot of all software that you installed on your PXI?(by using MAX)

 

Below you can find some KB related to CanOpen and RT Target:

Setup an NI-CAN Real-Time Application in MAX

Startup Application with CANopen VIs on Real Time Targets

Hope this helps.

Regards

Yann C.

France

0 Kudos
Message 6 of 8
(4,679 Views)

Hello Yann,

 

Find below the schreenshot of PXI-Software.

I will let you know, if the Information provided in the link will help.

 

Regards

al_ibr

0 Kudos
Message 7 of 8
(4,670 Views)

Hi Yann,

 

I tried with the provided information in the Links (included in your last reply). First I download the CAN chanells to the RT. Then I discovered that one file is missing (cvi_lvrt.dll) in the RT, as mentioned in the second link. It was difficult to put this file beside the existing one (ni_cano.dll) in the project tree, as described in the end of the second link.

I could only did a normal transfer through MAX using FTP_explorer (but I could not see it in the project tree).

 

After run the program, the same error is happend.

 

Regards

al_ibr

0 Kudos
Message 8 of 8
(4,619 Views)