cannot get simple example sketch running - analog input temperature vi | 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
cannot get simple example sketch running - analog input temperature vi
December 12, 2016
2:09 am
Avatar
hib
Member
Members
Forum Posts: 5
Member Since:
December 10, 2016
sp_UserOfflineSmall Offline

Please suggest a way to get me up and running with the home version demo.  i have used labview and arduinos for years.

 

Compiler will not produce result on my UNO, Windows10,  labview 2016

 Arduino IDE 1.6.12 is running and non labview compiler sketches upload and access serial port work with UNO connected to COM12.

 I load Labview compiler example:  Analog Input – Temperature.vi

I run 'compiler verify only'.  It says: compiling and downloading .. finished.

Next I try 'compile and download' (with the IDE Running and on Com port 12.

 No activity occurs on the UNO board light

I select the serial monitor. shows intended characters generated by the  last skch that was running on thd board before I used the labview compiler.

I select arduino code:

Many errors are reported including:

error in analog input--- temperature vi :   function not supported

and many more functions not supported

 

Should the arduino IDE be running?

December 12, 2016
5:01 am
Avatar
Steffan
Admin
Forum Posts: 408
Member Since:
March 12, 2015
sp_UserOfflineSmall Offline

Please refer to this FAQ regarding your issue.

Also, the Arduino Code option is only for use when porting an Arduino Library to LabVIEW.  Refer to this section in the help manual for more information on the Arduino Code option. 

December 12, 2016
10:01 pm
Avatar
hib
Member
Members
Forum Posts: 5
Member Since:
December 10, 2016
sp_UserOfflineSmall Offline

I am trying to run the same example at work on an IDE version  1.6.13.  i get a compile error:

1.0.0.21, Arduino/Genuino Zero (Programming Port)
Loading configuration...
Initializing packages...
Preparing boards...
Verifying...
C:\Users\h5b\AppData\Local\Temp\58e9973bb6e2e908c6c199f5a9d39075.tmp\temp\temp.ino:1:21: fatal error: LVArray.h: No such file or directory

#include "LVArray.h"

 

please advise how to run this sketch.

December 13, 2016
1:34 am
Avatar
hib
Member
Members
Forum Posts: 5
Member Since:
December 10, 2016
sp_UserOfflineSmall Offline

Now I have two computers unable to run the example sketch Analog input--- temperature vi

On my home computer I uninstalled arduino 1.6.12 and installed 1.6.11.  i uninstalled and reinstalled the arduino compiler for labview.  I get this error.    No such file or directory  #include "LVArray.h"

this is the same error I get on my work computer with arduino 1.6.13 IDE,  this IDE version is supposed to address the problem yo described.  

where is the "LVArray.h" file supposed to be located?

please suggest a solution.

December 13, 2016
2:39 am
Avatar
Steffan
Admin
Forum Posts: 408
Member Since:
March 12, 2015
sp_UserOfflineSmall Offline

Take a look on the forum. This post should help.

December 13, 2016
3:50 am
Avatar
hib
Member
Members
Forum Posts: 5
Member Since:
December 10, 2016
sp_UserOfflineSmall Offline

Works great.

thank you.

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