08-22-2011 04:20 PM
I'm trying to implement an activeX control to run a Hamiliton Robot. I received documentation about the proper calls to make, but one particular call causes Labview to crash with no error code or indication of a problem. The problem is consistent. Is there a way to determine what caused the crash?
Thanks,
Tim
08-23-2011 11:30 AM
Hi Tim,
When you say "crash" do you mean that your program stops or labview actually exits? There have been issues with activeX crashing (exiting) labview in the past. However, if you program is just stopping you may not be implementing error handling correctly.
Could you post what documentation you were using for the activeX calls and what call is causing the crash?
08-23-2011 11:36 AM
08-23-2011 02:14 PM
Unfortunately my ND with Hamilton probably prevents me from posting their documentation on this. When the crash occurs, it actually exits labview.
Tim
08-23-2011 02:29 PM
I also checked the KB article. I had high hopes for that, but it had the same behavior.
08-24-2011 04:47 PM
Hi thutch79,
Can you provide some information on your system?
What version of Labview are you using?
What operating system are you using?
Is there anything you can tell us about the specific call that is causing the crash without breaking your NDA?
08-25-2011 12:25 PM - edited 08-25-2011 12:29 PM
I am using Windows 7, 64 bit. I've tried it both on Labview 2010 sp1 and recently on 2011 (two different laptops). At least with 2011, it provides an error when it exits. I've attached the logs generated if that helps anyone get to the bottom of this. I'll also include the VI. I've written a very basic VI that simply initializes the control, sets the correct method to call (a method is a script that tells the Hamilton software what to do with the robot). It then runs the method. That last call is where Labview crashes. The other two calls work fine. The VI has loops placed in between each of the calls to I could isolate the problem. The interesting part is the VI does get beyond the last call. I probe placed on the error wire after the run call does get executed, but soon after the crash occurs.
Thanks for trying to help!
08-26-2011 01:04 PM
Hi thutch79,
Unfortunately there is not much I can do to help without the program installed and documentation. If you are crashing at the specific invoke node, then it is most likely an issue with the call to that function that is causing a crash to happen. Is it possible to get an example from someone who has used that specific invoke node with this application before?
09-01-2011 02:46 PM
Sorry, the storm took me offline for a few days. I've moved this to a direct support request through NI for now. I've been able to supply them with the program to try on their end. Once I hear back on a resolution, I will post to the thread to let everyone know what they find.
Thanks,
Tim