04-28-2015 10:56 PM
Good Day
Can i know how to move cursor automatically in the waveform graph
example: i have known Y =2 what is the value of x is...
which properties in property node should i use?
attached also my vi (Coordinate of XY data using cursor)
Best Regards
Ahmad Tarmimi
Solved! Go to Solution.
04-28-2015 11:16 PM - edited 04-28-2015 11:18 PM
How does your data look like? In the most general case, ther can be many values where Y=2, so which one do you want?
What if no value is 2? (currently you are simulating a sine, which never exceeds 1!)
Why do you allow cursor drag?
In any case to move a cursor you would set the position property node to "write" and write the desired coordinates to it.
MAny times it is easier to lock the cursor to a plot. Now all you needs it set the "cursor index" property to move to the desired position.
04-28-2015 11:41 PM
Good Day altenbach
Thank for your fast reply..
my data is in exponential waveform(sinewave is just example)
For my condition if i know the coordinate value of Y(amplitude), but unknown is the coordinate value of X(time)
For my personal opinion the easy method automatically drag cursor with known coordinate value of y , thus get the coordinate value X
Can you please gave me an example in VI...?
Thanks for your strong support
Best regard
Ahmad Tarmmi
04-29-2015 02:12 AM
Is the exponential function increasing or decreasing with x? can you attach some typical data?
04-29-2015 02:47 AM
Hi
Atttach as per request
exponential waveform( double exponential waveform)
Best Regards
Tarmimi
04-29-2015 09:10 PM
Good Day
I was trying to program the cursor automatically but it does'nt seem working for me..
Can you please advise me on this matter...
Attached also my study pupose vi
Best Regards
Ahamd Tarmimi
04-29-2015 10:36 PM
You need to write to the position property instead of reading from it. Here's a quick draft.
04-30-2015 02:29 AM
Hi altenbach
Thank for the good vi example..
can i ask question..? how can i get value of X at the same Y value with diferent intersection C(refer diagram)
Do i need to create an extra cursor and program cursor automatically to that intersection?
Best Regards
Tarmimi
04-30-2015 03:28 AM
Yes, just get a third cursor. Threshold array only works for nondescending segments, so you would start at the max, negate Y, and search for -0.1 or similar.
04-30-2015 04:05 AM
Good Day altenbach
Thanks for the information..
But i don't quite understand the statement "you would start at the max, negate Y, and search for -0.1"
Can you please give me some hint in VI example
Best Regards
Ahmad Tarmimi