You are on page 1of 3

Home (//www.ni.

com/) 
Community Home (/)  User Groups (/t5/User-Groups/ct-p/user-groups)  Product Groups (/t5/Product-Groups/ct-p/product-groups)
 LabVIEW Interface for Arduino (LIFA) (/t5/LabVIEW-Interface-for-Arduino/ct-p/7008)  LabVIEW Interface for Arduino Documents (/t5/LabVIEW-Interface-for-Arduino/tkb-p/7306)
LABVIEW INTERFACE FOR ARDUINO DOCUMENTS
Register for the community (https://lumen.ni.com/idp/profile/SAML2/Unsolicited/SSO?
providerId=https://forums.ni.com/auth/saml&cifaction=create&isoLang=en&target=https%3A%2F%2Fforums.ni.com%2Ft5%2FLabVIEW-Interface-for-
Arduino%2FArduino-Example-Continuous-Sampling-Example%2Fta-p%2F3522380)
|
Log in (https://lumen.ni.com/idp/profile/SAML2/Unsolicited/SSO?
providerId=https://forums.ni.com/auth/saml&cifaction=login&isoLang=en&target=https%3A%2F%2Fforums.ni.com%2Ft5%2FLabVIEW-Interface-for-
Arduino%2FArduino-Example-Continuous-Sampling-Example%2Fta-p%2F3522380)
| Help (/t5/help/faqpage)

Documents  Search the community

Document Options

Arduino Example: Continuous Sampling Example  

by Kevin_F (/t5/user/viewprofilepage/user-id/195570) on 01-03-2012 03:41 PM - edited on 01-30-2017 09:49 AM by


Kevin_F (https://forums.ni.com/t5/user/viewprofilepage/user-id/195570)

Examples (/t5/LabVIEW-Interface-for-Arduino/tkb-p/7306/label-name/examples?labels=examples)

Before opening this example, make sure to install the LabVIEW Interface for Arduino. (/docs/DOC-15971)
Description:
This example shows how to read an analog input continuously on the Arduino using the LabVIEW Interface for Arduino.
Tutorial:
1. Make sure you have installed the LabVIEW Interface for Arduino.
2. Open the Arduino Continuous Acquisition Example VI (search for "Arduino" in the example finder (http://www.ni.com/gettingstarted/labviewbasics/examples.htm) once the toolkit is installed).
3. On the front panel, select the Arduino analog pin you want to read and the acquisition speed.
4. Connect the signal you want to sample to the pin you selected.
5. Connect your Arduino to your PC with a USB cable. Optionally you can specify the COM port associated with your Arduino to the VISA resource terminal of the Init.vi to decrease the time require for
LabVIEW to connect to the Arduino.
6. Click Run.
7. The VI will run until you select Stop. You should not run other Arduino VI's while this example is being run.

Regards,
Kevin
Product Support Engineer
National Instruments
Arduino (/t5/tag/Arduino/tg-p/board-id/7306) example (/t5/tag/example/tg-p/board-id/7306) labview-2009 (/t5/tag/labview-2009/tg-p/board-id/7306)
Labview-2010 (/t5/tag/Labview-2010/tg-p/board-id/7306) labview_interface_for_arduino (/t5/tag/labview_interface_for_arduino/tg-p/board-id/7306)

View All (5) (/t5/forums/tagdetailpage/tag-cloud-grouping/tag/tag-cloud-style/frequent/message-scope/single/message-uid/3522380/user-scope/all/tag-scope/all/timerange/all/tag-visibility-


scope/all)

1
 (HTTPS://FORUMS.NI.COM/T5/TKB/V2_4/ARTICLEPAGE.KUDOSBUTTONV2.KUDOENTITY:KUDOENTITY/KUDOSABLE-GID/3522380?T:AC=BLOG-ID/7306/ARTICLE-ID/382&T:CP

(/t5/LabVIEW-Interface-for-Arduino/Arduino-Example-Continuous-Sampling-Example/ta-p/3522380) (/t5/LabVIEW-Interface-for-Arduino/Arduino-Example-Con

-CONTINUOUS-SAMPLING-EXAMPLE%2FTA-P%2F3522380&TITLE=ARDUINO+EXAMPLE%3A+CONTINUOUS+SAMPLING+EXAMPLE&USERNAME=POWEREDBYLITHIUM)

COMMENTS

(/t5/user/viewprofilepage/user-id/230978) fclaus (/t5/user/viewprofilepage/user-id/230978) MEMBER 06-15-2012 01:34 PM Options 

gostaria de me informar como seria o procedimento incluir mais um canal de aquisição,


I would like to inform how the procedure would include more than one acquisition channel,

2 KUDOS (

 (HTTPS://FORUMS.NI.COM/T5/TKB/V2_4/ARTICLEPAGE.KUDOSBUTTONV2.KUDOENTITY:KUDOENTITY/KUDOSABLE-GID/3522381?T:AC=BLOG-ID/7306/ARTICLE-ID/382&T:CP=KUDO

(/t5/user/viewprofilepage/user-id/406969) umangchheda (/t5/user/viewprofilepage/user-id/406969) MEMBER 09-18-2013 11:08 AM Options 

can u please explain the block diagram form Scracth,And the logic of this..Please i m new to LabView

 (HTTPS://FORUMS.NI.COM/T5/TKB/V2_4/ARTICLEPAGE.KUDOSBUTTONV2.KUDOENTITY:KUDOENTITY/KUDOSABLE-GID/3522382?T:AC=BLOG-ID/7306/ARTICLE-ID/382&T:CP=KUDO

(/t5/user/viewprofilepage/user-id/151319) A.Hakim (/t5/user/viewprofilepage/user-id/151319) MEMBER 10-30-2013 12:43 PM Options 

It does not work for me for aruino MEGA

A.Hakim

 (HTTPS://FORUMS.NI.COM/T5/TKB/V2_4/ARTICLEPAGE.KUDOSBUTTONV2.KUDOENTITY:KUDOENTITY/KUDOSABLE-GID/3522383?T:AC=BLOG-ID/7306/ARTICLE-ID/382&T:CP=KUDO

(/t5/user/viewprofilepage/user-id/430132) arif63 (/t5/user/viewprofilepage/user-id/430132) MEMBER 12-31-2013 09:02 AM Options 

Can you please tell how can I get this output from the arduino in circuit level? How an I define the output pin?

 (HTTPS://FORUMS.NI.COM/T5/TKB/V2_4/ARTICLEPAGE.KUDOSBUTTONV2.KUDOENTITY:KUDOENTITY/KUDOSABLE-GID/3522384?T:AC=BLOG-ID/7306/ARTICLE-ID/382&T:CP=KUDO

(/t5/user/viewprofilepage/user-id/434106) ElielNational (/t5/user/viewprofilepage/user-id/434106) MEMBER 01-10-2014 02:28 PM Options 

Do I must to write a software code for arduino? Such as an "analog write"?

1 KUDO (

 (HTTPS://FORUMS.NI.COM/T5/TKB/V2_4/ARTICLEPAGE.KUDOSBUTTONV2.KUDOENTITY:KUDOENTITY/KUDOSABLE-GID/3522385?T:AC=BLOG-ID/7306/ARTICLE-ID/382&T:CP=KUDO

(/t5/user/viewprofilepage/user-id/425539) Frizzie (/t5/user/viewprofilepage/user-id/425539) MEMBER 04-07-2015 12:32 PM Options 


Como podría hacer este ejemplo pero que sea multicanal la adquisición?

 (HTTPS://FORUMS.NI.COM/T5/TKB/V2_4/ARTICLEPAGE.KUDOSBUTTONV2.KUDOENTITY:KUDOENTITY/KUDOSABLE-GID/3522386?T:AC=BLOG-ID/7306/ARTICLE-ID/382&T:CP=KUDO

(/t5/user/viewprofilepage/user-id/322825) dovis (/t5/user/viewprofilepage/user-id/322825) MEMBER 12-02-2015 04:26 PM Options 

Someone know how to connect bluetooth with arduino??

useing HC-06 BT Module.

 (HTTPS://FORUMS.NI.COM/T5/TKB/V2_4/ARTICLEPAGE.KUDOSBUTTONV2.KUDOENTITY:KUDOENTITY/KUDOSABLE-GID/3522387?T:AC=BLOG-ID/7306/ARTICLE-ID/382&T:CP=KUDO

(/t5/user/viewprofilepage/user-id/340998) CVL21 (/t5/user/viewprofilepage/user-id/340998) MEMBER 05-05-2016 04:32 PM Options 

El nuevo linx de makerhub te da la opcion para multicanal.

 (HTTPS://FORUMS.NI.COM/T5/TKB/V2_4/ARTICLEPAGE.KUDOSBUTTONV2.KUDOENTITY:KUDOENTITY/KUDOSABLE-GID/3522388?T:AC=BLOG-ID/7306/ARTICLE-ID/382&T:CP=KUDO

CONTRIBUTORS

(/t5/user/viewprofilepage/user-id/195570) Kevin_F (/t5/user/viewprofilepage/user-id/195570)

(https://www.lithium.com/powered-by-lithium)

+ PRODUCT

+ SUPPORT

+ COMPANY

(http://www.facebook.com/NationalInstruments) (http://twitter.com/niglobal) (http://www.ni.com/rss/)

(http://www.youtube.com/NIEasternEurope)

MISSION
NI equips engineers and scientists with systems that accelerate productivity, innovation, and discovery.

Contact Us (http://www.ni.com/contact-us/) or Call 0800 070 071

Legal | (http://www.ni.com/legal/) Privacy (http://www.ni.com/legal/privacy/unitedstates/us/) | © 2018 National Instruments. All rights reserved.

You might also like