From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

connected terminal of different types

I have error in LabView like that. 

 

These cannot be wired together because their data types (numeric, string, array, cluster, etc.) do not match. Show the Context Help window to see what data type is required.
The type of the source is 1D array of
Dynamic Data.
The type of the sink is 2D array of
double [64-bit real (~15 digit precision)].

 

basically, i am wiring from Build Array Block to Write Spreadsheet File. Tell me what i have to do. thanks a lot for all

0 Kudos
Message 1 of 3
(886 Views)

Hello,

 

The error is self explanatory more than enough I think.

You are wiring a 1D dynamic array to a 2D double terminal.

 

You should convert your array to 2D or use 1D data terminal.

 

If that does not solve the problem for you, please share the whole code and try to explain what you are trying to do, so people can help you better.

 

0 Kudos
Message 2 of 3
(845 Views)

Not sure why you are building your dynamic data into an array. That makes no sense here. If you want to save dynamic data directly, you can use the "Write to measurement file" express VI. I am sure you can find a configuration that fits your needs.

 

If you want to use the classic function you are currently using, you can convert your dynamic data to an array first using "from ddt".

0 Kudos
Message 3 of 3
(815 Views)