# LabVIEW at UTM

This is an open group. Sign in and click the "Join Group" button to become a group member and start posting.

## Homework 2

Heard that many of you said homework 2 is hard, however there are some students already submit it and get it almost correct!

Message 1 of 14
(5,366 Views)
13 REPLIES
Highlighted

## Re: Homework 2

I didnt know hw to do the connection in the block diagram  for the 1st part

all of them have different data type !!! so how ?

Message 2 of 14
(2,524 Views)

## Re: Homework 2

Try to use the array function=> Index Array to perform the function.

Then you will know how to connect them together.

All the best!

Message 3 of 14
(2,524 Views)

## Re: Homework 2

Actually this homework 2 is very difficult to do. i attended todays class but still find it difficult to do the homework please any assistant or clues?

Message 4 of 14
(2,524 Views)

## Re: Homework 2

which problems that you found is difficult?

Message 5 of 14
(2,524 Views)

## Re: Homework 2

i have solve all the problem except part 3.i dont know how to represent the rainbow colours with number by using string control n number indicator.

i  only know using enum can solve it. help me pls.

Message 6 of 14
(2,524 Views)

## Re: Homework 2

For Problem 3,

You can use "Search 1D array" function and an array constant.

Try to initialize your array constant with the rainbow color.

All the best!

"We will can it, and finally we will make it!!"

Message 7 of 14
(2,524 Views)

## Re: Homework 2

lol... search 1D array???

i use "match first string" function... also can...

Message 8 of 14
(2,524 Views)

## Re: Homework 2

thank you very much

Message 9 of 14
(2,524 Views)

## Re: Homework 2

Ya, it is also correct. However, we prefer you to use search 1D array..

Because we want you to familiarize with Array Function first.

Message 10 of 14
(2,524 Views)
This is an open group. Sign in and click the "Join Group" button to become a group member and start posting.