LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Is this a bundle or unbundle or another? It is not inside a any loop.

Ekran görüntüsü 2023-06-28 161917.png

0 Kudos
Message 1 of 5
(705 Views)

Use context help to find out.  To turn it on, click the ? on the upper right corner of any VI.  (If it looks "pushed in", it's already active.)  Then hover over the node in question and you'll get your answer.  For a more detailed answer, click the "Detailed help".

Bill
CLD
(Mid-Level minion.)
My support system ensures that I don't look totally incompetent.
Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.
Humble author of the CLAD Nugget.
0 Kudos
Message 2 of 5
(701 Views)

Hi bahadirozan,

 

it's an Unbundle function.

I guess it's from the same Anritsu manual with their bad code examples?

Best regards,
GerdW


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

You ask a good question (to which I don't know the answer, and so far haven't figured it out, possibly because I'm using LabVIEW 2019 and this might be "something new").  But I'm frustrated by the form of your question, showing a static "picture" of a small piece of a LabVIEW Block Diagram, one that we can't "open with LabVIEW" and do what @billko suggested.

 

Please, when you post some LabVIEW code, do the following:

  • Identify the version of LabVIEW you are using.
  • Try to post "visible code", which means a LabVIEW Snippet.
    • Select the code, click "Edit" on the menu bar, and choose "Create VI Snippet from Selection".
    • This will create a .png "image" that you can name as appropriate, but with the actual LabVIEW code buried inside it so we can view it in LabVIEW (provided we have the right version of LabVIEW).

There are some clues to the "right answer" (which I thank @GerdW for enlightening me) by looking at the wires going into and out of this function.  The output is clearly a 2D Array of (probably) Dbls, but what is the input?  It is a "textured" wire, which suggests a Cluster, but of what?  I don't know, as I don't see enough code to help me "figure it out for myself".

 

If I were you, I would mark both the post @billko provided (which helps you to figure it out for yourself) and @GerdW's as "Solutions" (you are the one who is supposed to help the Community by marking the "Solutions").

 

Bob Schor

0 Kudos
Message 4 of 5
(661 Views)

As has been said, obviously it's an unbundle, so the original is a 1d array of clusters where each cluster contains a 2D array (SGL, or DBL, maybe CDB etc. there is no way to tell!), nothing else.

 

As a general rule, LabVIEW functions do not change depending on the placement, so I am confused by your qualifier "It's not inside any loop". This would not make a difference and since your image does not show any loops it is irrelevant anyway. Can you explain why you said that?

 

This is probably not your code, but all the blue constants could be deleted without any change in functionality.

 

 

0 Kudos
Message 5 of 5
(651 Views)