Jump to content



Recommended Posts

i have been seeing many discussions about "Arduino" and i have no knowledge about it. 

i am planing to go for a workshop  soon. before the workshop i want to have little knowledge in this regard. Tried to search in labview forums  that took me " NI LabVIEW Interface for Arduino Toolkit".page.

I checked arduino's official website , still i need some understanding for effective usage..

what are the applications area where i can implement Arduino with Labview? 

please advise. 


note : i am reading "https://decibel.ni.com/content/groups/labview-interface-for-arduino" link now. 

is Arduino is having different standard hardware worldwide? pls help.

Edited by Grey
Link to comment

Ok so an Arduino is a microcontroller.  Not all microcontrollers are Arduinos, but all Arduinos are microcontrollers.  Arduino hardware and software is open source and has nothing to do with NI.  People can make their own Arduinos that meet their specific needs but there are several official Arduino types like the Mega and Uno.  The software used to program an Arduino is a custom build IDE which is basically C++ (correct me if I'm wrong).  Once you program the Arduino it can run without a PC, it will just do what it was told to.


Here is where LabVIEW comes in.  NI developed a toolkit which has a set of code that is put on the Arduino so that it can communicate back to a PC running LabVIEW.  This set of code allows you to do a whole bunch of stuff without needing to write any text programming because NI already has done the work for you.  This removes some of the low level features of an Arduino but for most people it is a way to add cheap hardware to LabVIEW.  The Arduino does not run LabVIEW code, and you cannot compile a VI to be put on the Arduino.  The toolkit is just a set of functions that allow you to control the Arduino from LabVIEW.


I don't know what you mean by worldwide standards, an Arduino Uno is the same anywhere in the world.

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Similar Content

    • By Ricardo de Abreu
      Hi guys. This semester I'm starting a course system development for control and automation engineering, witch will be based on LabView. Therefore, my University doesn't have a NI hardware, even a MyRIO for us to test our VI and the teacher said that we should test our projects with our own Arduino...
      So, I have a little experience in Arduino and I know the basics for LabView. Now I'm in a point that I know that with Arduino I'll not take the best from LabView. I cannot even deploy a code to it.
      So, there is where my question comes in...
      I'm looking for a new board better then Arduino to use in the classes. I would buy a MyRIO card if I had the money but in Brazil this board is too expensive for me
       Witch one should I get that is closest to myRIO and less expensive than that? I would like to try de deployment of a VI and FPGA..... Is this possible?
      Thanks a lot for the help!
    • By piZviZ
      In my project i have 2 task
      (1).Read data of sensor (attached to arduino board) serially  and display on LabVIEW.
      (2).Control output(just ON-OFF) pins of arduino using LabVIEW.
      So,for that i am using TAB in labview.created 2 TAB called Oscillospe and Input.
      If i first start Oscilloscope it work well.
      But when i come to Oscilloscope tab after using Input tab.
      It gives Time out error (VISA read)
      If i am executing in Highlight mode it works well
    • By Majo
      I need a little help. 
      I want to send from LabVIEW to Arduino via serial port the string for example "ABC" and so on. 
      The problem is that when I send the string from LabVIEW .......the Arduino do nothing. Sometimes shows some kind of sign.
      When I send the string via Visual Studio it works perfectly.
      Is there someone who can help me.
      I attached picture of vi and Arduino code
      Thank you very much.   

      Arduino code.txt
    • By Gary Rubin
      I'm not sure if this is the right sub-forum, but is anyone playing with this?
      I'd like to get a cheap copy of LabVIEW at home that isn't tied to work licenses.  The application would be playing around with my kids.
    • By marc426
      Hi everyone,
      New on this site, new to Labview, new to RS232 and actually new to pretty much everything!
      Hope I'm not posting in the wrong section... I feel a bit out of place anyway to be posting among experts but well, for lack of a better place...
      So here's the context of my problems : 
      I'm trying to set up a (crude) acquisition system based on an arduino and a couple of multiplexers / Thermocouple conditionners.
      My arduino is sending via its own USB-RS232 converter a string of all the values (approx. 20) as characters.
      I figured out I could use Labview to do a nice displaying and logging of these values.
      Now, I identified and downloaded VISA to communicate via RS232.
      OK so, in the MAX explorer, I have under port & peripherals the VISA test panel and if I try the viReadtofile under Basic I/O, it gives me a nice file with one set of values (one line). So it does communicate ! YAY!!!
      Onto the next part... I used a template from Labview, continuous datalogging and I just put the read to file VI but now when I press the RUN button, it gives me the two following errors.
      Error 1 occurred at Property Node (arg 1) in VISA Configure Serial Port (Instr).vi->Test_Read_VISA_1.vi   Error -1073807346 occurred at VISA Read To File in Test_Read_VISA_1.vi   Why is it already blocking my progress?    And after that, I'm not sure I understand how can I process the output of the reading of the serial (basically, slicing the string of characters in it's values and displaying and logging them)? All the VI seem to directly process the serial readings to one thing without the opportunity for me to do anything to it...       I'm attaching my VI even though it's pretty much only the read to file VI... I'm even ashamed to be that bad but I hope you guys will find enough faith in Labview to teach the basics to a newb like me!     Thanks by advance!     Marc Test_Read_VISA_1.vi
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.