LabWindows/CVI

cancelar
Mostrando resultados para 
Pesquisar então 
Você quer dizer: 

graph scaling crashes with stack overflow

I have code to box zoom a graph control using two cursors. When I zoom into a graph using about 55000 points several times, the graph crashes with a stack overflow error. I use SetAxisScalingMode to scale, but I found that the problem still occurs with SetAxisRange. The stack size is set at 64000000. I'm not sure why the stack would be filled up by repeated zooms, since I'm not adding more data to the plot.

It crashes on this line:
SetAxisScalingMode (panel, control, VAL_BOTTOM_XAXIS, VAL_MANUAL, minx1, maxx1);
0 Kudos
Mensagem 1 de 3
3.242Exibições
See:
http://exchange.ni.com/servlet/ProcessRequest?RHIVEID=101&RPAGEID=135&HOID=5065000000080000006DD00000&USEARCHCONTEXT_CATEGORY_0=_318_&USEARCHCONTEXT_CATEGORY_S=0&UCATEGORY_0=_318_&UCATEGORY_S=0
0 Kudos
Mensagem 2 de 3
3.242Exibições
yes, that was the problem.
0 Kudos
Mensagem 3 de 3
3.242Exibições