From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
06-24-2008 09:39 AM
06-24-2008 09:48 AM
06-24-2008 10:00 AM
Occam would proud of you Dennis!
Ben
06-24-2008 10:14 AM
06-24-2008 10:40 AM
"How cursors can be used?"
Ben
06-24-2008 10:45 AM
Right click on the graph and select Visible Items>Cursor Legend. Right click in the cursor legend and select Create Cursor>Single Plot. The cursor will be locked to the plot and you can drag it whereever you want and the x/y coordinates of the plot will be in the cursor legend.
Ben,
KISS would also be applicable.
06-24-2008 10:45 AM
06-24-2008 11:24 AM
Well, you could have mentioned that in the first place.
Offhand, I don't know an easy way to draw random lines and have the ability to drag them around. Will have to think about that for a while.
06-24-2008 11:31 AM
I'll offer an outine that makes use of cursors just to KISS.
Add four cursors to your graph and label them such that a pair of cursors define a line.
When the cursors move, redraw the lines. (how to draw lines depends on data type of graph but generally this should be a seperate plot for each line).
After re-drawing the lines, do some basic algebra to compute the intersection then update an indicator (or use an anotation) with the new values.
Code as far as you can then post your code along with images of same and someone will give you a push to get you over the hurdle.
Ben
06-24-2008 12:44 PM