I am calling YGraphPopup and getting an unhandled exception. I tried just setting all the graph data to 0 and sending a length of 1. It does not get the exception every time... just sometimes. I have attached a file with the error from the calling program in Microsoft Visual and the call stack. Here is the code:
REAL FlotSAM[1024] = {0.0};
char GraphLabel[80];
int plotlength = 1;
sprintf(GraphLabel,"Sampled Data: Horizontal Resolution = %f microseconds",(pBasePage->RES * 1e6));
YGraphPopup(GraphLabel,FlotSAM,plotlength, VAL_DOUBLE);
2 files attached. Any suggestions would be appreciated.