LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

calculating beat per minute

I use Labview 6.0. Icouldn't open this vi.Would you please save it in 6.0 ?
Thanks
0 Kudos
Message 11 of 20
(1,895 Views)
Sorry, I can't.
But here is an image of the vi...
Hope this helps !
Chilly Charly    (aka CC)
Message 12 of 20
(1,895 Views)
Dear Charly,
I've tried to do what you said to me. But I couldn't achieve. Would you please have a look at vi attached. I couldn't synchronnize loops. And I really don't know if I did the right thing for other parts of the vi or not .
I need your help.
Thanks
0 Kudos
Message 13 of 20
(1,895 Views)
Do not pass the "Actual sample period" between the loops. This blocks the second loop that will wait indefinitely for the first one to stop that's called "dependency".
Instead, create an "Actual sample period" indicator in the first loop, then create a local variable of this indicator, put it in the second loop and wire to the div nodes.

If you want to explore other solutions to the loop synchronization problem, you could have (latter !) a look to the "Queue" function.

Keep wiring !

CC
Chilly Charly    (aka CC)
Message 14 of 20
(1,899 Views)
Hi,

I've created a local variable for actual sampel period and put it in the second loop .
But second loop runs only one time and then first loop runs infinitely 😞

Also while second loop runs once,data comes as #0 to division node so I still can not calculate beat per minute.

I don't have much time left to finish this vi.

What should I do now?

I'm sending the modified vi and a better file record.
I'm waiting for your help.

Best Regards...

Burcu
0 Kudos
Message 15 of 20
(1,888 Views)
Here is the file record.
0 Kudos
Message 16 of 20
(1,889 Views)
OK, I found again your posts.
Chilly Charly    (aka CC)
0 Kudos
Message 17 of 20
(1,869 Views)
Hi Charlie,

Of course I kept my promise and wrote down your name 🙂

I know that to calculate the absolute
time the formula is


+ *

Sample period=1/sample rate

But I don't know how to implement this to .vi

Would you help me for the one last time,

promise I won't bother you anymore 🙂
0 Kudos
Message 18 of 20
(1,837 Views)
In my previous post some characters are missing.I'm wroting again.
The absolute time is

trigger time+sample number*sample period

for my vi sample period is 1/sample rate
sample period=1/440=0,002272

Enclosed I wrote a vi for this formula.But I don't know how to implement this to my vi:(

I wonder that when I create an indicator for date/time string in my virtual instrument vii I can see acquisition time and each time value of 433 samples.However, why can't it save these time values as seen in the front panel.

I appreciate your patience to me 🙂

Regards
0 Kudos
Message 19 of 20
(1,833 Views)

@Burcu wrote:
Of course I kept my promise...



Only part of it !

Anyway, the answer has been adressed to your most recent post...

CC
Chilly Charly    (aka CC)
0 Kudos
Message 20 of 20
(1,806 Views)