LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

convert array components to re/im values?

Solved!
Go to solution

I have 2Darray and want to convert its componants to re/im values

want to be
26+49i
81+93i
and want that for any values not specific one (cant input values by myself) want sol. for general case 

0 Kudos
Message 1 of 16
(3,241 Views)

What's wrong with the complex number format of LabVIEW itself and the Polar to Complex function?

 

polartoreim.png

Rolf Kalbermatter
My Blog
0 Kudos
Message 2 of 16
(3,237 Views)
Solution
Accepted by oiuuhjoi

Yes you can do like this using the function given by rolfk

 

RealAndImaginary_BD.png

 

RealAndImaginary_FP.PNG

-----

The best solution is the one you find it by yourself
Message 3 of 16
(3,230 Views)

what is the two inputs?? (remember: i cant take values and put it by myself)

0 Kudos
Message 4 of 16
(3,228 Views)

sure i accept as solution but sorry what is the block after 2Darray and before array index?

0 Kudos
Message 5 of 16
(3,223 Views)

Take a look at this and use LV help for assistance.

-----

The best solution is the one you find it by yourself
0 Kudos
Message 6 of 16
(3,220 Views)

thanks
                                         P Anand

0 Kudos
Message 7 of 16
(3,212 Views)

Hi oi,

 

why do you let us answer that question in two places?

Why do you create double posts?

Best regards,
GerdW


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

I REALLY get annoyed at people who double post.

0 Kudos
Message 9 of 16
(3,184 Views)

GerdW wrote:

why do you let us answer that question in two places?

Why do you create double posts?


Twice the exposure means twice the chance of getting an answer?  In reality, it just annoys people on the board and you then have half the chance of getting an answer.


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 10 of 16
(3,172 Views)