LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Please, How do change of the cursors position of

sorry, Folowing your instruction I find picture number 1.

 

But I need the icon  called "utility cursr const" of the pecture nunber 2

 

Thank you

Juscelino

 

 

Download All
0 Kudos
Message 11 of 17
(1,355 Views)
0 Kudos
Message 12 of 17
(1,350 Views)
No you DON'T need that subVI. As mentioned, the constant you created can be used or you can. if you want place it in a subVI.
0 Kudos
Message 13 of 17
(1,342 Views)

Sorry

 

But I would like only:

 

I have some  graph xy with two cursors implemented with the difference between x2-x1 and y2-y1 in each of them.


with the application running, I need of to reposition the cursor in two specific locations.


they are always on top of the curve and for example I need of place cursor numero 2  exactly in position 200, and  the numero 1 exactly in position 155.

 

the idea is to use a control to bring the cursor to the desired position.

 

I send attached the property node that I'm using to make the x2-x1.

 

Thank you very much,
Juscelino

0 Kudos
Message 14 of 17
(1,338 Views)
And you can use either the cursor.index if those numbers are positions in the waveform array or the shown cursor.x if those numbers are x values in the waveform array.
Message 15 of 17
(1,335 Views)

There's nothing special in the sub-VI.  You can move your cursors using the CrsrList property of your chart to get the array of cursors, then adjust any of the properties you wish.  All I did was delete cursors and add two new ones, happily accepting nearly all of the defaults and setting the X-axis positions as required.

You would set the two Position.X values to 200 and 155.  You might also want to rename them.

cursors.png

Jim
You're entirely bonkers. But I'll tell you a secret. All the best people are. ~ Alice
For he does not know what will happen; So who can tell him when it will occur? Eccl. 8:7

Message 16 of 17
(1,292 Views)
Example_VI.png
Jim
You're entirely bonkers. But I'll tell you a secret. All the best people are. ~ Alice
For he does not know what will happen; So who can tell him when it will occur? Eccl. 8:7

0 Kudos
Message 17 of 17
(1,243 Views)