How Can I Determine LIN Bus Power State?

Updated Dec 27, 2019

Reported In

Hardware

  • LIN Interface Device

Driver

  • NI-XNET

Issue Details

I am using XNET LIN devices. I want to determine whether LIN bus is normally powered or not. How can I check the bus power state in a programmable way?

Solution

To check the bus power, you can use XNET Read(State LIN Comm).vi, one of the instances of the polymorphic VIĀ XNET Read.vi.

You can use this API by connecting to the XNET session you're using, and you can see the communication state with the LIN comm indicator.

In the indicator, transceiver ready? indicates whether the LIN transceiver is powered from the bus. If this value is false, bus power is not sufficient or there could be a problem sourcing power to the bus.