LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Maxon Epos error during deployment

Hello all,

   I have made a simple program in order to test the maxon epos library but when I try to launch it, I have an issue during the deployment process the "Error Converter (ErrCode or Status).vi loaded with errors on the target and was closed." error appears. I have tried to recompile the program as indicated here : https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z000000P8ejSAC but that doesn't work.

 

   I'm using Labview 2017 with a CRIO-9035. The frist Epos is connected to the CRIO with RS232, then three the three others are connected to the First one with a CANopen bus.

 

Thanks in advance.

 

0 Kudos
Message 1 of 5
(2,580 Views)

Hi David,

 

most probably that VI contains functions which aren't supported on your RT target…

Best regards,
GerdW


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

Hi,

 

Thanks for your answer, do you know if there is any other library I could use? Or should I try to fix the maxon's library?

 

Best regards,

0 Kudos
Message 3 of 5
(2,553 Views)

Hi David,

 

should I try to fix the maxon's library?

That library was made for use on a standard (Windows) pc. It's not made for use on RT targets.

So you don't need to "fix" it.

 

Instead you could create your own copy of that library and edit it to be able to use it with your RT target.

Best regards,
GerdW


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

The EposCmd.dll uses the stdcall (WINAPI) calling convention, that probably why it's not working on the NI Linux Real Time OS.

 EDIT: Seems like I didn't scroll down enough to see the last Gerdw reply Smiley Happy

Ben64

0 Kudos
Message 5 of 5
(2,538 Views)