LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

intensity graph Z cursor value

Solved!
Go to solution

Greetings!

 

I am creating a scanning XY stage program using an intensity graph.  I have a cursor to drag around that moves the XY stepper motor stages; zooms, adjusts Z colors & "contrast", etc.  I have the data showing up fine.

 

However I can't figure out how to get the Z value (so I don't have to show the big cursor legend).  As you know in the cursor legend as you move a cursor the X Y and Z values are shown.

 

Can't find a property node for the Z value...  This must be simple Smiley Tongue

 

 

Thanks!

Steve

 

 

0 Kudos
Message 1 of 3
(3,479 Views)
Solution
Accepted by topic author Steven8R

Unless you use custom axis offsets and increments, it is just the value of the 2D array and the indices of the cursor positions, so index array should get what you want. If you use custom axis scaling, you need to apply the linear transform between cursor x, y values and corresponding array indices.

 

In a better world, the cursor index property should give both indices of the 2D array and the method would directly work also for cases where the axis scaling is custom. This is the reason for my old idea here, so please vote for it!

Message 2 of 3
(3,460 Views)

That's exactly the property I thought I should find 😛  Voted up!

 

I think I saw your name over on the Phidgets Board - you do a lot of work with them? I'm using the stepper controllers for our XY stages. No/low budget means build ourselves 🙂

 

 

 

Thanks!

Steve

 

-----------------------------------------

Thomas Jefferson National

Accelerator Facility

0 Kudos
Message 3 of 3
(3,445 Views)