LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Connecting a source of 1D (sub)array of waveform DBL with a sink of 1D array of waveform DBL.

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. 

0 Kudos
Message 1 of 6
(3,804 Views)

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.

0 Kudos
Message 2 of 6
(3,776 Views)

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.

 

 

0 Kudos
Message 3 of 6
(3,768 Views)

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.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 4 of 6
(3,748 Views)

Hi crossrulz.. Both split array and index don't seem to have much difference between them..

0 Kudos
Message 5 of 6
(3,684 Views)

So are you still having problems?  If so, attach your VI.

0 Kudos
Message 6 of 6
(3,681 Views)