Jump to content
MikaelH

Strangest LabVIEW crash on my computer

Recommended Posts

Hi Guys

I have the strangest LV crash on my computer, that I like to share to see if anybody else has seen this before.

It has to do with code (GDS in my case) that is running as a secondary provider to the Project Explorer. I've compiled the same version into all 6 versions of LabVIEW 2010,2011,2012 and 32 and 64 bit versions.

The crash only appears in all my 32 bit LV versions, not in the 64 bit versions.

LV just crashes when, in my case the UML modeller tries to do a simple tasks as displaying the "File Dialog" to let the user browse for a file.

It's definitely something fishy with my computer since it works on other computers.

I'm running a high spec Dell Alienware Laptop W7-64bit, 16G Ram.

Currently I've had to switch my development to 64 bit LabVIEW to continue.

But I'm afraid I have to use the Recover DVD that come with the computer to get it working again :-(

Share this post


Link to post
Share on other sites

Try to install newest Visual C Redistributable. In my case crashes were appearing for File Dialog in the browser. I suppose that I installed something which had overwritten DLLs of this package with older versions. Installing whole the newest version of it helped.

Share this post


Link to post
Share on other sites

Try to install newest Visual C Redistributable.

Thanks for the suggestion, but that didn't solve my problems, any other that have some suggestions?

You can win a beer or two at NI-week :beer_mug:

Share this post


Link to post
Share on other sites

Sounds like a library call problem. All later labview versions are extremely non-resilient to pointer failures. The fact that it works fine on x32 but not x64 kind of points to an invalid pointer being passed (usually passing a fixed size pointer rather than a pointer-sized). I don't know what the GDS is, but are there an CLNS in the code?

  • Like 2

Share this post


Link to post
Share on other sites

I don't know what the GDS is, but are there an CLNS in the code?

GDS or GOOP Development Suite. Have you heard of that?

If not, it's the OO add-on to the Project Explorer that make OO in LabVIEW so much nicer.

http://goop.endevo.n...os/GDSFeatures/

I have a TCP/IP listener running in the background of the Project Explorer window to receive commands when someone double clicks a file with the uml-extension from windows explorer.

(The same way VIPM links the vip file to the VIPM application).

I thought this was a probable cause of ii, but even if I removed that code I still got the problem :-(

Share this post


Link to post
Share on other sites

I've always found the TCPIP to be rock solid (at least as far as crashes). Look for CLNs.

  • Like 2

Share this post


Link to post
Share on other sites

Look for CLNs.

I thought you were referring to the network term CLNS (Connectionless Network Service), but you mean of course Call Library Function :-)

I'm avoiding those since I want it to be platform independent.

Shaun, I owe you a beer :-)

Come by Symbio’s booth at NI-week or catch me at NI-week.

You did put me in the right direction to solve the problem.

I'm not using any DLLs directly, but I'm using the Mouse Vis in the inputDevices.llb

Since These VIs don't work/exists on Mac or Linux, I have to create a wrapper around then and load then dynamically.

And just by disabling the code in this VI it worked.

I’ll see if I can figure out a different way of solving this.

post-941-0-46631200-1338279065_thumb.png

  • Like 2

Share this post


Link to post
Share on other sites

Sweet.

My apologies. I always call them "Call Library Nodes" through laziness. Perhaps you might have got there quicker if I had used the correct acronym - CLFN).

A "Like" point will be more than sufficient ;)

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.