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 4 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
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: 304
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
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
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: 304
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
Forum Posts: 5
Member Since:
December 10, 2016
sp_UserOfflineSmall Offline

Works great.

thank you.

Forum Timezone: UTC 0

Most Users Ever Online: 33

Currently Online:
5 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

John: 18

RTSLVU: 15

Dan6077: 11

Member Stats:

Guest Posters: 0

Members: 80

Moderators: 0

Admins: 3

Forum Stats:

Groups: 1

Forums: 2

Topics: 58

Posts: 289

Newest Members: Geraldkix, ThomasSoogs, Angelvor, AngelaMuh, Nsneilohone

Administrators: geadmin: 5, filipealtoe: 35, Steffan: 89