LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

LINX + Arduino, Reading waves

I am in the process of building a synthesizer using Arduino Uno and LINX. I am generating a square wave using "Digital Write Square Wave"  (25Hz-6kHz) and I can see a nice wave on an oscilloscope. After manipulation via hardware filters, op-amps etc. I want to read back the manipulated wave to see how it's changed. I have been reading from AI0 through LINX but I cannot see the wave, just a "high" voltage reading.

 

Is there any way to read these waves using LINX, etc. or is this a limitation of serial comms and I should just use a 'scope? I have thought about using the internal memory of the Arduino to read the wave then pass it to Labview but I have no idea how to do that or if it would work.

0 Kudos
Message 1 of 5
(4,393 Views)

Hi danto,

 

I have very limited experience with LINX, but hopefully I can offer you some resources to assist you in troubleshooting. Firstly, have you also posted this questions to the LabVIEW MakerHub forums? You will probably get a few more responses there. Secondly, have you tested the manipulated output with a scope, too? It's unclear from your post whether you have actually tried that or not, and I just want to make sure. Also, have you had any success in measuring analog input in any other application? Try this tutorial and also refer to the LINX - Analog Read 1 Channel.vi example found in <LabVIEW>\examples\MakerHub\LINX.

Mark M.
Applications Engineering
National Instruments
Message 2 of 5
(4,287 Views)

@danto wrote:

I want to read back the manipulated wave to see how it's changed. I have been reading from AI0 through LINX but I cannot see the wave, just a "high" voltage reading.

 

Is there any way to read these waves using LINX, etc. or is this a limitation of serial comms and I should just use a 'scope? 


Um... No, an Arduino is NOT a high speed DAQ, just use a scope.

========================
=== Engineer Ambiguously ===
========================
0 Kudos
Message 3 of 5
(4,284 Views)

Hi,

Arduino can read with in the frequency of 10 KHz. So for your requirement it is enough. Can you upload your program to understand better about your idea and rectify your problem.

Best Regards,
Dhans 😉
Kudos are welcome 😉
Aspirant Labview Programmer (Labview 14) 😉
0 Kudos
Message 4 of 5
(4,276 Views)

Thank you, I had a look through those tutorials but it still seems that the biggest issue here is serial comms through LINX. I will have to look for some other soution.

0 Kudos
Message 5 of 5
(4,272 Views)