04-15-2013 11:02 AM
I would like to be able to see the current index that the pulse pattern vi. According to the Labview help, a pulse is generated everytime the inputted delay (d) is equal to the index (i). Is it possible to get the current index that the vi is on? If so, how could I do this?
Solved! Go to Solution.
04-15-2013 07:26 PM
Laura121,
Your question seems to indicate that you may not understand how the VI works.
You refer to Impulse Pattern.vi in the subject line and Pulse Pattern.vi in the text of your post. These are two different VIs. From the context of your question it appears that you are referring to the Impulse Pattern.vi.
When the VI is called, it returns an entire array (of length = samples). For the Impulse Pattern.vi all the elements of the output array are zero except at index i = d, where the element has the value = amplitude. So there is no concept of "the current index that the vi is on" with this VI.
Lynn