Error Compiling LabVIEW Code to target | Arduino Compatible Compiler for LabVIEW Discussions | Forum

Avatar
Please consider registering
guest
sp_LogInOut Log In sp_Registration Register
Register | Lost password?
Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
sp_Feed Topic RSS sp_TopicIcon
Error Compiling LabVIEW Code to target
June 3, 2021
10:18 pm
Avatar
LabVIEW_guru73
Member
Members
Forum Posts: 4
Member Since:
June 3, 2021
sp_UserOfflineSmall Offline

Good afternoon,

I have been testing the Arduino Compiler for LabVIEW potentially to be used for deploying applications to the Controllino PLCs. 

Using LabVIEW 2020 with the latest Arduino Compiler 1.8.15.

When uploading and deploying applications from LabVIEW using the compiler I am getting error messages from the compiler however it appears that the basic Blink LED is compiling and uploading to the target. 

 

I get the same error when targeting the Controllino target or my Arduino Uno plain board. Not sure what I am doing wrong?

 

Currently I have the home/student edition of the compiler and working on some demo's and proof of concept applications to determine if I would license the commercial version of the Compiler Toolkit for LabVIEW to create and deploy applications.

 

Any help would be greatly appreciated!

 

-73s Steven

June 4, 2021
3:08 pm
Avatar
Ron1312
Member
Members
Forum Posts: 13
Member Since:
July 3, 2019
sp_UserOfflineSmall Offline

Looks like you haven't fixed "arduino_debug.l4j.ini"  You need to turn debug mode off.

Some time ago the arduino IDE changed the default, so you need to add the line " -DDBUG=false

Thus:

-Xms128M
-Xmx512M
-Dfile.encoding=UTF8
-Djava.net.preferIPv4Stack=true
-DDEBUG=false

June 4, 2021
3:50 pm
Avatar
LabVIEW_guru73
Member
Members
Forum Posts: 4
Member Since:
June 3, 2021
sp_UserOfflineSmall Offline

Ron,

Thank you for your reply, I will check that out. I am assuming that is the Arduino IDE ini file that I need to edit? 

June 4, 2021
4:55 pm
Avatar
Ron1312
Member
Members
Forum Posts: 13
Member Since:
July 3, 2019
sp_UserOfflineSmall Offline
July 3, 2022
4:39 pm
Avatar
Alan Kitching
Member
Members
Forum Posts: 9
Member Since:
August 16, 2019
sp_UserOfflineSmall Offline

Hi.  After running the compiler very successfully, I am now getting a fatal error.

This seemed to appear shortly after I made some changes to the location and name of a Global Variable, however, if I run the compiler on an empty VI, containing just an Error Cluster Control wired to an Error Cluster Indicator, this also produces the same error.

The attached file contains the output from the compiler.

Any help would be very much appreciated

Alan K.

July 5, 2022
6:01 pm
Avatar
Steffan
Admin
Forum Posts: 408
Member Since:
March 12, 2015
sp_UserOfflineSmall Offline

Alan Kitching said
Hi.  After running the compiler very successfully, I am now getting a fatal error.

This seemed to appear shortly after I made some changes to the location and name of a Global Variable, however, if I run the compiler on an empty VI, containing just an Error Cluster Control wired to an Error Cluster Indicator, this also produces the same error.

The attached file contains the output from the compiler.

Any help would be very much appreciated

Alan K.

  

It looks like there are multiple definitions of functions being included, possibly from a custom library you have built.  We'll respond to your support request that was received to help you resolve your issue.

July 13, 2022
4:09 pm
Avatar
Alan Kitching
Member
Members
Forum Posts: 9
Member Since:
August 16, 2019
sp_UserOfflineSmall Offline

Many thanks for the prompt response, Steffan.

I followed you suggestions to remove the duplicate references, and everything is working fine again 🙂

Regards

Alan K.

Forum Timezone: UTC 0
Most Users Ever Online: 100
Currently Online:
6
Guest(s)
Currently Browsing this Page:
1 Guest(s)
Top Posters:
miche91: 33
scottj: 28
scadao: 23
Member Stats:
Guest Posters: 5
Members: 202
Moderators: 0
Admins: 3
Forum Stats:
Groups: 1
Forums: 2
Topics: 266
Posts: 1222
Newest Members:
pujacontrol
Administrators: geadmin: 22, filipealtoe: 96, Steffan: 356