LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

table crashes program

I have a problem with a table control.
I display in this control 500 rows; each record contains about 10 fields (string, float and int).
During the tests in debug mode the program works correctly; When I build the project and run the .exe file, the program crashes when it ends to load the values into the table.
So I have two differents behaviours in debug and release mode. What can I do?

I tried to:
- use SetCtrlAttibute (... , ATTR_CTRL_VAL, ...) to increase speed (it was slow before)
- set the table not visible during the update proce

Can you help me?

Thank you!

PaoloP
0 Kudos
Message 1 of 4
(3,383 Views)
PS. I use CVI 7.1.1
0 Kudos
Message 2 of 4
(3,377 Views)
Hi Paolo,
 
so the problem shows up when working with the release executable? I'm going to investigate deeper and I'll reply to you as soon as possible.
 
Best regards,
 
Fabio
Fabio M.
NI
Principal Engineer
0 Kudos
Message 3 of 4
(3,365 Views)
Hi Fabio, the problems appears only when working with the release executable.
I think the problem is related to the dimension of the data shown: if I displlay few records there are no problems; if I display 500 records the program crashes.

Best regards, Paolo
0 Kudos
Message 4 of 4
(3,339 Views)