08-08-2005 04:45 AM
08-08-2005 06:07 AM
Looking at a front panel in which everything is white can be a bit problematic. Any reason why you did that?
Your subVIs weren't included. If you want to post code which includes subVIs, you should save your code in an LLB (File>>Save with Options>>Development Distribution).
I think what you want to do is move the chart you want to update out of the case structure, place a Build Array outside the case structure, wire the charts into the Build Array and wire the array into the chart indicator. You may need to right click the build array and select Concatenate Inputs. Also, you need to right click the tunnels and select Use Default Data.
Now I see another option. Your code only seems to run once. If what you want is that in any case you choose the data will get to the same chart, your problem is that one of your cases (Readings) has a 2D array and the others have a 1D array. You can't wire 1D arrays and 2D arrays into the same tunnel. What you probably want to do is add another Build Array inside the readings case and check Concatenate Inputs on that one. That way it will be a 1D array and you can wire it into the same tunnel as the other cases.
08-08-2005 08:52 AM
08-08-2005 08:54 AM
08-08-2005 09:09 AM
Did you follow my suggestion?
If you want all cases to update to a single chart, wire all of them to one chart outside the structure and check the Concatenate Inputs option in the Build Array inside the "Readings" case. Another way of doing it is using Insert into Array instead of Build Array.
If this doesn't help, you will need to better explain your problem.
08-08-2005 11:08 AM
08-08-2005 11:27 AM
08-08-2005 11:54 AM
08-08-2005 12:37 PM