LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

CVI2013 f1 and excluded lines

Solved!
Go to solution

I've already reported a bug using excluded lines with CVI2013 (see here)

 

Now with f1 patch the bug has been partially fixed, but the problem is still there if you exclude lines (CTRL+E) in a heare file included from another header file (and not directly from a source file).

 

See attached example and exclude (CTRL+E) line 4 in dummy.h to see the problem.

Vix
-------------------------------------------
In claris non fit interpretatio

-------------------------------------------
Using LV from 7
Using LW/CVI from 6.0
0 Kudos
Message 1 of 7
(4,479 Views)

Is there a bug ID and/or a CAR for this issue?

 

Even with f1 patch, I can't really use CVI 2013 for project development, since I has some important regressions compared to CVI 2012 SP1.

 

Thanks

Vix
-------------------------------------------
In claris non fit interpretatio

-------------------------------------------
Using LV from 7
Using LW/CVI from 6.0
0 Kudos
Message 2 of 7
(4,413 Views)

Hi Vix,

 

I have downloaded userint.zip, and I have excluded line 4 from dummy.h: #define _FORTEST //uncomment this line to view a control. I am not seeing the behavior you previously reported.

 

Is there a specific preparation task you have to take before loading the file in order to see this behavior?


Thanks,

Daniel

Daniel Dorroh
National Instruments
0 Kudos
Message 3 of 7
(4,375 Views)

Hi Daniel,

let me explain what you should do (and should see, I hope).

 

  • if you comment line 4 in dummy.h (with //) the project can't be rebuilt for an error. This is what I expect.
  • if you exclude line 4 in dummy.h (CTRL+E) I expect the same, but the project is rebuilt without errors

So, the problem is: CTRL+E in a header file included from another header file has no effect (the line is not excluded).

 

Could you confirm this, please?

Vix
-------------------------------------------
In claris non fit interpretatio

-------------------------------------------
Using LV from 7
Using LW/CVI from 6.0
0 Kudos
Message 4 of 7
(4,362 Views)
Solution
Accepted by vix

Hi Vix,

 

Thanks for explaining further.  I was able to reproduce the behavior, and I filed a Bug report (ID 439152) to track this.  We appreciate your feedback!

 

Warm Regards,

Daniel Dorroh
National Instruments
0 Kudos
Message 5 of 7
(4,333 Views)

Hi Daniel,

could you provide the CAr for this bug?

Has it been already fixed either in CVI 2015 or in CVI 2017?

Vix
-------------------------------------------
In claris non fit interpretatio

-------------------------------------------
Using LV from 7
Using LW/CVI from 6.0
0 Kudos
Message 6 of 7
(2,705 Views)

Hi, Vix.

 

The CAR I filed was closed as a duplicate of CAR 431260, documented as a bug fix here: http://www.ni.com/product-documentation/52401/en/ .

 

I hope that helps,

- Daniel

Daniel Dorroh
National Instruments
0 Kudos
Message 7 of 7
(2,698 Views)