LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Odd integer search

Solved!
Go to solution

The numbers are divisible by 3 if the sum of the digits is evenly divisible by 3. For example , the sum of the digits of the number 3627 is 18 , which is divisible by 3 , then the number 3627 is divisible by 3 ..

0 Kudos
Message 11 of 14
(1,223 Views)

This is an old post but maybe people are still looking for answers. This is the way I used the book's directions. See attached VI

0 Kudos
Message 12 of 14
(786 Views)

@wwidener wrote:

See attached VI


Try to avoid datatype mismatch (e.g. orange indicators on blue wires) and right-to left wires,

 

(As has been discussed in the thread, there are probably more efficient solutions :D)

 

Example:

 SearchIt.png

 

0 Kudos
Message 13 of 14
(780 Views)

Thanks altenbach for the comments

I just started with Labview. This is my third code I have done, but wanted to throw out how I worked the problem. I will definitely go back and look at what you said.

0 Kudos
Message 14 of 14
(765 Views)