09-13-2005 08:14 AM
09-14-2005 12:08 AM
09-14-2005 01:20 AM
ocramm,
your question is not quite clear.
Could you attach an example of what you are doing so that we can look at it. Make sure you add comments inside the VI on what is not working and what should be working.
thanks
AlessioD
09-14-2005 03:05 AM
hallo Alessio,
I send you this little VI. it's only a part of my program but the problem is the same.
In my principal program I must achieve a analog input, calculate numeric integral of this signal and calculate max, min and p-p of primitive
in the little VI there are some comments. I hope they are explicit
09-18-2005 12:37 PM
Ocramm,
the point is in the way you configure the "Simulate Signal" Express VI. If you remove the while loop in your example, you will see that it will generate only the first part of a sine wave. And not an entire cycle. This is because you have configured it to generate 100 points at 1000 Samples/s. Putting this in a while loop generates 100 points continuously, describing a sine wave but the processing is always performed on the 100 points generated in the same iteration.
Remove the While loop, and you will see what I mean.
If you open up the Simulate Signal Express VI, modify the number of samples generated and put in 1000, so that it will generate 1 entire cycle. The measurements will be as expected.
AlessioD
National Instruments
(btw: si sono italiano)