Automotive and Embedded Networks

cancel
Showing results for 
Search instead for 
Did you mean: 

LIN: Error Power Missing on Turn On PXI

Hello,

 

I have a problem with my LIN communication.

 

 

Randomly I get "Power Missing"-Error on my LIN Card, which I use in a PXI, on startup of the system.

 

The thing is that there is always voltage on the right Ports, but sometimes this error occurs.

If we do a short disconnect/connect it works fine again and the error is gone.

 

 

This doesnt happen everytime so we dont get the point what is wrong.

 

Someone here with an idea?

 

br

Sagi

0 Kudos
Message 1 of 4
(6,095 Views)

Hello Sagi,

 

is the application deployed as an exe file or is it run inside LabVIEW?

 

If it is an exe file which is run at windows startup (autostart entry) then I would say

the drivers are not yet ready when the application tries to access the device.

 

Best regards,

Peter

0 Kudos
Message 2 of 4
(6,063 Views)

Hi Peter,

thanks for your answer.

 

It's deployed as an .rtexe which is running on a PXI system at startup.

 

May there is the same problem?

 

For me, it does not sound like it could be that problem. Because if you start the PXI it first loads all the drivers and after this it would load the startup.rtexe

 

 

br

Sagi

 

 

0 Kudos
Message 3 of 4
(6,058 Views)

Hi Sagi,

 

no, that is not necessarily true.
One option is to add a wait time of 10-30 seconds to your rtexe before trying to access any network variable or a ressource.
The better option would be a proper error handling where you check the device communication
for errors and retry opening the connection if an error occurs.

 

Best Regards,

Peter

0 Kudos
Message 4 of 4
(6,039 Views)