Turn on suggestions

Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.

Showing results for

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page

Highlighted

10-09-2019 10:59 AM

Options

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report to a Moderator

Hello community,

I have an array with Rs and Xs. And I need to calculate the impedance by the formula: Z = Rs + i * Xs.

Do any body have an idea how to handly the imaginary part (i) for an impedance calculation?

How the block diagramm must look specialy for this formula?

Solved! Go to Solution.

Highlighted
Options

10-09-2019 11:18 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report to a Moderator

LabVIEW has a Complex Number set of datatypes. Probably those combined with the nodes on the Numeric palette will get you where you want to be.

You can create one by dropping a Double constant then right clicking and choosing Representation > CDB (complex double) or related types (at the bottom of the group).

Highlighted
Options

10-09-2019 11:21 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report to a Moderator

If you right-click a floating-point constant or control, there's a menu option called "Representation" and if you go to that there's an option to change them to be a bunch of different data types, one of which is CDB, "Complex Double". Using that, you can do math with all of the built-in functions operating on complex numbers.

Also, in the "Numeric" Palette, there is a "Complex" sub-palette that includes a lot of nodes for constructing complex numbers from real components, and deconstructing them to real and imaginary.

Highlighted
Options

10-09-2019 09:32 PM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report to a Moderator

Highlighted
Options

Solution

Accepted by topic author UA

10-09-2019 09:58 PM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report to a Moderator

In response to your original question:

@UA wrote:

How the block diagramm must look specialy for this formula?

Something like these options:

Here you can see either the use of the Re/Im to Complex node described above, or the Complex Constant being used to make the (real) "Imaginary Part (X)" into an actually imaginary part (for this you could also use Re/Im to Complex and just wire 0 to the Real input).

Depending on what else you might need to do, the Complex Number functions (a list can be found here) could be useful. But maybe you only need to add these and so the Re/Im to Complex is fine.

Highlighted
Options

10-11-2019 04:03 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report to a Moderator

Solved, thank you.