LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

ActiveX Method Crashing Labview

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

 

0 Kudos
Message 1 of 9
(3,977 Views)

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? 

 

 

Jesse Dennis
Engineer
INTP
0 Kudos
Message 2 of 9
(3,951 Views)

Hi again Tim,

 

 

This kb has some good steps to take also. 

Jesse Dennis
Engineer
INTP
0 Kudos
Message 3 of 9
(3,949 Views)

Unfortunately my ND with Hamilton probably prevents me from posting their documentation on this. When the crash occurs, it actually exits labview.

 

Tim

0 Kudos
Message 4 of 9
(3,944 Views)

I also checked the KB article. I had high hopes for that, but it had the same behavior.

0 Kudos
Message 5 of 9
(3,942 Views)

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?

Andy K.
Applications Engineer
National Instruments
0 Kudos
Message 6 of 9
(3,929 Views)

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!

0 Kudos
Message 7 of 9
(3,919 Views)

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?

Andy K.
Applications Engineer
National Instruments
0 Kudos
Message 8 of 9
(3,901 Views)

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

0 Kudos
Message 9 of 9
(3,876 Views)