LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

The source and the sink different type with its source code

Thanks Dennis.
Could any one take a look and give me some idea?
0 Kudos
Message 1 of 3
(2,382 Views)
I'm not sure exactly what you're trying to do but I see a couple of problems. You've got a bundle that creates a cluster that goes to a graph and to the Index Waveform Array. The cluster you've created is not of a wavefrom data type. I think I all you would have to do is to use the Build Waveform function inside of the for loop and then wire the ouput to both the graph and Index Waveform Array function. The graph will take an array of waveforms - it doesn't require the data type you've created.
Message 2 of 3
(2,382 Views)
Also, AFAIK you can't shove a 2D array into a Build Waveform function to get
an array of waveforms; you have to run the 2D array, autoindexed, into a For
loop along with the other two parameters and build your waveforms in there.
On exiting the loop, if autoindexing is enabled, the individual waveforms
will form an array of waveforms.

Make sure the 2D array is the right way round when it goes into the For
loop.

--
Craig Graham
Physicist/Labview Programmer
Lancaster University, UK

"Dennis Knutson" wrote in message
news:506500000005000000715E0000-1012609683000@exchange.ni.com...
> I'm not sure exactly what you're trying to do but I see a couple of
> problems. You've got a bundle that creates a cluster that goes to a
> graph and to the Inde
x Waveform Array. The cluster you've created is
> not of a wavefrom data type. I think I all you would have to do is to
> use the Build Waveform function inside of the for loop and then wire
> the ouput to both the graph and Index Waveform Array function. The
> graph will take an array of waveforms - it doesn't require the data
> type you've created.
0 Kudos
Message 3 of 3
(2,382 Views)