ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Block Diagram Error

I'm getting an error when i try to connect two sub-vi's.

Error:
The type of the source is 1-D array of double.
The type of the sink is 1-D array of waveform.

Does someone know.
I'm using LV6i.

Iwert
0 Kudos
Message 1 of 2
(2,896 Views)
Yeah. You've gotten the error because you've tried to wire an array of
doubles to a waveform array 🙂

Type "waveform" is a new datatype introduced in LV6 that's essentially a
cluster of the DBL data array and timing information. The resizable function
"Build Waveform" under the "Waveform" palette allows you to combine your 1-D
array of doubles with t0 and dt values to get a waveform that can be fed
into the waveform terminal.

Iwert Mijnders wrote in message
news:<3A223E5F.6824A2BA@hotmail.com>...
> I'm getting an error when i try to connect two sub-vi's.
>
> Error:
> The type of the source is 1-D array of double.
> The type of the sink is 1-D array of waveform.
>
> Does someone know.
> I'm using LV6i.
>
> Iwert
>
>
0 Kudos
Message 2 of 2
(2,896 Views)