3:11 am
June 3, 2015
I use LabVIEW 2015 with myRIO extension, Arduino IDE 1.6.11, Windows 10 32-bits on a Virtual Machine (as always I did).
The last release of Arduino LabVIEW Compiler, professional edition but I tried with the student edition too with same in success.
Looks like the Arduino IDE can't find the followings:
#include "LVArray.h"
#include "A4Lhelper.h"
Only an empty while loop is compilable, any builtin functions (as a "+1" function) appears at not supported.
Regards,
Maurizio Bollini.
LabVIEW Consultant, CLA.
Project Manager, MET S.r.l. Milano, Italy.
3:08 pm
March 12, 2015
This error looks similar to the one reported on this post:
https://www.geverywhere.com/for.....-clock-vi/
Can you check if your setup is similar to the one described on the post above?
Thanks
Filipe
Cheers
Filipe
7:30 am
June 3, 2015
In order to try to understand the issue, I deleted both Arduino IDE and Arduino LabVIEW Compiler on a PC running Windows 10.
I also made sure to remove all leftovers, like Arduino libraries folders.
Then I installed in the sequence:
- Arduino IDE 1.6.12
- I checked the functionality deploying a blink sketch to Arduino Uno
- I'd check the sketch location in the Arduino IDE which is "C:\Users\Maurizio\Documents\Arduino"
- I installed the Arduino Compatible Compiler for LabVIEW 1.0.0.21 using VI Package Manager 2016
- I compiled the "Digital output - Blink LED.vi" from the examples.
- It compiles but don't deploy to flash, no errors issued.
- The command "Arduino Code Ctrl-R" fails.
Looking the "Arduino Compatible Compiler for labVIEW.lvlib", all .cpp and .h files missing.
Using the "Find Missing Items" command appears that the library expect to find these files on the root directory C:\ which is wrong.
Libraries files are correctly located in C:\Users\Maurizio\Documents\Arduino\libraries.
Looks like an installation procedure issue.
What is the procedure to fix it?
Regards,
Maurizio Bollini.
LabVIEW Consultant, CLA.
Project Manager, MET S.r.l. Milano, Italy.
7:32 am
June 3, 2015
1:58 pm
March 12, 2015
First of all, the Arduino Code option won't work for this. That option is only for developing your own library wrappers and will only show you converted Arduino code for custom wrappers. You should only be using the Compile/Compile And Download options.
The missing cpp/h files are not an issue. Those are remnant files that were part of the build directory but the library does not access those files.
As far as your issue, have you confirmed you have the correct serial port selected and are using the Compile and Download option?
2:18 pm
June 3, 2015
Yes, I confirmed to have the right serial port selected either with Arduino, before, and Arduino LabVIEW Compiler.
I double checked in the two ways: 1) the Arduino IDE deploy through it, 2) I can send data to that port on the Arduino LabVIEW Compiler (if you send characters, the TX LED on the board blink, so the connection is correct).
Another case, I installed the Arduino LabVIEW Compiler on a different PC where Arduino IDE was already installed and I get the same issue, the VI compiles but don't deploy.
About the Arduino Code Option I was not aware of the usage. Thanks.
Any clue to let me to fix the main issue? Any check I can do for you?
Regards,
Maurizio Bollini.
LabVIEW Consultant, CLA.
Project Manager, MET S.r.l. Milano, Italy.
I also have similar issue with compiler error when I upgraded to higher version of Arduino IDE (1.6.10+).
*I am still using Arduino IDE 1.6.5.
Please try this or downgrade to previous version.
Refer the replied from @pert from Arduino forum here.
https://forum.arduino.cc/index.....msg2862678
Delete the folder C:\Users\[USER]\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc
Restart the Arduino IDEThe problem should now be fixed
This issue is that the latest Arduino AVR core uses a new version of avr-gcc and is incompatible with the previous version. There is a bug with the Arduino IDE that causes installation of Sanguino to install the old compiler version which causes that error. By deleting the old avr-gcc version it forces the Arduino IDE to use the new version that's included with the IDE installation instead.
5:16 pm
March 12, 2015
Thanks Amornthep for posting. We are currently looking into this. It does appear recent versions of the Arduino IDE have broken the particular command line interface that the ACC4LV uses in order to execute the compiler programmatically. The Arduino IDE is constantly changing and often there are bugs that are introduced on their side that break the interface to the ACC4LV. I am investigating which is the last version of the IDE that works with the ACC4LV and will try to isolate the issue and will identify a workaround.
6:54 pm
March 12, 2015
maurizio.bollini said
Yes, I confirmed to have the right serial port selected either with Arduino, before, and Arduino LabVIEW Compiler.I double checked in the two ways: 1) the Arduino IDE deploy through it, 2) I can send data to that port on the Arduino LabVIEW Compiler (if you send characters, the TX LED on the board blink, so the connection is correct).
Another case, I installed the Arduino LabVIEW Compiler on a different PC where Arduino IDE was already installed and I get the same issue, the VI compiles but don't deploy.
About the Arduino Code Option I was not aware of the usage. Thanks.
Any clue to let me to fix the main issue? Any check I can do for you?
Ok, we have identified the issue and it has already been submitted to the Arduino IDE developers a few days ago. They have acknowledged the issue and have a workaround posted here. You can also downgrade to 1.6.11 until they fix it. We have also added an FAQ for this issue here.
19
1 Guest(s)