05-02-2019 04:45 AM
hello everyone
sorry for this stupid question but i am beginner in Labview and i am trying to find this two icon in the block diagram ,but to no avail
Anyone have any idea i will be so grateful
Solved! Go to Solution.
05-02-2019 05:51 AM
05-02-2019 06:32 AM
Look at the wires. Notice how they are "bold"? This indicates a 1D Array is flowing in them. A thin wire is a 0D quantity (a number), a pair of thin lines is a 2D Array. See the color of the wire? Tells you if Integer (dark blue), Float (orange), Boolean (green), or "more complex" (more complex wire) like a Cluster, a File Path, etc. Thin dark green lines are often references ...
When you see pairs of boxes next to each other on a function, it often means Array, so open the Array Palette on the Block Diagram and see if you find the function there. If not, keep looking ...
You should have learned this in your first "Introduction to LabVIEW" lecture (see below as an example).
Introduction to LabVIEW slide
Bob Schor
05-02-2019 10:59 AM - edited 05-02-2019 02:05 PM
@anoir1993 wrote:
hello everyone
sorry for this stupid question but i am beginner in Labview and i am trying to find this two icon in the block diagram ,but to no avail
Anyone have any idea i will be so grateful
Note that you can insert imaged directly into the post, making things easier for all of us:
You cannot "find things in the block diagram" unless they are already there. And if they are there, you can just use the context help (or help) to get more information (ctrl+h & hover with mouse; right-click...help...).
You can "find" them in the palettes, if you know where to look. ;).
(And if they aren't (e.g. the 1D integer array), you need to be familiar with simple LabVIEW basics on how to make an array constant of a given datatype.)
Are you trying to recreate some code from a picture? It would be much safer to ask the programmer for the VI. It is NOT safe to recreate code from pictures, because many subtleties can be hidden and there is often a lot of ambiguity. (In this case we cannot tell the datatype (U23, I8, etc.) or value of the blue 1D array constant, it might contain millions of elements that are out of view 😮 In fact, since it is used as autoindexing entry to a FOR loop, it is only reasonable to assume that the array size is greater than one, i.e. there is at least one additional element that is not visible. If the array only would contain a single element, it could be converted to a scalar and the entire FOR loop becomes unnecessary.)