06-03-2010 03:59 AM
Hi everyone,
Is it posible save two sinusoidal signal in one minute with rate samples. How can i achavied this. Its make a lot of samples. When i tried, programe going out with error telling that "Attempted to read samples that are no longer available. The required sample was previously available, but it has since been crushed." When I increase number of samples to read it behaves the same(going out). When i read all samples it reads me just ferst parts of one minute save and rest of signal are desapper. In one minute programe will be saved 12000000 samples and i suppose for one signal due to rate 400kHz. For save i use tdms blocs(open, write, close).
Whot i'm doing wrong? Please for help.
Marek
Solved! Go to Solution.
06-03-2010 04:15 AM
There are a couple of things I can suggest:
1. Have a look at the following KB article:
Why Do I Get Error -200279 from my DAQmx Read VI or Property Node?
2. You need to have a Producer/Consumer architecture when you are reading at such high sample rates and trying to save all the data into a file. My suspicion is that this might be causing the issue that you are facing. You can access the template for the Producer/Consumer architecture by navingating to File -> New.. in LabVIEW. Have a look and let us know if you have any other questions.
06-03-2010 05:28 AM
Also stay away from using Express VIs. Use proper Labview. The Express VI system is just something that NI have glued ontop Labview. And in the process they used very cheap glue.
Go to help in the toolbar. Then select Find Examples, and do a search for your problem