LabVIEW Embedded

cancel
Showing results for 
Search instead for 
Did you mean: 

Labview ARM embedded systems tutorial

Solved!
Go to solution

good day,

 

I started working on a project using the LM3S8962 development board to work initially lencuaje C, is very economical and in many cases better than the Arduino

 

images.jpg


but I see that you can also work with Labview, if someone worked on it and can give me some information would greatly appreciate it

0 Kudos
Message 1 of 16
(8,676 Views)

Hey Tom,

 

You can program this board using the LabVIEW Embedded for ARM module. This is one of two microprocessors that can be programmed out of the box with LabVIEW. We call it a Tier 1 device. Check out this white paper: http://www.ni.com/white-paper/7066/en . 

 

If you have the module, then LabVIEW has shipping examples that demonstrate how to do simple things like blinking the LED. Also, here is a link to our Getting Started Guide: http://digital.ni.com/manuals.nsf/websearch/F35870C88A21EDEC86257884005AC97E

0 Kudos
Message 2 of 16
(8,661 Views)

hi thanks for answering my query, check the links you suggest however I realized that I had seen before, would like to know how to control the graphic display or a servo motor, the manual attached proposed very early examples, thanks anyway for now I will continue investigating whether someone can support me would be great, I will publish the results right here

0 Kudos
Message 3 of 16
(8,649 Views)

Hey Tom,

 

In the Example Finder for LabVIEW, if you go to Toolkits and Modules>ARM>Luminary Micro>Device Drivers, there are examples for using the OLED (the example draws a waveform graph) as well as an example showing how to use the PWM output on the board. Generally you would use PWM signals to control a servo motor. I would start with those examples.

0 Kudos
Message 4 of 16
(8,645 Views)

hello, if indeed there are examples in the form of examples, but you can download to the device, it will be because I have no ULINK2, I have only the USB cable that comes with the card, when I download the code is compiling but get error, be that the examples are configured for the recorder

0 Kudos
Message 5 of 16
(8,628 Views)

You're correct that the shipping examples don't work directly with the LM3S8962 USB (Sorry, I didn't realize you were using the USB one) as the project is configured to work with a standard LM3S8962. However, the actual code should be the same so you should still be able to use the examples to understand how to program the display and use the PWM outputs.

0 Kudos
Message 6 of 16
(8,613 Views)

yeah Thanks to you, I tried to reconfigure the examples but have not had success so I'm trying to make back some, but still lack theoretical support material, especially in the pins and hardware settings. In the pinout general purpose is the same as those of pulse-width modulation, all you have the PWM pin is the duty cycle (no other parameter is the cycle period), I have not seen as configured other peripherals, thanks for your tips

0 Kudos
Message 7 of 16
(8,607 Views)
Solution
Accepted by topic author CarlosOtiniano

Hi Tom,

 

If you have questions about the hardware/pins itself, I would consult the user guide for this piece of hardware. For example, here: http://chess.eecs.berkeley.edu/eecs149/sp09/docs/EK-LM3S8962_EvalBoard_UM.pdf

 

The software/hardware connection is mostly pretty straight forward. For example, if you create an Elemental I/O point and select PWM0, then whatever you send to that node will go to the pin labeled on your board as PWM0. Also, there are a number of properties in software that you can configure in software for the PWM output: http://zone.ni.com/reference/en-XX/help/372459E-01/lvarmhelp/arm_eio_prop_pwm/

 

If you have specific questions or specific things that aren't working, I may be able to assist you, but I think that's all the general support material that we have.

0 Kudos
Message 8 of 16
(8,590 Views)

I found this book on working with the module I'm working on is a bit far more in detail about managing microcontroller hardware

 

http://books.google.com/books?id=mb5d_xeINZEC&q=labview&redir_esc=y#v=snippet&q=labview&f=false

0 Kudos
Message 9 of 16
(8,579 Views)

I'm glad you were able to find support material with the information you were looking for. If you were interested in low level working of developing drivers for other pieces of hardware, we also have these porting guides: http://www.ni.com/white-paper/6994/en

 

Have fun 🙂

0 Kudos
Message 10 of 16
(8,571 Views)