LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to sampling rate

hello All,

 

I want to sample the simulate ECG waveform,and reading the samples in an array as shown in vi below,

I can choose the number of samples but not the rate of the sampling.

can you tell me how to adjust the rate ,since there is no option via the simulate ECG function  itself to do this.

0 Kudos
Message 1 of 14
(3,860 Views)

Hi tinamoli,

 

Thanks for the post and I hope your well today!

 

I notice you've not had any support.

 

I had a great example of ECG - outputting and reading it back in.. but Ive missed placed it. dam.

 

But bascially the control is number of samples per second i.e a rate. 

 

If your placing to use DAQmx tasks etc, then you would wiring this to the DAQmx write and set the rate on the DAQmx task.

 

Please let me know if you have any other questions,

 

Kind Regards,

Kind Regards
James Hillman
Applications Engineer 2008 to 2009 National Instruments UK & Ireland
Loughborough University UK - 2006 to 2011
Remember Kudos those who help! 😉
Message 2 of 14
(3,832 Views)

Hello Hillman,

 

I really would appreciate you if you show me how to do this((adjusting sampling rate for simulate ecg function)) by a built  VI,please?

 

Message Edited by tinamoli on 10-23-2008 10:46 AM
0 Kudos
Message 3 of 14
(3,814 Views)

Hi,

 

There is no place to specify rate in the Express VI but you can use DAQmx VIs. Refer to LabVIEW examples for help. To access LabVIEW examples, go to Help » Find Examples. Once you have the NI Example Finder open, double-click on the Hardware Input and Output folder and the examples are located under DAQmx.

 

Thank you,

Simran K
National Instruments
Applications Engineer
0 Kudos
Message 4 of 14
(3,789 Views)

Hi tinamoli,

 

I hope your well.

 

As per requested, here is an example of continuously outputting an ecg signal - its the working example i had previously lost! When I say working, I spent some time this morning to make sure it worked on my cDAQ.

 

The example has a subVI - with the ecg toolkit for the biomedical startup kit. LabVIEW 8.5.

 

Let me know how you get on,

 

Kind Regards, 

Kind Regards
James Hillman
Applications Engineer 2008 to 2009 National Instruments UK & Ireland
Loughborough University UK - 2006 to 2011
Remember Kudos those who help! 😉
0 Kudos
Message 5 of 14
(3,775 Views)

hi Hillman,

,Smiley Sad 

 

I can not open the two VI ,you sent to me,since the version i have is 8.2,

please,if possible you send me the version 8.2,that i can open it,

 

 thanks,

 

0 Kudos
Message 6 of 14
(3,748 Views)

Hillman,Smiley Sad

 

it is a simple problem i faced but really it stoped me from any progress in my project !!

pls,show me the vi in version 8.2

0 Kudos
Message 7 of 14
(3,729 Views)

Have a little patience. It's the weekend after all. And instead of being stuck, you could have simply downloaded an evaluation copy of LabVIEW 8.6 and done the conversion yourself.

 

Anyway, here's the two files.

0 Kudos
Message 8 of 14
(3,725 Views)

Dennis,

 

Thank you and sorry if any annoying........

0 Kudos
Message 9 of 14
(3,716 Views)

hello Hillman,

 

oh,this vi in some how is complicated ,and i cant understand the procedure,

but,

can i know if this vi really giving ECG samples with particular sampling rate,

what i found i couldnt read the ECG simulate sample in an array as an output!!!

0 Kudos
Message 10 of 14
(3,714 Views)