11-02-2018 09:56 AM
I am trying to create a subvi to factor an interger and save all of its factors in an array. Im not too familiar with the math node but I tried using it to no avail, I can also solve this using pure labview as well but i can't figure out where to start on that end. Attached is a image of my math node code which doesnt run due to an error on line 2 apparently. Any suggestions??
11-02-2018 10:08 AM
The Prime Factor.vi should give you what you need:
11-02-2018 10:19 AM
The Prime Factor vi will give all of the prime factors, I assume you want all of the divisors of the number, then use this link.
mcduff
11-02-2018 10:48 AM - edited 11-02-2018 10:50 AM
If you search for it.... I know I tossed up an example a few years ago.
Edit Thanks McDuff
11-02-2018 10:49 AM - edited 11-02-2018 10:50 AM
@JÞB wrote:
If you search for it.... I know I tossed up an example a few years ago.
That link in my reply is your example!!!
mcduff