04-20-2015 04:02 AM
Hello
I have a developed a VI to store a simulated sine wave. I used the 'Write to Measurement File' block to write the waveforms.
When I first run the code for say 10 sec it writes a 'N' number of values.
But when I try running this VI as a part of another VI the number of values written is not the same.
I am unable to find the cause of the problem.
Thanks
04-20-2015 04:13 AM
How are we supposed to find the problem unless you show us your code???
04-20-2015 09:49 AM
@adarshn1192 wrote:
Hello
I have a developed a VI to store a simulated sine wave. I used the 'Write to Measurement File' block to write the waveforms.
When I first run the code for say 10 sec it writes a 'N' number of values.
But when I try running this VI as a part of another VI the number of values written is not the same.
I am unable to find the cause of the problem.
Thanks
Neither are we (though I suspect the fourth function from the right may be the problem). Another way of saying this is "Your Guess is Better than Mine because You can See the Code!".
BS
04-20-2015 10:08 AM
I will pile on top with the show your code comments. You can also be more descriptive of the problem you are having. "The number of values written is not the same", are you getting more samples? Less samples? Does the main program run faster or slower than your test program? There are many questions that could be asked.
Add that information along with your code to get usefull answers.
04-20-2015 10:16 AM
As we used to say in Frosh Physics Lab, "Answer Analysis Reveals that the Question is Wrong!"
BS
04-20-2015 12:09 PM
It is about as interesting as the case where different code produces the same number of values. 😄