HI,
I encounter some trouble about SetAxisRange function when I used Labwindows/CVI6.
The description is as following:
There is a graph in my uir file, it's ok when I call SetAxisRange function(function's parameter are
SetAxisRange(panel,control,VAL_MANUAL,0.0, 3.0,VAL_MANUAL, -10.0, 10.0);); It's wrong, however,when I change
parameter Xmax value, SetAxisRange(panel,control,VAL_MANUAL,0.0, 6.0,VAL_MANUAL, -10.0, 10.0) - Xmax value is
6.0. In CVI6.0 Debug mode, some messages are displayed.
Firstly, "NON_FATAL RUNTIME ERROR "Test.c", Line 480,col 13, thread id 0x0000033C, function id 1
The program has caused a first chance 'Stack overflow.' fault at 001B:68473963.".
Secondly, "NON_FATAL RUNTIME ERROR "Test.c", Line 480,col 13, thread id 0x0000033C, function id 1
The program has caused a first chance 'General Protection.' fault at 001B:68473963.".
Finally, "NON_FATAL RUNTIME ERROR "Test.c", Line 480,col 13, thread id 0x0000033C, function id 1
The program has caused a 'General Protection.' fault at 001B:68473963.".
Why does not it happen when the parameter is Xmax = 3.0 ,1.0, 2.0...?
Why does it happen when the parameter is Xmax = 5.0, 6.0?
Pls tell me why? How to solve?
Any suggestions..???