LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Need help with this VI

Solved!
Go to solution

I don't know what to do after generating random numbers in the array. I believe you connect the random function in a for loop and connect it to the array to put the random numbers in the array. I also do not know what this means by "M by N by L dimensions."

 

My apologies, as I barely learned much of this.

 

"Develop a LabVIEW VI that will generate a 3D array of M by N by L dimensions (all user defined integer values). Then the VI will fill the array with random numbers between 0 and 10 and display it. Additionally, the VI should determine the maximum number within the array as well as its index location (layer, row and column) within the array. Finally the minimum and index location should also be given. All of the output should beincluded in a Cluster called "Output."

 

 

picture2.png

 

Thank you for any kind of help.

0 Kudos
Message 1 of 27
(3,589 Views)
Pretty senseless to just show an image of a front panel. This is not a place to get your homework done but you need to show your block diagram of you want done help.
0 Kudos
Message 2 of 27
(3,555 Views)

Hi student,

 

I barely learned much of this.

Then now would be the time to start learning.

Start with LabVIEW help, all the example you find in example finder and all of those free online courses offered by NI (like this one)!

Best regards,
GerdW


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

It seems to me that the screenshot of the front panel is part of the description of the task....

 

What really bothers me is that a student of a technical degree program doesn't know what a multi-dimensional array is.... well, in fact, the description of the task is already quite clear on that. Hint: 3D is referred in the description to as MxNxL, which are letters to indicate different sizes.

 

One thing i stumble about in the description of the task is that the students should create the array in the correct size first and the replace the elements. I would do this otherwise, but maybe this replacement is one of the focus topics of that task......

 

Norbert

Norbert
----------------------------------------------------------------------------------------------------
CEO: What exactly is stopping us from doing this?
Expert: Geometry
Marketing Manager: Just ignore it.
0 Kudos
Message 4 of 27
(3,522 Views)

Use FOR loops.  You will want a FOR loop inside of a FOR loop inside of a FOR loop.

 

Oh, and here are some tutorials to help you learn.

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 5 of 27
(3,498 Views)
My apologies. I'm not a technical degree major. This is a 2 credit hour course and the teachers do something else in class and they tell us to watch a useless video. They do not teach us. No one works on hw due to that reason. Thanks for the videos, they are more useful than what we were given.
0 Kudos
Message 6 of 27
(3,462 Views)

@student11 wrote:
Thanks for the videos, they are more useful than what we were given.

Maybe Professor Youtube should be getting your tuition then.

 

But seriously I hope the situation isn't actually as bad as you make it sound.  If it is I would immediately talk to the dean/provost or whoever I could.  Formal education has been very valuable for me and taking every class seriously, for both the student and professor, is critical.

0 Kudos
Message 7 of 27
(3,424 Views)

Unfortunately hundreds of students complain to the advisors every year. They are still trying to experiment to fix the class and I'm in the worst of it. Everyone knows this is a weed out class though. That's all this class is. Thank you for your concern though.

0 Kudos
Message 8 of 27
(3,413 Views)

After hours of video viewing, this is what I have so far and it has errors and it doesn't look what I need it to look like so far. What do i need to fix?

 

Thanks for any help.

 

33fasdf3.png

 

fasdfasdf.png

0 Kudos
Message 9 of 27
(3,238 Views)

Here is the errors, sorry I forgot to include it.

 

arrays.png

0 Kudos
Message 10 of 27
(3,221 Views)