ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Counting without loop iteration

Solved!
Go to solution

Hello everyone,

 

I having trouble creating a simple counter that will count from 0 to 10000 and then repeat the sequence without using the while loop iteration. Can anybody help please? 

 

Best regards,

 

Maiz

0 Kudos
Message 1 of 11
(4,870 Views)

Use a For Loop.

 

This sounds like a homework assignment.  Is there some other reason you can't use a while loop?

0 Kudos
Message 2 of 11
(4,868 Views)

Hi,

 

The counter will be inside a while loop but I am having trouble counting up and then repeating the sequence when I use the loop iteration.

 

I am very new to labview so apologies if this sound trivial.

 

Best regards,

 

Maiz

0 Kudos
Message 3 of 11
(4,862 Views)

Perhaps you should look at Quotient Remainder function.  Particularly the Remainder output after you divide by 10,000

0 Kudos
Message 4 of 11
(4,856 Views)

Hi Ravensfan,

 

I would be really grateful if you can help me with a sample VI. Is that possible?

0 Kudos
Message 5 of 11
(4,853 Views)
Solution
Accepted by Maiz
Message 6 of 11
(4,836 Views)

I also suspect this may be a homework assignment.  So, without doing your homework for you...... Try this as a thought-provolking exercise.

 

Untitled.png

Think about what might have been hidden..........


"Should be" isn't "Is" -Jay
Message 7 of 11
(4,832 Views)

Lol, it not as assignment, it is part of a bigger program I am trying to develop for a weighing machine at work. Just for info I started programming only last week although we bought the SW years ago. I have made good progress with the NI site and Youtube, I really should think about training.

 

I will try and work out the missing blocks but it would be really easy if you just told me lol 🙂

0 Kudos
Message 8 of 11
(4,821 Views)

Perfect thank you!!

0 Kudos
Message 9 of 11
(4,814 Views)

Some free training if you haven't found them already.

 

3 Hour Introduction http://www.ni.com/white-paper/5243/en/

6 Hour Introduction http://www.ni.com/white-paper/5241/en/

LabVEW Basics http://www.ni.com/gettingstarted/labviewbasics/

Self Paced training for students http://www.ni.com/academic/students/learn/

Self Paced training beginner to advanced, SSP Required http://sine.ni.com/myni/self-paced-training/app/main.xhtml

LabVIEW Wiki on Training http://labviewwiki.org/LabVIEW_tutorial#External_Links

Message 10 of 11
(4,765 Views)