Sunteți pe pagina 1din 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-Finite-Acquisition-Example%2Fta-p%2F3521161)
|
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-Finite-Acquisition-Example%2Fta-p%2F3521161)
| Help (/t5/help/faqpage)

Documents  Search the community

Document Options

Arduino Example: Finite Acquisition Example  

by Kevin_F (/t5/user/viewprofilepage/user-id/195570) on 12-20-2011 03:56 PM - edited on 01-30-2017 09:44 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 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 Finite 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, the acquisition speed, and the number of samples.
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 finish and update the chart when the number of samples you specified have been acquired

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)
LIFA (/t5/tag/LIFA/tg-p/board-id/7306)

View All (6) (/t5/forums/tagdetailpage/tag-cloud-grouping/tag/tag-cloud-style/frequent/message-scope/single/message-uid/3521161/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/3521161?T:AC=BLOG-ID/7306/ARTICLE-ID/188&T:CP

(/t5/LabVIEW-Interface-for-Arduino/Arduino-Example-Finite-Acquisition-Example/ta-p/3521161) (/t5/LabVIEW-Interface-for-Arduino/Arduino-Example-Finite-Ac

EXAMPLE-FINITE-ACQUISITION-EXAMPLE%2FTA-P%2F3521161&TITLE=ARDUINO+EXAMPLE%3A+FINITE+ACQUISITION+EXAMPLE&USERNAME=POWEREDBYLITHIUM)

COMMENTS

(/t5/user/viewprofilepage/user-id/169127) paksoft (/t5/user/viewprofilepage/user-id/169127) MEMBER 08-12-2012 12:27 AM Options 

Some examples of finite analog sampling for multiple analog pins, please?

3 KUDOS (

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

(/t5/user/viewprofilepage/user-id/380386) wiesson (/t5/user/viewprofilepage/user-id/380386) MEMBER 10-02-2012 03:41 AM Options 

Hey, maybe you can put a foor loop arround the analoginput?

1 KUDO (

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

(/t5/user/viewprofilepage/user-id/330317) NI-Libya (/t5/user/viewprofilepage/user-id/330317) MEMBER 10-05-2015 09:33 AM Options 

HI
Could i get the frequency of sample wave form ?
Frequency as Number
Thank You

 (HTTPS://FORUMS.NI.COM/T5/TKB/V2_4/ARTICLEPAGE.KUDOSBUTTONV2.KUDOENTITY:KUDOENTITY/KUDOSABLE-GID/3521164?T:AC=BLOG-ID/7306/ARTICLE-ID/188&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.

S-ar putea să vă placă și