LabVIEW Interface for Arduino Documents

cancel
Showing results for 
Search instead for 
Did you mean: 

Arduino Example: Finite Acquisition Example

Before opening this example, make sure to install the LabVIEW Interface for Arduino.

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 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

finite_FP.png

finite_BD.png

Kevin Fort
Principal Software Engineer
NI
Comments
paksoft
Member
Member
on

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

wiesson
Member
Member
on

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

NI-Libya
Member
Member
on

HI

Could i get the frequency of sample wave form ?

Frequency as Number

Thank You

Contributors