02-03-2013 06:31 PM
Hi,
I am doing my final bachelor thesis about controlling a simple robotic arm using EMG signal. I have done using the DAQ. Now I need to try Arduino as the replacement for the DAQ because I am doing this during the exchange period in another country, but when I come back home next month, I won't have the DAQ to continue the work.
I have bought Arduino Uno R3 board, tried Continuous Sampling example, and modified it several time. However, the chart doesn't display visualized signal as when I did with the DAQ (recorded video in the attachment). Could you please help me how to display the signal like that, and is it possible to do what I did with the DAQ by Arduino?
Thank you.
Regards,
Phuong NGUYEN.
02-03-2013 06:47 PM
Put a waveform chart inside the same nloop you are using to acquire data.
hrh1818
02-03-2013 07:24 PM
That is the first option I tried, but it didn't work. Here is my simple VI, just includes the acquisition part
02-03-2013 09:06 PM
I don't have access to Labview 2012. Please save a copy of your VI in labview 2010 format and add it to this thread.
hrh1818
02-04-2013 02:35 AM
Here it goes.
It is quite similar to the example in LVFA. I just change to a chart
02-04-2013 10:57 AM
The VI is still saved for version 12. On the file menu, you need to choose "Save for Previous Version...". I usually choose 9.0 because I've seen some people on here with that version. If it's just basic Arduino stuff there should be no loss of functionality. If for some reason it says you will lose functionality, try the next steup up until it works.
02-04-2013 12:32 PM
I use the chart to display similarly as in the program with DAQ, but it still doesn't display the same way.
Here is version 9.0
02-04-2013 01:48 PM
Remove the "Convert to Dynamic Data" VI and just wire the array directly to the chart. I tested this with random numbers and it will scroll across the chart as in your video. It may be a little more choppy but that will depend on your sample time for each chunk of data.
02-04-2013 04:46 PM
That palette has been exsisted since I connected a express filter between arduino VI and the chart. I also have some problems with that express VI, but they are solved thanks to another post in the forum.
Thank you so much.
02-04-2013 06:04 PM
So what was the issue in the end? Maybe posting the previous VI with the solution will help others with continuous sample problems (saved in LV9 of course).