Jim Kring Posted October 8, 2004 Report Share Posted October 8, 2004 :!: Today, I discovered a serious flaw in the following FlexMotion VIs: Wait for Blend Complete Wait for Move Complete Wait Reference The problem is that when an Error is passed into them they do not pass the "Board ID" or "Axis" values through, as one would expect. Here are some screenshots of the offenders: This can cause huge problems downstream. For example, here is some code that I wrote as part of a move command. If the move fails, I want to kill/abort the motion. But, since I no longer have valid "Board ID" or "Axis" values, the abort call fails (this is VERY bad :thumbdown:). You can see some code which is exposed to this flaw, below: The only suitable workaround is to not, use the pass-through values, as shown in the work-around below: Lucky for me, I didn't crash a motion axis before I discovered the bug. Quote Link to comment
natasam Posted June 12, 2006 Report Share Posted June 12, 2006 Jim, I know that this is really old post but it might help me to resolve very unpleasent issue with my application. Shortly to explain: from time to time, motor would start turning very fast, and then I would get the timeout message. Move would not be killed and I would have to the that manually from diagnostics program before I start the application again. I will try to implement your solution. Thanks for idea. Say hi to Michael. Natasa Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.