LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

LV2009SP1 crash during build with FieldPoint 609

Windows7 x64 (no Admin privileges), 32-bit LV2009 SP1 (Feb2010 DevSuite), LV2009 SP1 Real-Time Module, FieldPoint 6.0.9 (Aug2011 Media).

 

Existing project with cFP-2220 FieldPoint RT, without problems in June, now crashes LV when built. The Windows crash message refers to a 'StackHash_xxxx' module which is apparently, from my research, related to the DEP configuration (found under Control Panel::System::Advanced::Perfomance Options::Data Execution Prevention). To my knowledge, no changes were made to that item. Previously delivered executables work as designed.

 

I have determined the problem is related to FieldPoint (through progressive removal of components in project and testing of various sample projects). With IT support, I have removed and reinstalled the NI-FieldPoint 6.0.9 driver without impact.

 

Between June and now, but prior to discovering this problem, all NI products were removed then reinstalled with addition of the following:

Device Drivers:

  NI-XNET 1.3.1, NI-RIO 4.0 suite, and

Developer Suite components:

  Unit Test Framework Toolkit, VI Analyzer Toolkit, Desktop Execution Trace Toolkit, Real-Time Execution Trace Toolkit (evaluation period not yet begun), FPGA module (evaluation period expired), and LabWindows/CVI 2009 (+all toolkits).

    

I cannot believe the added DevSuite components have any impact on a working LV build spec so unless the expired FPGA Module or the inactive RT ExecTraceTK is doing something (not yet removed from system), I cannot understand the cause of this problem.

 

I welcome any suggestions. This development system has had no similar problems for over 2 years.

 

Thanks, Dave

0 Kudos
Message 1 of 4
(2,835 Views)

Is DEP set to on for Windows programs and services? If it is not try setting it to that option and try compiling the program again. If that does not work there could be a problem in the ini file. You can rename the ini file and then start LabVIEW again and it will create a new ini file with the default values. Then see if the problem is resolved. 

Alex D
Systems Engineer
Academic Research
National Instruments
0 Kudos
Message 2 of 4
(2,795 Views)

Confirmed DEP is set to the default (essential Windows programs and services only).

Tried deleting 'labview.ini' and then rebuild with same crash.

 

NOTE: All these builds are done with no controller attached as was done in June. The target folder is created before the crash occurs (Appname.exe, which contains all component VIs) and must be deleted before another attempt.

 

Even creating a simple FieldPoint example (cFP-2220) only results in crash. I thought there might be some issue inside the IAK file for the existing FP configuration but the example proves that false.

 

I have had issues with the FP609 driver before in loading exising IAK configurations into new projects. Usually this was attributed to a same-named/IP item existing in Remote Systems (MAX) and after deleting it, the loading generally worked OK.

 

I saw in FP6.0.10 readme a possibly-related bug fix #307830 (LabVIEW crash on save of project) and another regarding the cFP-2220. I am not having problems on the controller itself, though. I have several deployed and validated systems configured with the FP6.0.9 and am reluctant to upgrade driver without new complete validation of deployed software.

0 Kudos
Message 3 of 4
(2,789 Views)

Could you setup a test machine with FieldPoint 6.0.10 and check to see if that fixes the issue?

 

On your main machine I recommend that you run a repair on both LabVIEW and FieldPoint. There is a possibility that over the months since July that something has caused a problem on the harddrive which has caused a minor corruption of the development environment. Running the repair will make sure that nothing has happened to the installation.

 

Your version of LabVIEW is also compatible with FieldPoint 6.0.11.

Alex D
Systems Engineer
Academic Research
National Instruments
0 Kudos
Message 4 of 4
(2,779 Views)