Matt- Thanks for getting back with me. I hope your vacation was relaxing. Things have been a bit hectic in the office this past week, but I did look further into your questions and have come up with the following:
First, I understand you wish to change the order in which the data is plotted on the waveform graph. The only way to do this is to re-route the order of the data signals into the build array function that pipes into the waveform graph indicator on your block diagram. The first (top) data signal into the =93Build Array=94 function is programmatically placed into the first column of the array. By default, this first column of data is plotted as the top signal in the plot legend of the waveform on your front panel. This brings me into a solution for your second problem. In your screen shot, I noticed that your top (white) line is expected to be the max power plot. I could not see your blue data point plot on the output waveform, but I think that this plot is actually your max. power plot (according to the max power signal being appended to the bottom of the array in your block diagram). One thing you may want to try is swapping the wires that enter your final =93Merge Signals=94 function on the block diagram. Doing so should place the max. power plot as the top signal in the plot legend, and you can track it on the diagram accordingly. Make sure that the max power data point representation is different than the other signals, because two circle data points will appear as a single data point on your graph (hiding important data). Finally, I have one piece of advice that may solve your problem with the =91freezes.=92 Try adding a =93Wait (ms)=94 function into your While lo= op. This will cause your program to allow system resources for other processes such as mouse movements or window movements that, with your current program arrangement, will not occur upon demand. To add the =93Wait (ms)=94 function, [right-click] your block diagram and select [All Functions]>>[Time & Dialog]>>[Wait (ms)]. I hope this helps you sort everything out. Please let me know if you need any further assistance. Good Luck! Joe Des Rosier National Instruments
