From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
03-06-2013 01:06 PM
I think we should the beginning of the string to put some code to check when the last character of the string to stop ciklucot along with him
03-06-2013 01:45 PM
English does not appear to be your language. Your sentence does not make much sense.
What I was looking for is: determine where there is no more character to evaluate.
There are many ways to do this. Using your code, I would get the string length before going into the While Loop. You can use the loop iteration and compare if it is less than or equal to the string length. If so, stop..
There are other approaches which would use different functions. Those functions would return -1 to say that there is no more match and you could say "if less than 0, then stop". The approach I am thinking of would be more efficient because it would skip over the characters that you are not interested in and require less iterations. You could still stop the loop using the string length as a safeguard, but it should not be necessary.. Forget this last paragraph if it didn't make sense and concentrate on the paragraph above..
03-06-2013 03:24 PM
can you tell mi the rright solutions bicouse I just started to learn this program.
I trid more time how you told me. please help me
03-06-2013 04:30 PM
shared this good how they look I stops
I think finally I managed 🙂
03-06-2013 05:34 PM
Please attach a file that isn't so oddly named. You have characters in there that are preventing the file from opening from within Internet Explorer.
03-07-2013 10:19 AM
to be attached VI who can generates a series of 100 number in the range 0-100. for 10 ... 20 ... 90 to be excluded.
the array calculated the mean, minimum and maximum.
additional graph to present the series and mean.
please help
thank you
03-07-2013 12:52 PM - edited 03-07-2013 12:54 PM
We cannot do all of your homework..
What have you tried so far? Where are you stuck? Furthermore you do not provide enough information.
Are you studying Engineering? If so, you really need to learn about "stating the requirements". Stating clearly what you need will get you much further. Also, being able to state clearly what are your requirements will often shed light on your solution.
03-09-2013 01:58 PM
how to fix it with a mathematical function MODULO or REMINDER
03-11-2013 08:04 AM - edited 03-11-2013 08:09 AM
You will have to read our Rube Goldberg thread
😉
I will check your code... be back soon...
Question.. Why do you have a while loop inside the For Loop? I am not sure I understand what numbers you are trying to generate other than stop the inner loop once you don't get multiples of 10, which is probably during the first run of the While Loop..
Oh yeah... it's for this:
@strunf wrote:
to be attached VI who can generates a series of 100 number in the range 0-100. for 10 ... 20 ... 90 to be excluded.
the array calculated the mean, minimum and maximum.
additional graph to present the series and mean.
03-11-2013 08:29 AM - edited 03-11-2013 08:35 AM
You were using the wrong functions...
It's practically done (if I understood your requirements)... You need to figure out what the last section does.
You need to learn how to use the Context Help. It will explain what the functions do.
Here is a code snippet of what you need:
You need to understand what the code above does. You should investigate it and describe what it does, otherwise your course and education will be useless. This is extremely basic stuff.
As an exercise, why don't you post a description of what each function does in the above snippet? It will help you and you will benefit from it.
It is not as hard as you think. Give it a chance... Do the exercise of describing the snippet. You will benefit from it.
QUESTION: Why do you have a graph? Unless I really missed something, it does not make any sense.. Unless, you want to generate the above 100 times and plot the results... Okay... that would make sense and I could see the reason for doing so... You will need to figure out how to do that. It's easier than the above code... 😉
And if you don't do it correctly, your teacher will see that you didn't do this part of the code.. LOL!!