01-28-2017 12:26 AM
Hi,
I am trying to retrieve waveforms from 2 channels of a tektronix scope in single shot mode. I am currently facing problem in my program where in post acquisition of the 2 waves which I am splitting from an array are showing broken wires and the following message is displayed.
"The type of source is 1-D(sub)array of waveform(DBL).
The type of sink is 1-D array of waveform (DBL)."
Please suggest me ways to solve this problem. The screenshot of the error is attached\
Thanks in advance.
01-28-2017 12:54 AM
A few things off the top of my head.
1. Use Delete from Array or a couple of Array Subsets instead of Split Array.
2. Try Typecasting to a 1-D Array of waveforms. (Just make sure the datatype input constant is created from a wire elsewhere and not directly out of the Split Array
3. Try the Always Copy primitive on those (sub)Array wires.
I haven't tested any of these nor even recreated your problem. (It would have helped if you attached a VI). So they may not all work. But I feel really good about #1.
01-28-2017 01:18 AM
Thanks, Raven.
I somehow figured out the means to solve that issue.
the inclusion of a Build waveform VI into the program has helped in connection them together.
01-28-2017 06:08 AM
Instead of the Split Array, you should have used Index Array. Then you would have single waveforms running around that will wire up nicely to your analysis functions.
02-07-2017 02:00 AM
Hi crossrulz.. Both split array and index don't seem to have much difference between them..
02-07-2017 08:13 AM
So are you still having problems? If so, attach your VI.