LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

arduino sample speed

Hi ,

I am using the ArduinoUno and need to sample two Channels (example A0 & A1).

Problemis that I cannot use the ContinousAcquisitionOn.vi is limited to 5kHz sample rate , so says the Help on it. I need at least 44.1kHz.

 

I used to do it with the MicIn (internal Soundcard) that has the capability of sampling two channels at once at 44.1kHz.

 

My task is then to perform on 20 ms pulse-hi (A0) a data acquisition of channel 2 (A1) and then display its fft.

If you have such an example, I'llbe glad to receive it

 

Many thanks to all of you guys out there.

Y3G

0 Kudos
Message 1 of 7
(4,165 Views)

Are you using the LabVIEW Interface for Arduino Toolkit? And are you looking to input or output two channels? I just want to make sure I am completely understanding the issue.

dK
0 Kudos
Message 2 of 7
(4,126 Views)

Hi,

I am using the Arduino Toolkit and I am looking for the input channels (analog Input). I am feeding in a changing voltage in two different Inputs of the Arduino.

Thanks

0 Kudos
Message 3 of 7
(4,106 Views)

I apologize that I am not completely familiar with the Ardunio Uno. I have been looking through these two links:

https://decibel.ni.com/content/thread/12571

http://arduino.cc/forum/index.php/topic,6549.0.html

 

It looks like we will have to change the prescale from 128 to 16. I would recommend looking through the thread of the second link and look into the code. We can maybe modify the LabVIEW Interface for Ardunio VIs to accept a faster sampling rate.

dK
0 Kudos
Message 4 of 7
(4,082 Views)

Thanks,

That would be good. When do you intend to release new functions?

I wonder if there is a possibility to let the Arduino do the FFT inside and deliver us only the BINS and Level, instead that I do the Postprocess.

Any ideas are welcomed

Y3G

0 Kudos
Message 5 of 7
(4,036 Views)

Sorry for any confusion. Since any user can open up the Arduino toolkit functions and view the source code, anyone can modify the functions and I would not know when an update to this toolkit would be released. The Arduino LabVIEW functions are simply VISA function calls at the lower level.

dK
0 Kudos
Message 6 of 7
(3,998 Views)

add other useful links, greetings

  

Getting Started With the LabVIEW Interface for Arduino

http://vishots.com/getting-started-with-the-labview-interface-for-arduino/

 

 

0 Kudos
Message 7 of 7
(3,893 Views)