LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

XY Graph Cursor

I have one xygraph with six plots(six signals). I want associate one cursor on the six plots. I want move cursor in the graph and display the different values in the different plots. How this?.
Tengo un gráfico con seis plots y quiero asociar un cursor a los seis. Donde al moverlo por el gráfico me muestre en seis controles enteros los valores Y de los plots.
Muchas Gracias a todos, MFS.
0 Kudos
Message 1 of 11
(13,187 Views)
Hi,
1. To create Cursor right-click on the graph and select "Visible items->Cursor legend" from drop-down menu to show cursor palette. Then enter some values in the empty legend fields to create cursor.
2. To associate cursor with some of your plots you must click on the "lock" image near the cursor coordinates in the legend. The drop down menu will appear. Select "Lock to plot" option. Also there is a list of available plots in this menu. Select one of your six to specify plot to which cursor will be locked.

Yuo can do it in edit in run mode.

Good luck.

Oleg Chutko.
0 Kudos
Message 2 of 11
(13,185 Views)
Its impossible to lock one cursor to all of your six plots. If you want this you must create six cursors associated with different plots. Then with the help of their property nodes you can move them together programmatically.

Oleg Chutko.
0 Kudos
Message 3 of 11
(13,185 Views)
Hi,
it's me again.
I've created a small example for 2 cursors of Waveform Graph to show the idea.

Good luck.
Message 4 of 11
(13,184 Views)
> I have one xygraph with six plots(six signals). I want associate one
> cursor on the six plots. I want move cursor in the graph and display
> the different values in the different plots. How this?.

As mentioned in the other postings, you can create a cursor and lock it
to a single plot. What you will most likely want to do is to use the
cursor, either locked or not to get an X value. Write a simple VI that
takes in the six plots and an X and returns six Y values using nearest,
interpolation, or whatever you like. Display these six values wherever
you like near the graph.

Greg McKaskle
0 Kudos
Message 5 of 11
(13,185 Views)
So what is the question about... I have to use XY graph in my program. It is used in Loop while cycle. It shows the statistic of a variable. I am using cursors in this graph to check the actual value of a variable in different period of time. But there are 7 variables and it is extremely hard for user to check each value independently. So I tried to make them moving on the X axis (TIME) together using the property node (cursors reading the position (only X axis, Y axis status lock to plot) of the major cursor and follow it... Everything looks great? But it did not work when I am trying to move the major cursor manually on graph... It works only when I am using the cursor movement buttons... But they work very slowly when there is a lot of data in graph.

I want to find out is it possible to make seven coursers mouthing together By the X axe and be Locked each at its plot by Y axe manually (Using mouse moving on a graph). Is it possible? If it is than how to do it?
0 Kudos
Message 6 of 11
(13,168 Views)
Make sure to read the X value from the cursor that's on top (index 0) and set the rest of the cursors X value using property nodes. By default, the cursor with the lowest index number will be on top and therefore you can move it by using the mouse.

Notice this behavior in the 2Cursors.vi example above. The x value is read from cursor 0 and written to cursor 1. If you instead read from cursor 1 and wrote to cursor 0, the example wouldn't work.
- Philip Courtois, Thinkbot Solutions

Thinkbot Solutions
0 Kudos
Message 7 of 11
(13,153 Views)
Hi Shidla !

I think you misusing this forum. Do not add your own question as an answer to old posts ! Ask your own question in a new thread...

CC
Chilly Charly    (aka CC)
Message 8 of 11
(13,146 Views)
Hola Maria Fernanda

El metodo mas sencillo es mantener los datos de los plots en un array. Usa el valor x del grafico para indexar los 6 valores del array y presentalos.

Suerte y feliz salida y entrada de año

Alipio
---------------------------------------------------------
"Qod natura non dat, Salmantica non praestat"
---------------------------------------------------------
0 Kudos
Message 9 of 11
(13,142 Views)
By the way there were big talk about the problems with cursors in XY. It is quite interesting problem. I think you will be interested in this... This is a part of bioreactor SCADA problem...
www.btc-automation.lv
www.bioreactors.net
0 Kudos
Message 10 of 11
(13,018 Views)