10-14-2012 04:23 PM
Guys anyone of you can tell if i converted the string to byte array how would i convert the byte array into a decimal number that could be plotted using a waveform chart ?
10-14-2012 04:45 PM
10-14-2012 05:02 PM
Thank you Dennis
could you please tell me what is the format of the following string please : JGB>:740-
10-14-2012 06:34 PM
Sorry, I don't have any idea what you mean.
10-14-2012 06:49 PM
Dear Dennis_Knutson
thank you very much for trying to help . I actually followed your instruction by using the string to byte array function and connected it directly to the waveform chart and it works very well and that's because the information you provided to me . Thanks alooooot !!!!
I am just having a little problem with the result and i think you will also be helpful as you always used to be . here is my problem .
i actually attached 3 pictures showing the results i have got ..
picture number 1 shows exactly how the ECG signal must look like and that's perfect . but if you could take a closer look at the picture number 2 and then 3 you can notice that the peaks of the signal are getting close to each other because the signal subsides at the left , and after a while the ECG signal will be hard see. but it doesnt mean that that i am not getting good results.
i hope i made the idea clear.
ANY help with that Dear ?
10-15-2012 03:11 AM
Hi!
I think you can solve this little issue by setting the update mode of the chart correctly:
Rgiht click on the chart >> Advanced >> Update mode (And choose the suitable after trying them.)
And I think you should disable autoscaling of the X axis:
Right click on chart >> X Scale >> Auto scale X (disable it)
Best Regards,
10-15-2012 10:19 AM
@Bildavid wrote:
picture number 1 shows exactly how the ECG signal must look like and that's perfect . but if you could take a closer look at the picture number 2 and then 3 you can notice that the peaks of the signal are getting close to each other because the signal subsides at the left , and after a while the ECG signal will be hard see. but it doesnt mean that that i am not getting good results.
What you are seing is a combination of the x-autoscaling setting as well as the chart history lenght.
First of all, don't set the x-axis to autoscale, but set it to display a fixed number of points.
Second, set the chart history size to exactly how many points you want to display at any given time (right-click...chart history lenght). Most likley you don't want to keep a huge history and be able to scroll back to much earlier times.