03-08-2007 10:59 AM
03-08-2007 11:36 AM
03-08-2007 11:55 AM
@cig438 wrote:
I need for the cursor points to refresh at each loop iteration. Right now the cursors just accumulate. How can I reset the CursorList to an empty array of clusters ? It looks like this should be done inside the loop.
Simply use my method as in the second picture. This generates the cursor list from scratch instead of re-using any existing cursors.

(I still think you should use a second and third plot instead of cursors, though. ;:)
03-08-2007 03:16 PM
I'm still using 7.1 so I can't see your code but since you wrote:
"That's it exactly - I need to highlight the peaks & valleys in any one color."
Have you looked at the example called 'Peak Detection and Display.vi'??? It uses the method Altenbach recommends (i.e. plot points), is interactive, and is quite a bit simpler to implement than the path you're taking. If you've already gone down this route then... Never mind.
(I never thought I would have a use for the "smileyindifferent" emoticon) ![]()