08-30-2012 04:09 AM
DEAR ALL,
I am trying to read an ECG signal from a serial port using VISA read. when i run my vi i get no errors, but signal shape is really confusing me, even after filter process..
i am using v8.5
ANY HELP :S
08-30-2012 06:39 AM
08-30-2012 06:41 AM - edited 08-30-2012 06:43 AM
duplicate post of
http://forums.ni.com/t5/LabVIEW/FFT-resolution/td-p/2137990
and of
http://forums.ni.com/t5/LabVIEW/ecg-FFT/m-p/2130014
and of
http://forums.ni.com/t5/LabVIEW/ERROR-1073676294-VISA-READ/td-p/2140692
Basically every single post by the OP has been about this topic of his ECG project
08-30-2012 06:45 AM
Hi Bill,
You haven't given us much to go on here. I would recommend removing everything from your consumer loop apart from your string to numeric conversion and a Waveform Chart. This should help validate the data coming from your serial device before your peform your analysis.
Some notes about your program:
It seems that the case statement in your consumer loop is redundant. Your have not wired the timeout for the Dequeue Element so it will never pass out an empty string. The consumer loop will only iterate when the Dequeue Element receives any data.
What device are you communicating with? It seems odd that you are reading a arbitrary amount of bytes from the port. Does the ECG send a stream of data? Is each message it sends a fixed width?
08-30-2012 07:34 AM
Let's please keep the discussion in ONE place.
Thanks.
08-30-2012 12:18 PM
DEAR readers
sorry for duplicating the posts,beg ur pardon but i really do need some help right here but it's all because m not able to explain my case , so the fault is mine.
DEAR Lewis G
the device that i am trying to take data from is an ECG sensor.(heart signal) my sensor detects the analogue signal of the heart and converts it to digital by using the microcontroller (16F874) . the microcontroller has the A/D internally.this microcontroller is sending data as byte or a word.however the bytes will begin by a start bit and ends with an end bit. so it's 10 bits.the programming code of the
microcontroller should be downloaded into the UC as .HEX file.
i am really confused because i am able to communicate with my device but signal
detected is not what i expected it to be .
hope the above info are helpful.
thank you .
08-30-2012 12:18 PM
DEAR readers
sorry for duplicating the posts,beg ur pardon but i really do need some help right here but it's all because m not able to explain my case , so the fault is mine.
DEAR Lewis G
the device that i am trying to take data from is an ECG sensor.(heart signal) my sensor detects the analogue signal of the heart and converts it to digital by using the microcontroller (16F874) . the microcontroller has the A/D internally.this microcontroller is sending data as byte or a word.however the bytes will begin by a start bit and ends with an end bit. so it's 10 bits.the programming code of the
microcontroller should be downloaded into the UC as .HEX file.
i am really confused because i am able to communicate with my device but signal
detected is not what i expected it to be .
hope the above info are helpful.
thank you .
08-30-2012 12:21 PM
And did you see my response?
08-30-2012 12:29 PM
See what happens when you create multiple posts? Now you yourself can't even keep track of the answers that have already been provided to you.
08-30-2012 12:35 PM
beg your pardon guys.... just take into consideration that i am very new in this forum ... sorry for being rude .
anyway thank you .