p
p
The p function returns the row number of the current row of the destination wave when used in a wave assignment statement. The row number is the same as the point number for a 1D wave.
Details
Outside of a wave assignment statement p acts like a normal variable. That is, you can assign a value to it and use it in an expression.
See Also
Waveform Arithmetic and Assignment