Displaying values from Arduino on LV soft front panel | 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
Displaying values from Arduino on LV soft front panel
February 18, 2017
10:38 am
Avatar
tech1962
New Member
Members
Forum Posts: 2
Member Since:
February 18, 2017
sp_UserOfflineSmall Offline

Hello,

new to Arduino and this compiler, however experienced with embedded and LV.

Im able to run editted LV programs on my Arduino Uno. Nice.

How do I go about running a program which can display values from the Uno back to the PC based LV SFP ?

I assume the transfer is via the serial port /USB ?

Is there an example that shows a basic display of say analog input voltage on a LV SFP ?

In the compiler example "serial-monitoring-arduino target" is mentioned a HOST PC vi...however I cannot find this.

Perhaps this is the key example I am looking for ?

or is this not possible for an Uno ?

Thanks for any help.

February 18, 2017
7:49 pm
Avatar
filipealtoe
Admin
Forum Posts: 98
Member Since:
March 12, 2015
sp_UserOfflineSmall Offline

Yes, that is the example you are looking for. 

C:\Program Files (x86)\National Instruments\LabVIEW 2014\examples\Aledyne-TSXperts\Arduino Compatible Compiler for LabVIEW\Serial\Monitoring GUI

Cheers
Filipe

February 19, 2017
5:25 am
Avatar
tech1962
New Member
Members
Forum Posts: 2
Member Since:
February 18, 2017
sp_UserOfflineSmall Offline

Thanks for the prompt reply.

I had success the first compile..and then I started to make some edits, and ran into this error.

Error 42 occurred at Arduino Compatible Compiler for LabVIEW.lvlib:ArduinoSketchGenerator.vi

I still get this error even after reverting to the original project and code.

I inserted a status indicator on the status output of compiler.vi in host.vi and received :

Loading configuration...
Initializing packages...
Preparing boards...
Verifying...
Uploading...
avrdude: ser_open(): can't open device "\\.\COM7": The system cannot find the file specified.
An error occurred while uploading the sketch

The uno is connected and working.

Is there perhaps some need to clear the port so it can be found ?

Thanks for your help.

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