From Saturday, Nov 23rd 7:00 PM CST - Sunday, Nov 24th 7:45 AM CST, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW Interface for Arduino Discussions

cancel
Showing results for 
Search instead for 
Did you mean: 

Labview with Teensy 3.1

Hi


I've been using Teensy 3.1 for about a week now on my project and it has been great so far. Initially, I was using the Arduino Uno for about a month and had to switch to Teensy 3.1 for its faster Serial.write speeds.

I'm currently taking it to the next step and add a Labview interface. I managed to set up my Labview software to work with the Arduino and did a simple blinky test and it worked fine. I had to use the Labview for Arduino Interface library to get this working.


Now, I am trying to set up the Labview to work with the Teensy.


I followed the steps on this page : https://www.pjrc.com/teensy/languages.htm

This modified Arduino code allows Teensy to work with LabVIEW's Arduino library.

I assume this is the same as the aforementioned library that is tweaked to work with the Teensy.


I extracted the file from the .zip and opened LVIFA_Base.ino. With my Teensy 3.1 connected, i tried to upload the .ino code but received the following error:


Click image for larger version.   Name: Screen Shot 2015-01-07 at 4.20.15 pm.png  Views: 0  Size: 32.5 KB  ID: 3255


This report would have more information with
"Show verbose output during compilation"
enabled in File > Preferences.
Arduino: 1.0.5-r2 (Windows 7), Board: "Teensy 3.1"
AFMotor.cpp:94: error: #error "This chip is not supported!"
AFMotor.cpp:108: error: #error "This chip is not supported!"
AFMotor.cpp:125: error: #error "This chip is not supported!"
AFMotor.cpp:140: error: #error "This chip is not supported!"
AFMotor.cpp:158: error: #error "This chip is not supported!"
AFMotor.cpp:172: error: #error "This chip is not supported!"
AFMotor.cpp:192: error: #error "This chip is not supported!"
AFMotor.cpp:206: error: #error "This chip is not supported!"
In file included from AFMotor.cpp:13:0:
AFMotor.h:121: error: 'CS01' was not declared in this scope
AFMotor.cpp: In constructor 'AF_Stepper::AF_Stepper(uint16_t, uint8_t)':
AFMotor.cpp:310: error: 'CS20' was not declared in this scope

I've been stuck here for some time and can't find any way around this.


Any advice?


Thanks in advanced.

0 Kudos
Message 1 of 1
(3,877 Views)