01-14-2008 05:59 PM
01-15-2008 09:23 AM
Hi,
1 sample/channel, displayed in chart: Use a bundle node found under the cluster palette. Bundle your signals and wire it then to your chart.
N samples/channel, displayed in graph: Use build array function (array palette) and wire it to the graph.
N samples/channel, displayed in chart: Use build array function, then use a transpose array function and then wire it to the chart.
Hope it helps
01-15-2008 12:24 PM
01-15-2008 12:30 PM
01-15-2008 12:32 PM
01-15-2008 07:14 PM
What you are doing with the conversion from/to dynamic data does not make any sense. First you convert the dynamic data from the DAQ Assistant to a 1D array. This is wrong. If anything, it should be a 2D array of scalars or 1D waveform array. To make matters worse, you then index out a single element from the 1D array and then convert this single element to an array just so that you can wire it to the filter functions. A single element cannot be filtered.
In order to display both raw signals, all you have to do is wire the dynamic data from the DAQ Assistant to a chart or graph. To use these filter functions (instead of the Express VIs), convert the dynamic data to a 1D array and then use the index array function on that. Wire the output straight to a chart. don't think your use of the XY graph is correct either. If you want to use Express VIs, use the split signal function to get each channel and wire a dynamic data type to two Express Filter VIs.
Both dynamic and waveform data types contain timing information that the filter functions require and if you keep that, you don't need any of the manipulation of the loop delay that you are doing.
01-16-2008 07:58 AM