LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

2D Cartesian Coordinate Rotation bug?



Intaris wrote:
Yeah, it'll take an Array for X and an Array for Y, but only when there's a single plot, no?

You can make an array of such clusters for multiple plots. Works fine.
 
Back to the bug:
 
Some casual testing show that the same problem (output stale data with empty array inputs) also occurs for 2D shift (See image)
and the 3D variations (tried only 3D shift).
 

 
I have not tested 8.6.


Message Edited by altenbach on 08-12-2008 01:09 PM
Message 11 of 15
(1,223 Views)
Shane, I had actually run your example directly, and I saw the behavior as you described it. It makes no sense to me why the function behaves that way when it's inside the loop like you have, and it behaves "correctly" when it's used the way I used it in the examples I posted. Like I said, a very strange bug indeed.
Message 12 of 15
(1,219 Views)
I think it might be a compiler (optimisation) error rather than a function error.  Seems to have something to do with re-using the same VI on the block diagram rather than two separate copies of the same (non-reentrant!) VI.

Wierd one indeed.

Took me a while to track this one down today.  Had me searching all over my code until I came across this behaviour.

Shane.
0 Kudos
Message 13 of 15
(1,216 Views)

@Intaris wrote:
I think it might be a compiler (optimisation) error rather than a function error. 

Hmmm... that sounds like a pretty good guess.
0 Kudos
Message 14 of 15
(1,212 Views)
I have reported this in the bug thread.
 
Let us know if you get a CAR #.
0 Kudos
Message 15 of 15
(1,193 Views)