09-24-2009 11:48 PM
Hello
I am trying to build a VI that reads data (ascii values) from the serial port.
I am trying to build a wireless phonocardiogram. I have a microphone that acquires heart sounds. these signals are amplified and sent to a A/D converter to digitize them. the digital signal are sent to a base unit. The digitals signals received at the base unit have to be sent to a computer (over a serial port to view them).
I would like build a VI to plot ascii data received over the serial port.
I would like to plot those values so that the plot just looks like a analog signal (the one I had before A/D conversion).
Can anyone provide me some help?
Thanks in advance.....
Solved! Go to Solution.
09-25-2009 04:10 AM
Hi chaitu209
What is your transmission speed, samplerate, and bandwidth needed in your project? The bandwidth of the serial port is somewhat limited. Let me give you an example
Say you are using 115200 Kbit per second as transmission speed, one start bit/stop bit and parity bit, and 8 bit data. This will give you 115200/11 bytes pr second as the maximum theoretical transfer rate/sample rate. But if you are using up to 16 bit AD your maximum samplerate will be 115200/(2x11). So my advise to you is to use a binary transfer protocol not ASCII based protocol. This is not a problem in Labview with serial transmission.
09-25-2009 04:50 AM
09-25-2009 04:59 AM
Naveen Santhosh wrote:
hii
Could you please elaborate somewhat 😉
09-25-2009 11:15 AM
Naveen Santhosh wrote:
hii
Syntax Error in line 1.
09-29-2009 02:13 AM
09-29-2009 02:30 AM
09-29-2009 03:39 AM
10-13-2009 12:26 AM - edited 10-13-2009 12:30 AM
how to plot ascii data while it is coming from the port
the scheme said earlier works with a predefined string
kindly some one respond if the solution is known
10-13-2009 09:51 AM