Graphs and Controls wrote in message news:<5065000000080000005D4F0000-1023576873000@exchange.ni.com>...
> When I select a point in my graph, then my controller will work
> increasing or decreasing the output of any physical parameter like
> temperature, pressure, according to the point which has selected or
> marked in any location of graph. ie I should manipulate the variables
> from the graph itself.
>
> Thanks,
> Raj
Hi Raj,
have a look at using a cursor set to lock to plot (that way if you
have multiple plots, you can have a cursor for each). You can retrieve
the current position of the cursor element as the value you then need
to update.
To save on overhead, and since you'll need to loop in the program
anyway, I'd think about using a shift regi
ster to see if the cursor
has changed position, and if it has, then perform the appropriate
function.
I hope this helps.
I have an example .vi if you want to mail me away from the group.
Sash.