07-01-2008 04:54 AM
07-01-2008 06:46 AM
You could create an Action Engine (or a Functional Global Variable).
If you know the number of samples, you could initialize a 2D array (60 X no.of samples - for 1 sec samples over 1 minute).
Each row of the 2D array would contain the 1 sec samples. The action engine would keep track of the current index and retain the values in memory until you close the Action Engine. This will allow you to take the samples and read them after you are done sampling. You could also read it from another VI.
You could also implement the same 2D array directly within your code.
RayR