Current Position:Home > PlotXY and PlotXvsY errors

PlotXY and PlotXvsY errors

Update:11-30Source: network consolidation
Advertisement
When I try to do multiplots with PlotXY and PlotXvsY I the CWUI dll always displays an error box with "Array dimension mismatch" if the Y array has more than one row.
Attachments:
example.txt ‏1 KB

The Best Answer

Advertisement
I figured out the prob. I was not creating a 2-D array for the multi-row plot. Also, since CWUI considers a 1-D array to be an array of 1 column, many rows, and since the X array has to be a 1-D array, I have to call the PlotXvsY function with true for a single line, and false for multiple lines.
Attachments:
example.txt ‏2 KB
  • PlotXY and PlotXvsY errors Update:11-30

    When I try to do multiplots with PlotXY and PlotXvsY I the CWUI dll always displays an error box with "Array dimension mismatch" if the Y array has more than one row. Attachments: example.txt ‏1 KBI figured out the prob. I was not creating a 2-D

  • PlotXY not working for arrays including NaNs Update:10-11

    Hi, working on this problem I was using (as usual) the PlotXY command for debugging, as follows: plot_handle=PlotXY(panel_handle,PANEL_GRAPH,x,y_l,1001,VAL_DOUBLE,VAL_DOUBLE,VAL_THIN_LINE,VAL_NO_POINT,VAL_SOLID,1,VAL_RED ); Nothing spectacular beside

  • Help! About PlotXY(const CNiMatrix& xy) problem Update:11-30

    please see the code,the result I think it's error.5 points less,please tell me why?????  long numPtsPerTrace = 5;  long numTraces = 4;  double *data;  data = new double[numTraces * numPtsPerTrace];  for (int i = 0;i < numTraces * numPtsPerTrace; i++)

  • Error in starting Adobe Bridge in Photoshop CS2 Update:10-11

    I've just installed Photoshop CS2, however upon opening Adobe Bridge this error message appears " The application has failed to start because libagluc28.dll was not found. Reinstalling to application may fix the problem" I have reinstalled and c

  • Windows Vista: Ipod Error Message, no longer read by PCs Update:10-11

    Hello, I have a 5th generation black ipod video with 30GB of memory. The other day I hooked it up to my laptop (Toshiba, 4 months old) that it's been functioning on with no problems whatsoever. This weird error message flashed twice about it not bein

  • Error while offsetting a variable Update:10-11

    Hello Experts I want to display the data for last 5 years in my query. So I tried using the SAP exit variable Current Calendar Year (0CYEAR) and the offset it by 5. However, I am getting the following error message for the query "System error in prog

  • Safari doesn't open and comes up with this error report. Update:10-11

    Please help. Process:         Safari [474] Path:            /Applications/Safari.app/Contents/MacOS/Safari Identifier:      com.apple.Safari Version:         7.0.4 (9537.76.4) Build Info:      WebBrowser-7537076004000000~3 Code Type:       X86-64 (Na

  • I click on itunes but doesnt open and says send error report or dont send Update:10-11

    i click on itunes but doesnt open and says send error report or dont sendYou will need to provide more details as we cannot see your computer screen. Does this happen every time you launch LabVIEW? What version of LabVIEW are you using? What version

  • If image file not exist in image path crystal report not open and give me exception error problem Update:10-11

    Hi guys my code below show pictures for all employees code is working but i have proplem if image not exist in path crystal report not open and give me exception error image file not exist in path although the employee no found in database but if ima

  • Open vi error for report generation toolkt Update:10-11

    Originally it works fine. Now I upgrade to win7, LV9 and office2010. To open the old program by 8.6.1, I reinstalled LV 8.6.1 and report generation toolkit. But still got the error as attached. Any suggestion, thanks. Attachments: ss.png ‏184 KB1. MS