10-30-2015 09:04 PM
Hi all,
Was wondering if anyone could guide me in this. I am making a PPG and we finally managed to obtain transmission of signal from the circuit board. However, the graph still is very edgy (was the filter not good enough?). A worse problem is that the graph seems fine when it first appears from the right, but as it moves to the left the values keeps moving upwards along y axis. Moreover, I realize that the value returns to 0 at x = 0. Finally, I am not sure how we can get negative numbers for y axis values when Arduino is not supposed to get negative figures.
Best,
Edwin Neo
10-30-2015 09:25 PM - edited 10-30-2015 09:26 PM
I can't open it since I don't have LV 2015 on my home computer, but a Sine wave coming through an analog input usually means you have a floating signal. Check your signals with a voltmeter while the program is running and see if the values match up.
If you save the Vi for Previous Version as 2014 or older, I can take a look at the code. This does sound like a wiring issue though.
Cheers
--------, Unofficial Forum Rules and Guidelines ,--------
'--- >The shortest distance between two nodes is a straight wire> ---'
10-31-2015 12:50 AM
Hi, I haven't yet seen in myself but my team who designed the circuit has tested it on the oscilloscope and it works fine.
10-31-2015 01:43 AM - edited 10-31-2015 01:43 AM
Why are you opening a BT connection, but later use TCP read and TCP close??? Seems inconsistent. I would stick with the tools in the bluetooth palette!
Are you sure you are parsing the received data correctly? Can you show us a typical received string.
10-31-2015 01:44 AM
This is how it looks inside
10-31-2015 06:07 AM
Hi all, attached is the photo of the results. As you can see, the waveform appears from the right and moves upwards when it approaches leftwards. Moreover, the values are negative and some of the edges are not yet filtered off.
Deadline's coming soon, if any help could be offerred it will be greatly appreciated.
10-31-2015 06:33 AM
What is the visible vertical scale?
10-31-2015 06:37 AM
With regards to the TCP connection, in my laptop (using LabVIEW Student and Educators' Edition 2015), whenever I take out the Bluetooth Read and Close Connection VI from the Bluetooth Protocol Palette, it changes to TCP...not too sure if it is a bug, only my Open Connection VI has Bt at the top right hand corner. It has been like this since I installed it.
10-31-2015 06:43 AM - edited 10-31-2015 06:50 AM
It is amplitude sir. May I also ask if attaching the Decimal String to Number is the correct type of conversion to get the waveform we need for a more consistent waveform that doesn't have the upward motion as mentioned before?
Just another question, what is the data type out from the data out terminal from Bluetooth Read VI? My Arduino coder told me he send out the data in floating point format.
10-31-2015 09:41 AM