01-28-2009 12:56 AM
Hi,
I have a program with Strip Charts to show me what is happening. Everything was working until today.... Now I have: """ NON-FATAL RUN-TIME ERROR: "OpcClient.c", line 262, col 17, thread id 0x00000170: Library function error (return value == -14 [0xfffffff2]). Value is invalid or out of range """.The code is:
theValue2=theValue2/10;
datapoints[0] = theValue;
datapoints[1] = theValue2;
datapoints[2] = theValue3;
PlotStripChart (panelHandle, PANEL_CHART, datapoints,1,0,0, VAL_DOUBLE); //this is line 262
PlotStripChart (panelHandle, PANEL_CHART_2, datapoints, 1,0,0, VAL_DOUBLE);
SetCtrlVal (panelHandle, PANEL_PRESSURE, theValue);
Can anyone help me? Until today everything was working ok.
Thanks.
01-28-2009 07:40 AM
01-28-2009 08:30 AM
Guillaume Dargaud wrote:
Usenet is 20 times faster and has a much better interface.
Evidently not, as the web based interface at least understands the embedded codes and manages to produce a user-friendly presentation, in contrast to the Usenet one. Maybe you should pursue the Usenet interface designers and bring them kicking and screaming into the 21st century
JR
01-28-2009 11:21 AM
Hello prepond,
How many traces do you have configured in your chart? (I'm guessing 3)
You must plot at least as many points as you have traces, or you will get this error. In the 4th parameter of the function, you are passing 1. I'm guessing that you intended to pass 3.
Luis
01-30-2009 01:36 AM
Hi again.
Yes I have 3 traces, I changed this value 1 for 3 and now I have different error:
NON-FATAL RUN-TIME ERROR: "OpcClient.c", line 262, col 17, thread id 0x00000FB8: Library function error (return value == -12 [0xfffffff4]). Out of memory
Out of memory? What is going on?
Please help:)
Thanks.
01-30-2009 11:45 AM
With just this information, I don't know. Can you replicate this problem in a small program that you could attach here, so that I can try to reproduce it?
Luis
01-30-2009 01:28 PM