LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

some unknown features

Solved!
Go to solution

Hi everyone 

 

I have some problem in the pictures, I do not know how to create the array . I show in the picture in the attachment. 

0 Kudos
Message 1 of 9
(2,851 Views)

The Search 1D Array (in the left diagram) is in the Array palette.

 

For the array constant, just drop down an empty array constant and then put a numeric in it.  Set the data type of the numeric to be a complex single.

 

The bottom right is the conditional terminal for the loop.  They default to be stop when true.  This one is configured to be continue while true.  You can just click on it with the finger pointer to switch it.

 

 


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
Message 2 of 9
(2,844 Views)

in array constant, I will drag it down but it is not increasing the number of row?

is that for loop you mean?

 

0 Kudos
Message 3 of 9
(2,840 Views)

@uni-pixel wrote:

in array constant, I will drag it down but it is not increasing the number of row?

is that for loop you mean?


Did you put a data type in the array yet?

 

The loop on the right is a while loop.


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
Message 4 of 9
(2,834 Views)

as you can see in the picture, I can not add anything to the array or increase the size.

how should I do that?

0 Kudos
Message 5 of 9
(2,824 Views)

Hi uni-pixel,

 

as has been said before: move a numeric constant inside the array constant. Then change it's type to Complex…

 

This is pretty basic LabVIEW stuff. Have you gone through all those FREE tutorials?

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 6 of 9
(2,818 Views)

@uni-pixel wrote:

as you can see in the picture, I can not add anything to the array or increase the size.

how should I do that?


As I told you before, put a numeric constant inside of the empty array constant.

 

This is really basic things.  You should look into some of the free tutorials.

3 Hour Introduction
6 Hour Introduction
LabVEW Basics
Self Paced training for students
Self Paced training beginner to advanced, SSP Required
LabVIEW Wiki on Training
Learning NI
Getting Started with NI Products


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
Message 7 of 9
(2,812 Views)

sorry for asking simple things.

 

anyway, I did as you said but the pictures in the pannel are different.

can you explain how can i see the table in the block diagram?

 

0 Kudos
Message 8 of 9
(2,787 Views)
Solution
Accepted by topic author uni-pixel

Right-click on the terminal and choose Change To Constant.

 

You could have created the array on the block diagram if you would have followed my directions earlier.


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
Message 9 of 9
(2,774 Views)