10-21-2013 12:57 PM
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
Thanks!
Steve
Solved! Go to Solution.
10-21-2013 05:07 PM
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!
10-22-2013 06:55 AM - edited 10-22-2013 07:11 AM
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