LAVA Forums Buy cool LAVA gear Forums RSS Feed

Welcome Guest ( Log In | Register )

Tags
This content has not been tagged yet
 
Reply to this topic Start new topic
> FlexMotion Board and Axis Handles lost on Error, FlexMotion VIs drop handles if Error In
Rating 5 V
Jim Kring
post Oct 8 2004, 07:26 AM
Post #1


Changing the world, one VI at a time.
*****

Premium Member
Posts: 1654
Joined: 22-October 02
From: San Francisco, CA
Member No.: 17
Using LabVIEW Since:1995
LV:8.2.1 ,8.5 ,7.1.1
United States us_california Nothing Selected My Blog My Gallery


:!: 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:

Attached Image


Attached Image


Attached Image


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.gif). You can see some code which is exposed to this flaw, below:

Attached Image

lightbulb2.gif The only suitable workaround is to not, use the pass-through values, as shown in the work-around below:

Attached Image

Lucky for me, I didn't crash a motion axis before I discovered the bug.

--------------------
-----------------------------------------------------------------------------------------------------
| Book | OpenG | LAVA | Champion | VIPM | Builder | Blog | JKI |
-----------------------------------------------------------------------------------------------------


Tags
This content has not been tagged yet
Go to the top of the page
+Quote Post
Ad
post Oct 8 2004, 07:26 AM
Post #















Tags
This content has not been tagged yet
Go to the top of the page
Quote Post
natasam
post Jun 12 2006, 08:20 PM
Post #2


I want a LabVIEW icon under my name!


Member
Posts: 3
Joined: 28-September 04
From: Toronto
Member No.: 728
Using LabVIEW Since:2004
LV:7.1 ,. ,.
Yugoslavia Nothing Selected Nothing Selected


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


Tags
This content has not been tagged yet
Go to the top of the page
+Quote Post


Reply to this topicStart new topic

 




Time is now: 7th September 2008 - 06:33 PM