LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

cursor values

hi all

         i am doing one application in that i am using intensity graph . y axis 401 frequency channel values varies from 25 -75 MHz .so using y axis offset and multiplier i plotted the graph.and i added one cursor to that plot , when user moves the cursor over the plot i need the channel number which varies from 1-401 not the scalled values which varies from 25- 75 MHz. give some ideas.

 

------------------------------------------------------------------------------------------------------------------
Indrajit

| indrajitbarve@gmail.com | indar_indar2005@yahoo.co.in .
0 Kudos
Message 1 of 6
(2,962 Views)
There is a property of the cursor called "Cursor plot". This gives the plot
the current cursor is locked to. So if you have multiple cursors, you need
to select the active cursor first (with "Active Cursor" property).

Regards,

Wiebe.


0 Kudos
Message 2 of 6
(2,935 Views)
I think you are trying to display the cursor values in a different scale from the plot shown.  You can read the graph property node>cursor>cursorposition>cursor y.  Then scale it with multiply function to be whatever value you want it to be.  Then display this modified value rather than the cursor legend supplied by labview.
0 Kudos
Message 3 of 6
(2,926 Views)

hi

 here with i attached the vi.

1) where y axis is having 401 channels of frequencies...varies from 25-75 MHz so i added one more y axis ...

2) when i am plotting 802 channels instead of 401 channel automatically the another side of y axis want to change the axis values .. because i used the y axis offset is 25 and y axis multipllier is .125. ok but it was not changing ...i used active scale.....property to change the values this was not changing....any one plz help me.......

------------------------------------------------------------------------------------------------------------------
Indrajit

| indrajitbarve@gmail.com | indar_indar2005@yahoo.co.in .
0 Kudos
Message 4 of 6
(2,911 Views)
can you save the file as version 7.1 or post a screen shot of your code
0 Kudos
Message 5 of 6
(2,904 Views)

Unfortunately, the "cursor.index" property is only available for the x-axis (and I agree that it would make sense for intensity graphs to have it for both dimensions. Maybe you want to make a product suggestion for this!).

 

Still, it is a simple linear transformation. Get the offset and multiplier for the y axis and calcualte the index from it. Shouldn't be very difficult. 🙂

0 Kudos
Message 6 of 6
(2,900 Views)