Go to Post Sometimes it's not about being fair. Some people are just very good at what they do. - Koko Ed [more]
Home
Go Back   Chief Delphi > Technical > Programming > NI LabVIEW
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rating: Thread Rating: 6 votes, 5.00 average. Display Modes
  #1   Spotlight this post!  
Unread 13-06-2009, 18:43
eitang eitang is offline
Hamosad 1657
AKA: Eitan Galon
FRC #1657 (Hamosad)
Team Role: Alumni
 
Join Date: Jul 2007
Rookie Year: 2008
Location: Israel
Posts: 24
eitang has a spectacular aura abouteitang has a spectacular aura about
Controlling Arduino through Labview

i wanted to know if there is a way to control an arduino board through labview instead of its software that just uses code
__________________
Reply With Quote
  #2   Spotlight this post!  
Unread 13-06-2009, 19:44
Andrew Schreiber Andrew Schreiber is offline
Joining the 900 Meme Team
FRC #0079
 
Join Date: Jan 2005
Rookie Year: 2000
Location: Misplaced Michigander
Posts: 4,060
Andrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond repute
Re: Controlling Arduino through Labview

What do you mean by control? Do you mean program or do you mean communicate with? Communication should mean just opening a serial port and writing to it. Programming could be a little more difficult because you have to compile the c++ code and then transfer it to the microprocessor. If you can give me a little more of an idea what you are trying to do I might be able to help a little more.
__________________




.
Reply With Quote
  #3   Spotlight this post!  
Unread 13-06-2009, 19:47
eitang eitang is offline
Hamosad 1657
AKA: Eitan Galon
FRC #1657 (Hamosad)
Team Role: Alumni
 
Join Date: Jul 2007
Rookie Year: 2008
Location: Israel
Posts: 24
eitang has a spectacular aura abouteitang has a spectacular aura about
Re: Controlling Arduino through Labview

i mean programming and communication. i want to build a small robot and i'm not too good in programming but i have expirence in labview from frc this year
__________________
Reply With Quote
  #4   Spotlight this post!  
Unread 13-06-2009, 23:09
Andrew Schreiber Andrew Schreiber is offline
Joining the 900 Meme Team
FRC #0079
 
Join Date: Jan 2005
Rookie Year: 2000
Location: Misplaced Michigander
Posts: 4,060
Andrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond repute
Re: Controlling Arduino through Labview

Have you tried the arduino programing environment? I have found it to be incredibly simple yet powerful. Plus, it will be a LOT easier to do than to write the Labview code you would more than likely need to even communicate with the processor (Disclaimer: I haven't tried it I could be wrong). There are also a ton of resources on the arduino site.

Now, if you wanted to actually program the arduino in Labview code and then hit compile and then download that to the arduino you are looking at a LOT of work. You would need to write some way of translating the LV code into instructions the microprocessor could understand. Then transfer that to the arduino somehow.

<theory>If Labview can generate c++ code you should be able to generate it and then just copy paste it into the arduino environment and compile and upload that way. That or you could compile your file and upload it by hand but that is something I have never tried doing</theory>
__________________




.
Reply With Quote
  #5   Spotlight this post!  
Unread 14-06-2009, 07:33
Greg McKaskle Greg McKaskle is offline
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,751
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
Re: Controlling Arduino through Labview

The normal LV environment doesn't translate to C code. There is an add-on module that does this, and it allows you to target the large number of embedded devices that are out there. You will find that the development, especially the debugging is a bit more tedious that using RT, though.

Greg McKaskle
Reply With Quote
  #6   Spotlight this post!  
Unread 14-06-2009, 23:54
DonRotolo's Avatar
DonRotolo DonRotolo is offline
Back to humble
FRC #0832
Team Role: Mentor
 
Join Date: Jan 2005
Rookie Year: 2005
Location: Atlanta GA
Posts: 6,995
DonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond repute
Re: Controlling Arduino through Labview

With a small effort, it is possible to learn how to program an Arduino in its native language/environment. Either use the tutorials they offer, or buy a book. In a week of study you will know how to program something, and in 2 months (just when school is starting up again!) you will be very good at it, able to make that Arduino jump up and sing if you want it to....

Try it, you might surprise yourself.

Of course, we are all here to help if you have any questions. So, no fear.
__________________

I am N2IRZ - What's your callsign?
Reply With Quote
  #7   Spotlight this post!  
Unread 16-06-2009, 18:16
Luke Pike's Avatar
Luke Pike Luke Pike is offline
Programmer
FRC #1501 (THRUST)
Team Role: Mentor
 
Join Date: Jan 2008
Rookie Year: 2008
Location: Huntington
Posts: 114
Luke Pike is a name known to allLuke Pike is a name known to allLuke Pike is a name known to allLuke Pike is a name known to allLuke Pike is a name known to allLuke Pike is a name known to all
Re: Controlling Arduino through Labview

The programming language for an Arduino is basically C, with just one function that you need to put code in. Have a look at some of the examples on the Arduino site and you'll see how easy it is.
__________________
Twitter Profile
Reply With Quote
  #8   Spotlight this post!  
Unread 21-08-2009, 17:01
RoboMaster's Avatar
RoboMaster RoboMaster is offline
Alum, former programmer&co-captain
FRC #2472 (The Centurions)
Team Role: Mentor
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Minnesota, Twin Cities
Posts: 268
RoboMaster has a brilliant futureRoboMaster has a brilliant futureRoboMaster has a brilliant futureRoboMaster has a brilliant futureRoboMaster has a brilliant futureRoboMaster has a brilliant futureRoboMaster has a brilliant futureRoboMaster has a brilliant futureRoboMaster has a brilliant futureRoboMaster has a brilliant futureRoboMaster has a brilliant future
Re: Controlling Arduino through Labview

Yes, after looking at the complicated compiler used for FRC, I decided not to try too hard to learn C, especially because we were using LabVIEW, which I like.

But after looking at the Arduino programming environment, I was really surprised and delighted. It is very simple and easy.

Here are a couple great resources for programming Arduinos and Arduino in general:

Arduino 101 videos at Maker Shed (Check out the rest of the page too.)
Ladyada.net learning electronics with Arduino Some programming in there.
Arduino Programming Manual Great manual about the environment, how to program, and all the functions.
__________________
My engineering blog: noeticbrainwaves.blogspot.com

I'm not slacking, my code's compiling
...and I'm using LabVIEW
Reply With Quote
  #9   Spotlight this post!  
Unread 13-11-2009, 00:06
valiot's Avatar
valiot valiot is offline
LabVIEW Champion
AKA: Michael Aivaliotis
no team
Team Role: Programmer
 
Join Date: Oct 2007
Rookie Year: 2008
Location: San Jose
Posts: 7
valiot is an unknown quantity at this point
Re: Controlling Arduino through Labview

Quote:
Originally Posted by Greg McKaskle View Post
The normal LV environment doesn't translate to C code. There is an add-on module that does this, and it allows you to target the large number of embedded devices that are out there. You will find that the development, especially the debugging is a bit more tedious that using RT, though.

Greg McKaskle
Greg, are you implying that this LabVIEW add-on module allows you to target the Arduino? What is this module called?
__________________
Thank You
Michael Aivaliotis
JKI VI Shots LAVA
Reply With Quote
  #10   Spotlight this post!  
Unread 13-11-2009, 07:36
Greg McKaskle Greg McKaskle is offline
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,751
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
Re: Controlling Arduino through Labview

http://www.ni.com/labview/microprocessor_sdk.htm

That page contains the more general tool that I was thinking about, and on the left are links to more specific ones too. The Arduino isn't viewed as an important instrumentation target, so these tools won't directly reference it.

But generally, this is the tool that was developed to go from LV to C/C++ code in order to target specialized processors such as DSPs and micros. Similarly, the FPGA module goes from LV to VHDL to target even more specific silicon.

Back to micros
http://www.thaieasyelec.net/index.ph...oard/p_64.html

This is an example of it in use.

http://timothytwillman.com/itp_blog/?p=82

And this is someone using one tool to program the Arduino, but using LV to integrate it with their computer

Greg McKaskle
Reply With Quote
  #11   Spotlight this post!  
Unread 06-12-2010, 01:20
ErikRantapaa ErikRantapaa is offline
Registered User
FRC #2532 (Flash Power)
Team Role: Mentor
 
Join Date: Nov 2010
Rookie Year: 2010
Location: 2532
Posts: 16
ErikRantapaa is an unknown quantity at this point
Re: Controlling Arduino through Labview

Here is another write-up on how to interface LabVIEW and an Arduino:

http://web.me.com/iklln6/automation/LabVIEW.html
Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Using an Arduino as a robot controller (2010 and beyond?) Leav Control System 14 13-02-2009 22:35
Vex/Arduino Serial Port Help weinbergmath Programming 2 30-05-2008 20:43
Controlling team 803 Programming 10 21-02-2006 13:56
Controlling motors railerobotics Programming 6 17-01-2006 17:17


All times are GMT -5. The time now is 10:42.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi