LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

way to store and find the sum of prime numbers in a loop from 1 to an arbitrary N value

Solved!
Go to solution

i am intrested in a program in labview 8.5 to find out successive prime numbers between 1 to an arbitrary number N given as input and find out their sum as out put on front panel.

0 Kudos
Message 1 of 7
(4,864 Views)

Very nice to hear that!

 

 

Spoiler
If you have a specific question about how to do that, then I suggest you actually ask a question in your message.Smiley Wink

 

0 Kudos
Message 2 of 7
(4,853 Views)

Example_VI.png

Is this a homework assignment?

 

 

Spoiler

 

 

 

 

 

Jim
You're entirely bonkers. But I'll tell you a secret. All the best people are. ~ Alice
For he does not know what will happen; So who can tell him when it will occur? Eccl. 8:7

Message 3 of 7
(4,836 Views)

thanks. yes that was a part of an assignment.

0 Kudos
Message 4 of 7
(4,821 Views)
Solution
Accepted by topic author farrukh1976

Well, OK, then. Some honesty. That's actually quite refreshing. So what have you tried so far? We can offer tips and guidance, but you're not going to get us to do your homework for you. Do you have an algorithm? Do you know how to determine if a number is prime? Start with something simple. Figure out how to store a running sum in a loop. Not too hard. Hint: Shift register (or, for newer versions of LabVIEW, Feedback Node)

0 Kudos
Message 5 of 7
(4,805 Views)

I am studying here in korea as doctoral student. the problem iam facing here is that the text book for Labview being followed here in korean language and because of that i am not been able to understand the software properly. how can i get an english version of Labview 2009 text book?

0 Kudos
Message 6 of 7
(4,733 Views)

You order it from the internet.

0 Kudos
Message 7 of 7
(4,719 Views)