LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

About NI PCI based Card

Hi Gowtham,

 

I have to count the time

You know samplerate  and number of samples, so you can easily calculate the playtime!

For anything else there is ElapsedTime to give you the elapsed time…

 

can we write 5 different sample files corresponding to each music file separately..??

Yes.

Use a loop to iterate over your 5 files…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 31 of 41
(1,256 Views)

hello GerdW sir,

 Is there any Solution to count time..??

0 Kudos
Message 32 of 41
(1,252 Views)

Hi Gowtham,

 

yes.

As written before…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 33 of 41
(1,250 Views)

hello GerdW sir,

Ya  Sir you told about some logic but I didn't get that so can you explain briefly..??

0 Kudos
Message 34 of 41
(1,239 Views)

Hi Gowtham,

 

what about ElapsedTime don't you understand?

check.png

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 35 of 41
(1,232 Views)

Hello GerdW sir,

Do I need separate while loop for  that time elapsed..?? and what is that wait time value 123..??

0 Kudos
Message 36 of 41
(1,204 Views)

Gowtham,

 

     Are you serious about learning LabVIEW?  Have you tried to duplicate the (very simple) code that GerdW showed you?  Have you looked at the Help on the functions to figure out for yourself what they are supposed to do?  Have you run the code and seen what happens?  Have you made an intelligent guess what is happening?  Have you figured our a simple test you could do (hint -- it involves "123") to "test your hypothesis" (hypothesis = fancy term for "guess")?

 

     Put a tiny bit of effort into doing this yourself, please.

 

Bob Schor

 

P.S. -- I apologize in advance for the tone of this post.  If we do your classwork for you, you will learn nothing.  How will you be able to succeed on your own in the Real World?

Message 37 of 41
(1,202 Views)

Hello Sir

Thank you sir , I tried the code when I run vi  and click Play Music button the Elapsed time works properly but when I again run my vi next time the Elapsed Time Display shows the previous value and when I press Play Music button it Restart  Time Elapsed value and works properly but how to clear the previous value when I run the vi each time..??even though I set Automatic Reset Enable.

0 Kudos
Message 38 of 41
(1,198 Views)

Hello Bob_Schor Sir,

Yes sir I surely want to learn LabVIEW. But I was little Confuse about that, only because of that I asked too many questions I apologize for my mistake.

And Sir u don't need to be Apologize because u told that me to learn for my Knowledge  and surely ill take it in a positively

0 Kudos
Message 39 of 41
(1,196 Views)

Hi Gowtham,

 

when I again run my vi

It's been a while you have posted "your VI".

So how should we comment on the current state of "your VI" and the problems you have with "your VI"?

 

No code, no comments…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 40 of 41
(1,185 Views)