LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Can we use Graph as a control Signal?

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
0 Kudos
Message 1 of 4
(2,894 Views)
Use cursor for this target.
0 Kudos
Message 2 of 4
(2,894 Views)
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.
0 Kudos
Message 3 of 4
(2,894 Views)
Hi Sash,
Thank U very much for the answer given to my question. Its really nice. Apart from this I got some idea from the seminar which was held at Grand Rapids. Both are nice things. I really appreciate U sash. Thanks again.
"Raj".
my mail id is: raj@chanseind.com
0 Kudos
Message 4 of 4
(2,894 Views)