LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

About NI PCI based Card

@  Hello sir

Which connection ur talking anout..??

0 Kudos
Message 21 of 41
(956 Views)

Hello EveryOne,

Im Happy that  my vi is working after made some changes, the changes which i made is ,previously i was playing the music which is 10hours it is of 500MB data so now with my friend help i have change the code which takes 5 music files which is 2hours each which is stored in some folder and access it one after the other, this is working and the new problem is the time logic which i have used is resetting and getting started from initial time but i need to count total timing i.e., 10 Hours in the display can any one suggest me logic please thanks in advance

 i have attached my vi here

0 Kudos
Message 22 of 41
(942 Views)

Hello EveryOne,

im sorry that the last post was from different account 

Im Happy that  my vi is working after made some changes, the changes which i made is ,previously i was playing the music which is 10hours it is of 500MB data so now with my friend help i have change the code which takes 5 music files which is 2hours each which is stored in some folder and access it one after the other, this is working and the new problem is the time logic which i have used is resetting and getting started from initial time but i need to count total timing i.e., 10 Hours in the display can any one suggest me logic please thanks in advance

 i have attached my vi here

0 Kudos
Message 23 of 41
(930 Views)

Comments:

  • Do not stick one Control (Data Type) 6 screen-widths to the left of all of the other Controls!  [I'm not sure if it was really 6 screen-widths, I just know I had to move it a lot before it could "join" the rest of the Front Panel].  I'm almost afraid to look at the Block Diagram ...
  • Block Diagram only takes 3 x 3 Laptop Screens to view!  Unfortunately, I only have 1 Laptop and one Laptop Screen.  Strive to make all of your Block Diagrams fit on a single Laptop Screen.  The best way to do this is to create a sub-VI (whose Block Diagram Image is a 32 x 32 pixel Icon, one you can create with the Icon Editor to tell you the contents of the sub-VI).  This can replace a lot of Block Diagram space!  If you go this route (which most LabVIEW Best Practices endorse), please use the default 4-2-2-4 Connector Pane and wire the lower corners to Error In and Error Out (and, for goodness sake, Use the Error Lines!).
  • So I quickly gave up trying to look at your Block Diagram (sorry).  However, if I correctly understand what you want to do, you have 5 Sound Files representing 2-hour blocks of recording, and you want to make one Sound File representing the entire 10 hours.  If this is correct, the (untested-by-me but easily-tested-by-you) method I'd suggest is the following:
    1. Read each of the 5 sound files, creating an Array of "Sound-File Waveforms" (the Sound-File Waveforms, themselves, might be an array if you are recording multiple sound channels).
    2. Use the Append Waveform function (in the Waveform Palette) to combine the 5 Waveforms into a single Waveform.
    3. Save the single Waveform.  Play, and listen to 10 hours of recording.

Bob Schor

Message 24 of 41
(922 Views)

Hello Sir,

How to write the samples of each music file in to a excel sheet while playing 

NOTE:i want to write all the 5 music files samples in a single Excel sheet

0 Kudos
Message 25 of 41
(900 Views)

Hi Gowtham,

 

use WriteToDelimitedTextfile to write all your data to a CSV file.

 

NOTE:i want to write all the 5 music files samples in a single Excel sheet

Write one file after th other - use a loop to do so…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 26 of 41
(895 Views)

Hello @GredW Sir

I have done as u said but the problem is the time display is not running and the waveform graph is stuck and getting hang with vi but I closed the vi tries to check the file but its not showing any format

0 Kudos
Message 27 of 41
(876 Views)

Hi gowtham,

 

please attach your VI. (LabVIEW 2017 preferred)

Best regards,
GerdW


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

Hello @GredW sir,

Please find the attached vi the vi I have to count the time and I have used I iteration as a time display but can u suggest me a good method please Thanks in Advance

0 Kudos
Message 29 of 41
(866 Views)

hello GerdW sir

One more thing is I'm playing 5 music files each of 2hour one after the other in a loop and I have to write its sample can we write 5 different sample files corresponding to each music file separately..??

Thanks in advance

0 Kudos
Message 30 of 41
(861 Views)