LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

labview

Hi zhako,

 

you basically got the very same advice last week, so why do you think it's a good idea to start the next thread begging for homework help?

Best regards,
GerdW


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

@zhako wrote:

I'm a newbie and have no idea what to do.


If all my previous hints did not help you, it looks like programming is not your thing and there is nothing wrong with that. Maybe you want to change fields?

0 Kudos
Message 22 of 27
(74 Views)

@altenbach wrote:

@zhako wrote:

I'm a newbie and have no idea what to do.


If all my previous hints did not help you, it looks like programming is not your thing and there is nothing wrong with that. Maybe you want to change fields?


Or try python, it' super easy to copy and paste and if that is too much you can get into vibe coding : ) 

______________________________________________________________
Have a pleasant day and be sure to learn Python for success and prosperity.
0 Kudos
Message 23 of 27
(62 Views)

baqtiar_0-1760371112493.png

I. In each row of the matrix, replace every negative element located between two positive elements with their half-sum. Display the transformed matrix.

II. Find the value of the maximum element from the shaded part of the transformed matrix and display this value along with its coordinates in the matrix. Choose the boundaries of the shaded part yourself.

Message 24 of 27
(83 Views)

Hello everyone, I really need your help. I'm not very familiar with LabVIEW. If anyone knows anything about it, please help.

 

Lab #6: Solving Problems with Two-Dimensional Arrays

Task

1. Develop a virtual instrument that:

- generates a two-dimensional M × N array of random numbers in the range [-100: 100] according to a specific task. The matrix size parameters M and N are entered from the keyboard.

- displays the original matrix on the front panel.

- additional parameters, if present in the specific task, are entered via the front panel controls.

- performs actions according to the specific task using nested loops or built-in LabVIEW functions for working with arrays.

- displays the program's results on the front panel, explaining each value using the definitions from the specific task.

2. The program must have at least two subinstruments.

 

1. Transform an integer matrix by moving the column with the most zeros to the first position (shift the remaining columns).

If the matrix contains no zero elements, display a message; otherwise, display the transformed matrix.

II. Find the value of the smallest nonzero element in the shaded portion of the transformed matrix and display this value and its coordinates in the matrix. Choose the boundaries of the shaded portion yourself. If there are no such elements in the matrix, display a message.

0 Kudos
Message 25 of 27
(73 Views)

This is the LabVIEW forum, so every single post is about LabVIEW. Using a post subject of "Labview" is redundant and useless. Please use a reasonable title!

 

We don't do pictures of code. If you wrote these programs and they don't work right, attach the VI and explain exactly what you perceive as problem. Make sure all controls have reasonable default values.

 

There is a lot of code smell (incorrect numeric representations, two property nodes that can be combined into one, lots of dead code, lots of pointless constructs, etc.)

 

(Are you in the same class as this one?)

0 Kudos
Message 26 of 27
(65 Views)

I have no idea why you posted this in the "LabVIEW embedded" forum , so I moved it here. Your question has nothing to do with embedded.)

 

If you are not familiar with LabVIEW, you can use the learning resources listed at the top of the forum. This is obvious; homework and I am sure all basics have been covered in class, so go voer your notes. There are very simple beginner problems.

 

We don't do homework, but if you put in some efforts and show what you tried, then ask specific questions, we will be happy to respond.

 

(You and your classmates (baqtiarzhako) are still not using any reasonable posts subject. Why????)

0 Kudos
Message 27 of 27
(65 Views)