LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Logical question, it's not enought to know LabVIEW, it's necessary intelligence...

Diane maybe you don't understand. I DON'T ASK ANITHING ABOUT MY WORK. I PROPOSE LOGICAL QUESTION TO UNDERSTAND PROBLEM.

Why I ask VI for LW8? STUPID QUESTION:

I think that labview and all informatics are practical sciences: if you see you understand. Like math: if you see how person solve excercise you can learn. If you study theory about integral I'M SURE THAT IF I PROPOSE YOU AN INTEGRAL YOU DON'T KNOW TO SOLVE IT. If person post VI I can see on my pc, but person use LW9 I can't. GOOD NOW?

 

I tell THANKS when person give help. I don't like comment about nothing like stupid older female of town.

 

While Loop generate 1D Array of N number;

1D Array in which it's necessary save data is array of 1D of 5 elements;

The save data and stop loop it's necessary when compare 9;

It's ok?

 

I think that people must thanks me because thanks my questions many people understand.

0 Kudos
Message 11 of 97
(2,023 Views)
STOP SHOUTING AT PEOPLE AND LEARN SOME MANNERS. Your questions are incomprehensible. Is that understandable? Since you have failed to ever post any code, the assumption here is that you are a homework hustler. The pattern of your questions and responses fit the pattern that everyone here has seen over and over again. If you are not, then CALMLY explain what you are doing and DO NOT ge angry when someone asks you to explain what you are actually saying.
Message 12 of 97
(2,018 Views)

PROBLEM IS:

 

1) While loop generates random number between 0 and 9;

2) While loop can generate 1D array. What is the dimension? The number of iterations before STOP;

3) When there is stop? WHEN RANDOM NUMBER GENERATE 9 (FOR EXAMPLE);

4) Out of while there is 1D array of 5 elements that saves last 5 generated numbers (FIFO LOGIC);

5) When loop finish i desire save 5 number in execel file.

 

I don't understand if my exposition is so bad. Why a person ask of array of 2 dimension??? Where is 2 dimension?

0 Kudos
Message 13 of 97
(2,015 Views)

Getting a little upset about being called out?

 

When you learned to ride a bicycle, which was a more effective way of learning:  watching someone else ride one, or getting on and riding it yourself?

 

Programming is the same way.  You learn by doing it, by thinking your way through a solution and then doing your best to implement that solution.  When your implementation runs into a brick wall, you research the problem and / or ask for help.

 

I don't see you doing that.  I see you merely asking other people to provide solutions.  Other users of this forum have noticed the same thing, and pointed it out. 

 

Resorting to shouting and name-calling is not likely to incline anyone to help you.  It's also inappropriate.  Please don't do it again.

 

 

 

Message 14 of 97
(2,007 Views)

Dennis I love persons that helps each other.

I love this forum because many persons like Veteran, You, an many persons help and teach very much.

 

I don't like when persons speak bad about persons: do you think that the question about error in shift register is stupid? Do you think that I desire that persons write a code for me? I think that this is stupid comment and I tell this to everyone. I don't want code for my work, I desire onl understand with example code. Also the question that I propose is interesting. I think that many persons need it. But I see that in this day... it's lovely to write bad about me. I don't understand why, but if you don't want me because think that my general question are privat and secret question to do much money for NASA OR VERY IMPORTANT EXPERIMENT, I can leave the forum for ever.

 

Only tell me.

Message 15 of 97
(2,001 Views)

To quote you - " If you have INTELLIGENT SOLUTION post VI for LW8. "

 

That seems very clear to me that you are asking for code.

 

Your question is not interesting, it is not understandable.

 

This :

 

0 0 0 0 0

2 0 0 0 0

3 2 0 0 0

1 2 3 2 0

0 1 2 3 2

2 0 1 2 3

 

is a description of a 2D array with 6 rows and 5 columns. Do you understand the confusion now?

Message 16 of 97
(1,984 Views)
Have a look at the array subset block.
Message 17 of 97
(1,978 Views)

I wrote:

For example you generate this sequence:

 

1 3 9 2 8 4 8 2 9 1 2 0 1 2 3 2 0

 

 

SUPPOSE that array, that save data, is of 5 elements:

 

0 0 0 0 0 (element of array for i=0)

2 0 0 0 0 (element of array for i=1)

3 2 0 0 0 (element of array for i=2)

1 2 3 2 0 (element of array for i=3)

0 1 2 3 2 (element of array for i=4)

2 0 1 2 3 (element of array for i=5)

 

If you see the sequence generated 0 is the number for i=0; 2 for i=1; 3 for i=2, ecc. ecc...

0 Kudos
Message 18 of 97
(1,976 Views)

Sequence saved with FIFO LOGIC: 1 3 9 2 8 4 8 2 9 1 2 0 1 2 3 2 0

 

0                  0 0 0 0 (element of array for i=0)

2 0               0 0 0 (element of array for i=1)

3 2 0            0 0 (element of array for i=2)

1 2 3 2         0 (element of array for i=3)

0 1 2 3 2 (element of array for i=4)

2 0 1 2 3 (element of array for i=5)

 

It's better so?

0 Kudos
Message 19 of 97
(1,969 Views)

That's a bit better explanation. Is this what you are asking how to implement? It will keep the last 5 random numbers generated.

 

Message Edited by Dennis Knutson on 02-24-2010 04:07 PM
Message 20 of 97
(1,965 Views)