02-24-2010 04:34 PM
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.
02-24-2010 04:39 PM
02-24-2010 04:42 PM
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?
02-24-2010 04:46 PM
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.
02-24-2010 04:48 PM
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.
02-24-2010 04:54 PM
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?
02-24-2010 04:56 PM
02-24-2010 04:58 PM
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...
02-24-2010 05:01 PM
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?
02-24-2010 05:07 PM - edited 02-24-2010 05:07 PM
That's a bit better explanation. Is this what you are asking how to implement? It will keep the last 5 random numbers generated.