LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Crash at panlview.cpp when I modify front panel text

Hello,

 

I've been getting this really awesome error.  I'm working in LabVIEW 7.1 on a WinXP laptop and the VI I'm writing has become so unstable that it is crashing even when I edit the block diagram or change a front panel label.  Yesterday, I noticed that four buttons that formerly said "set" (boolean text) had gone blank, and when I attempt to modify (either through properties or by clicking on the front panel object), LabVIEW crashes when I click off of the object or hit enter, giving me an error at panlview.cpp.  

Parenthetically, this VI also has instability issues related to memory.cpp; sometimes it crashes at startup, sometimes it will run for a half an hour.  The forums seem to say that LabVIEW 7.1 and my dll calls may be causing this instability.  I have access to LabVIEW 2009 but a colleague has warned me against using 2009 on XP.

I'm using a dll supplied by Watlow for their EZ ZONE controllers and code I reverse engineered from the drivers they supply, originally written for 8.1 I think.  I have a fully functional, crash-free producer/consumer VI reproduced from their code that uses this same dll. </parenthesis>

Any help getting text back in my buttons would be appreciated.  And any commentary on running 2009 with XP might give me the push I need to try that despite my trainer's general practice.  

 

Jeremy

0 Kudos
Message 1 of 2
(2,290 Views)

Jeremy,

 

Was the Watlow dll that you're trying to call also created in LabVIEW?  If so, the memory.cpp error may be caused by calling a dll written in a later version.  If that's the case, you'll need to make sure you have the same version of LabVIEW Run-Time Engine as the version the dll was written in.

 

 


I have access to LabVIEW 2009 but a colleague has warned me against using 2009 on XP.

 

LabVIEW 2009 with Win XP is fully supported by NI, so I'm not sure what the problem might be with trying to use this.  What happens when you try to call this dll using LabVIEW 2009?

 

 


I have a fully functional, crash-free producer/consumer VI reproduced from their code that uses this same dll.

Is this version written in 7.1 also?

 

 

 

As far as the panlview.cpp error, it sounds like your controls have just become corrupt for some reason.  If it will let you copy and paste the rest of your VI to a blank VI and then rebuild the 4 buttons from scratch, try that and see if you still get the error.

 

 

 

 

Regards,
Austin S.

National Instruments
Academic Field Engineer
0 Kudos
Message 2 of 2
(2,276 Views)