LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

ecg FFT

The way you are handling your serial communications almost guarantees that you will get partial data.

 

You write a command and then immediately check Bytes at Port and read that number. If the remote device has not had time to respond to the command and send all the bytes of data before the Bytes at Port node executes, you will not get all the data.  I do not knwo how big your messages are but at 9600 baud you get about 1 character per millisecond and the Bytes at Port likely executes a few microseconds after the command Write.

 

Lynn

0 Kudos
Message 11 of 14
(780 Views)

Hi shangal!

 

I think you got good feedback about the attached VI.

I had a look at it toot, and I saw, that you didn't use ideas from examples I mentioned to you. Do you have any questions regarding to them?

I think using an already working example would help you a lot.

 

Best Reagrds, 

CLA, CLED
0 Kudos
Message 12 of 14
(763 Views)

Hi ,

 

I am using adc from microcontroller to rs232 and reading string from visa read it has volt and time data .can anyone reply how can i use digiral filter and fft on graph .

0 Kudos
Message 13 of 14
(580 Views)

Mac,

 

Instead of reviving a 4 year old thread, try posting a new one! Show us what you've tried and provide the code where possible.

0 Kudos
Message 14 of 14
(574 Views)