LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

data type issue when connecting to signal generator

Hey everyone. I am building my first labview program and it is interfacing with arduino. My error occurs when I attach a waveform graph to see the data received from arduino. I think it can be resolved but I do not know how to solve it! My error code is:

 

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 double [64-bit real (~15 digit precision)].
The type of the sink is 1-D array of
double [64-bit real (~15 digit precision)].

 

Hope you can help! A picture is attached also.

0 Kudos
Message 1 of 6
(3,197 Views)
Try a chart instead.
0 Kudos
Message 2 of 6
(3,193 Views)

Hi, 

I have also error 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 1-D array of
double [64-bit real (~15 digit precision)].
The type of the sink is long [32-bit integer (-2147483648 to 2147483647)].

 

How can I solve it?

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

Hi Nadil,

 

you can definitely wire a 1D array of DBL to a chart. So the problem is not the chart but something else!

 

Clean up your VI (ctrl-u or ctrl-b), then rewire correctly...

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 4 of 6
(3,104 Views)

I did that many times but till now I got the same error. I don't know why? I try different ways but still getting the same error.

 

I new with LabVIEW, I am now busy with it like 3 or 4 weeks. I use 2010. 

 

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

Hi Nadijl,

 

after looking at your VI I recognized it as something known...

 

Please stick with your own thread.

Don't hijack older threads which handle completely different things: you are NOT connecting to a chart/graph!

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 6 of 6
(3,098 Views)