05-02-2009 11:25 AM
Dear guys,
I wonder if is it somehow possible to move graph`s cursor by putting a number to numeric control and preserve the possiblity of moving the cursor by mouse too. Please see the attached screenshot.
Thank you for your tips!
05-02-2009 11:38 AM
05-02-2009 05:16 PM
Hello smercurio,
thank you for your tip. I did as you suggeste however the it now doesn`t react to cursor move by mouse.
Maybe, I understood "in your current "Cursor Move" event you will need to use the Value property for the controls" wrong. Did you mean just removing Cursor Move event and instead of it set "Value change" event?
05-02-2009 06:46 PM
No, that's not what I meant. Attached is your original VI with the mod I was suggesting. A couple of notes:
05-03-2009 02:26 AM
Hi smercurio,
your suggested mod works like a charm! Thank you for providing the VI example. I have already implemented it to my broader labview project.
I tried to modify it to too, adding another event "Load"-value change. Then I connected the control with property nodes as you did in "Selected frame"-value change, but didn`t work too. Handeling value between Move cursor - Load control works well. However, the rest of handeling chain doesn`t.
Thank you for your interest in my issue!
Martin
05-03-2009 11:22 AM
Could you upload your edited VI?
Ton
05-03-2009 01:17 PM
I attached the updated version on plotting_graphMOD and the broader project where I`m implementing it. Basic idea of the project is:
Select specific frame on Load-frame curve and then immediately show it next graph.
Finaly there is also raw data file that you need to load. Unfortunatelly, *.avi is to big.
05-03-2009 03:15 PM
What exactly is not working?
The only advise I can give is to use the 'Value signalling' property in the 'Cursor move' event .
That will trigger the 'value change' event of the Load control.
However you will get a lot of events, maybe the 'Cursor Release' event is a better choice than the 'cursor move'.
Wait maybe I get the point, I think you can't do a Set Y-value of a cursor linked to a single plot. For some reason LabVIEW doesn't generate an error on such action (which it should IMHO, this is a BUG).
Ton
05-04-2009 12:35 AM
"you can't do a Set Y-value of a cursor linked to a single plot" - you are right, that`s the problem!
05-04-2009 04:20 PM
TonP wrote:Wait maybe I get the point, I think you can't do a Set Y-value of a cursor linked to a single plot. For some reason LabVIEW doesn't generate an error on such action (which it should IMHO, this is a BUG).
Yeah, that's what I couldn't get to work in my example. I would agree that it looks like a bug to me.