LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

same source/sink wiring problem

Solved!
Go to solution

Hi,

 

There is a wiring error going into my polar plot.  I'm converting Re/Im parts to polar and then bundling these together.  I then build an array to form a 1-D array of 2 elements, however there is still an error even though the sink requires a 1-D array of2 elements.  This is quite confusing, can anyone help please?

 

Cheers

0 Kudos
Message 1 of 9
(3,486 Views)
Can you post a screen shot? What and where are you trying to plot?
Message Edited by muks on 01-18-2010 04:01 PM
0 Kudos
Message 2 of 9
(3,484 Views)
Heres the part thats broken:
0 Kudos
Message 3 of 9
(3,458 Views)
Use a build array -->type cast-->connect it to the polar plot.
0 Kudos
Message 4 of 9
(3,446 Views)

pol.PNG

like this

0 Kudos
Message 5 of 9
(3,436 Views)

The source is not correct and using a typecast will not fix it.

 

Turn on context help or right click on the input and select 'Create Constant' to see what the correct data type is. The correct data type is a 1D array of a cluster with two scalars - not a 1D array of a cluster with 2 1D arrays.

0 Kudos
Message 6 of 9
(3,435 Views)

wr.PNG

 

I think they match. Please correct me if wrong.

0 Kudos
Message 7 of 9
(3,428 Views)
Solution
Accepted by topic author lpaza

That's not the same input data type as the op and since you can typecast anything to anything else, I'm not sure what the point is. You can typecast a string to the correct input but that does not mean the data will be correct.

 

 

 

Message Edited by Dennis Knutson on 01-18-2010 05:56 AM
0 Kudos
Message 8 of 9
(3,416 Views)

Thanks for all the help guys, especially since I'm quite new to Labview.  Dennis, I used the configuration you used within the loop around my data aquisition and it works great. 

0 Kudos
Message 9 of 9
(3,367 Views)