03-30-2010 02:11 PM
I'm trying to get the QEI modules to work on the LM3S8962 board and I understand that there is no LabVIEW VIs for it. I'm trying to use inline C to get everything working but I keep running into an unexpected interrupt when I look at Keil. I have enabled the QEI module and enabled the QEI Interrupt, but I still get stuck in an infinite loop. Has anybody gotten this to work or has some knowledge on the subject. I'm pretty new to LabVIEW and QEI so I apologize in advance.
Thanks for any help.
03-30-2010 03:32 PM
05-06-2010 02:54 PM
05-11-2010 03:55 AM
Hi,
I have never used the QEI module but I can recommend a process to create a driver for LabVIEW embedded for ARM:
First try with a simple c program, for this:
Go to this folder: C:\Keil\ARM\Boards\Luminary\ek-lm3s8962\
Copy and paste the LCD_Blinky folder and rename it to LCD_QEI for example.
Open the Blinky project in the LCD_QEI folder. Now try to do a small driver for QEI in this project.
For example create two files QEI.c and QEI.h with two functions: QEI_init, QEI_ReadPos .
Add these two functions in the main program and display the QEI position in the onboard display.
When the QEI driver works fine on a simple Keil µVision project, you can add the driver in LabVIEW.
Please let me know when you are at this point.
Best regards
Yann C.
France