View Full Version : NetRemote.ExecuteAction in LUA
avid
January 25th, 2005, 06:15 AM
I remember from some time back reports of a problem when two or more calls to NetRemote.ExecuteAction appear in a single LUA function (called from a button action).
Does this problem still occur?
I am seeing strange symptoms in my LUA that would be explained by this. And I am planning some other enhancements to my system where I would need to issue multiple actions.
Is my memory correct? And did the problem ever get fixed?
Brian
Rob H
January 25th, 2005, 06:37 AM
Your memory is indeed correct.
I'm not sure that it has been fixed. Should be easy enough to test it one way or another.
avid
January 25th, 2005, 07:09 AM
Ben?
Rob H
January 25th, 2005, 07:18 AM
You never know, might be fixed in tonight's release.
danward79
January 25th, 2005, 11:07 AM
You never know, might be fixed in tonight's release.
How do you know that?! :roll:
peegee
January 25th, 2005, 11:09 AM
http://www.promixis.com/phpBB2/viewtopic.php?t=10272
:wink:
Ben S
January 25th, 2005, 03:42 PM
The major part of this problem is fixed. Because of the threading model, no guarantee could be made that the ExecuteAction was caught and run in any given order. This is now fixed (ExecuteAction actually waits until the actions is done before returning).
The problem that still exists is that if your are using ExecuteAction to call Girder, and you expect Girder to "return" results, there is no way to know when they will return. And you can't execute a "sleep" until the result comes in because of the threading model.
windtrader
January 25th, 2005, 04:31 PM
I remember from some time back reports of a problem when two or more calls to NetRemote.ExecuteAction appear in a single LUA function (called from a button action).
"some time back" - 2 weeks ago it tripped me up. :lol:
http://www.promixis.com/phpBB2/viewtopic.php?t=10050
avid
January 25th, 2005, 10:54 PM
I remember from some time back reports of a problem when two or more calls to NetRemote.ExecuteAction appear in a single LUA function (called from a button action).
"some time back" - 2 weeks ago it tripped me up. :lol:
http://www.promixis.com/phpBB2/viewtopic.php?t=10050
Sometimes 2 weeks can seem like a lifetime ago! :-?
Powered by vBulletin® Version 4.1.8 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.