From 04:00 PM CDT – 08:00 PM CDT (09:00 PM UTC – 01:00 AM UTC) Tuesday, April 16, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

Example Code

NI USB-8476 LIN Example using a v2.1LDF

Code and Documents

Attachment

Overview

LIN communication using a NI USB-8476 and a LDF File (Database) with  of 2.1

Description

Example utilizes the XNET and the CAN API to control a slave on a LIN bus.


Steps to Implement or Execute Code

  1. Load the required Software and save the attached VI's
  2. Read the information within the MAIN Vi and the LIN READ ME File found in the attachments.

   3.) Put everything in the same directory and

Requirements

Software

NI-CAN 15.0

NI-XNET 1.8

Hardware

NI-USB-8476

Additional Images or Video



Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.

Comments
andrea080690
Member
Member
on

I have tryed to run this VI but I miss a lot of subVI like writeCan or readCan. Where can I found it? where can I download a full program with the subVI?

SergioMRendon
Member
Member
on

Hello. 

 

I am getting familiar with the USB-8476s and so on. Can you share a simple VI where we can connect the device to the module and read the LIN? No need LDF for the moment.

 

Thanks

Sergio

Contributors