10-27-2008 04:45 AM
hello,
can anybody tell me how can i change the simulate aquisition timing in vi below:
10-27-2008 07:07 AM
Hi Tinamoli,
Thanks for the post!
I see your still playing around with the ECG stuff.
When you say change you mean, change the rate of the data?
I think like you've been told before, the settings is number of samples per second. So yours is set to 500samples per second - so if you have simulate set to true, you will write 500 samples per second.
Kind Regards
10-28-2008 11:18 AM - edited 10-28-2008 11:19 AM
Hello Hillman,
Did i understand you?
if i just wiring the simulate aquisition timing as true,as long as wiring the number of samples,the sampling rate is determinded?
10-28-2008 11:46 AM
It's been a while since I looked under the hood of the Express VI but I don't think that changing the number of samples will change the simulated acquisition rate. I think the simulated rate is about 1000 samples/sec. You can test this yourself by converting the dynamic data to a waveform data type and looking at the dt value as you change the number of samples.
It should be fairly simple to change the simulated acquistion rate if you open the Express VI and follow the logic of the Boolean to see what it does.
What I'm not sure of is what is the whole point of this. Changing the rate would normally acquire more samples over a given time period. I think the simulated ECG signal is just an array of fixed size to you won't get anything for changing the rate. If you want more samples, then use the Simulate Arbritrary Signal to create your own waveform.
Please provide some more information about what you hope to accomplish with a change to the sample rate.