Serial Example that ships won't generate arduino code | 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
Serial Example that ships won't generate arduino code
April 15, 2018
3:46 am
Avatar
wegunterjr
Member
Members
Forum Posts: 23
Member Since:
August 25, 2015
sp_UserOfflineSmall Offline

I did a test to see if I could generate the arduino code from the Arduino Compiler for LabVIEW, but I got errors that the library was not supported:

Error in Serial - Monitoring GUI - Arduino Target.vi: Arduino Function "Arduino Compatible Compiler for LabVIEW.lvlib:Serial Open' not supported.

It says it generated downloadable program, and sent it to the Arduino, but why can't I generate the code?

Other shipping examples can do it, but not the serial one...

April 15, 2018
6:06 pm
Avatar
Steffan
Admin
Forum Posts: 408
Member Since:
March 12, 2015
sp_UserOfflineSmall Offline

You cannot use the "Arduino Code" option to generate code of built in APIs and primitives.  The use of that function is strictly for porting a third party Arduino library.  Refer to the Porting an Arduino Library to LabVIEW section on the manual.  The Compiler does not allow you to view the code, it deploys directly to the Arduino.

April 16, 2018
3:09 am
Avatar
wegunterjr
Member
Members
Forum Posts: 23
Member Since:
August 25, 2015
sp_UserOfflineSmall Offline

ah..that makes sense.   I moved on and accepted that it worked since all shipping examples were just fine. HA.

Thanks for the clarification!

Forum Timezone: UTC 0
Most Users Ever Online: 100
Currently Online:
2
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