knowledge-database (beta)

Current group: comp.lang.labview

Re: INFURIATING BUG with Waveform Graphs, Cursors, and Snap to point or Lock to plot

Re: INFURIATING BUG with Waveform Graphs, Cursors, and Snap to point or Lock to plot  
tarheel_hax0r
From:tarheel_hax0r
Subject:Re: INFURIATING BUG with Waveform Graphs, Cursors, and Snap to point or Lock to plot
Date:Fri, 21 Jan 2005 19:10:08 -0600 (CST)
See my reply above - the logic makes sense once you figure the logic out, B=
UT THE LOGIC ISN'T DOCUMENTED ANYWHERE!!!

So we have to spend all th=
is time figuring it out for ourselves.

Also, I've attached an exampl=
e of another annoying little bug in the Cursor Library. I call it the "Phan=
tom Cursor Bug" - if you're not careful, you can get a set of cursors perma=
nently embedded in your Waveform Graph, and it's darned hard to get rid of =
them. [I think you need to wire an empty array of Cursors to your Waveform =
Graph, run the VI to clear the Waveform Graph, then quit the VI, then hit C=
TRL-S on your dead VI so as to make the flush permanent.]

It's kinda=
similar to [except that it's maybe the exact opposite of] the bug where yo=
u can wire a "False" to "Cursor.Visible" to make a Cursor disappear, but th=
en subsequent instances of wiring a "True" to "Cursor.Visible" won't make t=
he Cursor re-appear.

Anyway, I think the Cursor Library is just abou=
t the most powerful device LabVIEW has for allowing the end user to point t=
o a place in the data [or maybe a segment of the data] and say "There, that=
's what we're looking for." I.e. if the end user has a Cursor that is "Lock=
ed to plot" with "Allow drag" then they can drag past all the noise, right =
to good stuff, and say "What we're interested in begins here" or "What we'r=
e interested in ends here". In fact, I don't know of any other good method =
in LabVIEW for providing that sort of end-user interaction with the data.r>
It's just a shame that the Cursor Library is so darned difficult to u=
se - so poorly documented, and filled with so many nagging little bugs.
=

Well, maybe someone in the future will profit from some of the VIs I le=
ft here.


Phantom Cursor Bug.vi:
http://forums.ni.com/attachments/ni/170/103450/1/Phantom Cursor Bug.vi
   

Copyright © 2006 knowledge-database   -   All rights reserved