LabVIEW Interface for Arduino Discussions

cancel
Showing results for 
Search instead for 
Did you mean: 

Knight Rider car light

Hi, so I recently got LabVIEW through school and have been wondering how to program a row of LEDs to basically give out the effect of the Knight Rider car, I watched this video but he doesn't show how to set it up or how to download the file.

So if someone has the time to explain this or something in that way, please do since I really want to get into this as it could really benefit me for future projects.

Thanks!

0 Kudos
Message 1 of 2
(2,928 Views)

The great thing about LabVIEW code is that often it is very easy to recreate the VI from an image of the block diagram.  So, I'd recommend that you take this approach (that's exactly what I would do in this case).

 

Also, since LIFA is deprecated and no longer supported, I'd recommend that you use it's replacement, LINX.  The nice thing is that the VI will look very nearly the same.  A couple major differences:

 

  • You won't need to initialize the pin modes for the digital outputs (the for loop)
  • The digital write (N channels) will require the pin numbers for each of the pins you are using (an array of U8's).

If you have any issues implementing this, feel free to post on the LINX forums (attach your VI) and we'll help you out.

 

If you are wondering about the electrical setup, you can simply search online for how to connect LEDs to an Arduino.

0 Kudos
Message 2 of 2
(2,877 Views)