LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Intensity Graph Cursor Info??

I have an intensity graph in which I want to use the position data of Cursor(s) a,b,c...etc. to control a later program operation. However I have had difficulties in doing this. So far I have tried right clicking on the x or y position, and creating a property node. Then change the property to value. This method works when there is one cursor but not more than one. If additional cursors are used, the property node returns only the last x, y or z value of all the cursors.

Any thoughts...basically I want x, y data from cursor A and x, y data from cursor B
0 Kudos
Message 1 of 4
(4,638 Views)
Hi,
The easiest way is to use property node of intensity graph called "Properties->Cursor->Cursor Position".
To read positions of different cursors you must activate each of them before reading of their properties. To do it use "Properties->Active Cursor" property.
So the method is following
1. Activate Cursor 0.
2.Read its position
3. Activate Cursor 1
4. read its poasition ... etc.

the example is attached.

Good luck.

Oleg Chutko.
0 Kudos
Message 2 of 4
(4,638 Views)
> Any thoughts...basically I want x, y data from cursor A and x, y data
> from cursor B

The Active Cursor property selects which properties are being
read/written. The property defaults to zero.

Greg McKaskle
0 Kudos
Message 3 of 4
(4,638 Views)
thanks for the help I knew it must have been something simple
0 Kudos
Message 4 of 4
(4,638 Views)