<EDITORIAL RANT>
I have come to the conclusion that Waveform Graph Cursor Lists are just about the most important tool that LabVIEW has for conveying important [or critical] information to the end user.
Unfortunately, I've also come to the conclusion that the Cursor List library is just about the buggiest library in all of LabVIEW.
Yesterday, I spent eight hours isolating a bug in a very large VI within a very large project [all the while thinking it was a mistake in some of my mathematical calculations] only to discover around midnight that it was a bug in the Cursor library.
This morning I woke up and had an idea what the problem might be. Sure enough - I was right [more on that below], but it took me another six hours to isolate the problem and write a VI that confirmed my hypothesis [attached below].
Guys, I can't keep wasting time like this!!!
Will somebody in NI management PLEASE assign a crack LabVIEW developer to clean up the Cursor List library? I can stomach some of the minor bugs - first letters in Cursor names are smudged unless you begin the string with an empty space, or wiring a FALSE to "Cursor.Visible" followed by wiring a TRUE to "Cursor.Visible" doesn't return the Cursor to visibility [instead you have to delete the Waveform Graph and install a new one from the Controls Palette] - those I can handle, because at least they're obvious [visually].
But this one yesterday [and today] just about killed me.
PS: Is there any way we can get Cursor functionality for Waveform Charts? I've just about had to re-write the entire Waveform Chart class from the ground up as a modified Waveform Graph, just so I can get Cursor functionality in a Chart-looking thingamabob, and the result is really taxing the CPU and the memory bus [since LabVIEW doesn't give me access to pointers].
</EDITORIAL RANT>
Okay, here's the bug: As far as I can tell, Waveform Graph Cursors with "Lock Style" set to "1-Snap to point" or "2-Lock to plot" simply don't work. You tell the Waveform Graph to display them, and nothing happens - the Cursors are sent to the far left of the Graph [x = 0], and there they sit, no matter how loud you yell at your computer.*
Just to make sure it wasn't some problem with "Ignore Timestamp" [which has given me WORLDS of hurt in its own right], or "Allow Drag", I wired some controls with those values and tested all the cases [{T,T}, {T,F}, {F,T}, {F,F}].
Nada. Didn't make any difference whatsoever.
So, as far as I can tell, the ONLY way to get a Cursor to display on a Waveform Graph is to use the "Lock Style" of "0-Free". The other two Lock Styles are utterly bogus.
See the attached VI.
*Maybe we could re-name the Cursors library, and call it something like the Curses library.