Could someone help tell me how can I save 100 to 200 equidistant values of a particular number % 3F

Could someone help me that how can I save 100 to 200 in labview at equal distance from the values of a particular number? Lets assume that I have a number of 50 and I need 100-200 equidistant values between 0 and 50. I made a sample program, but it gives error of memory storage that I did not understand how to solve...

You make the mistake to make equal comparisons on numbers floating point. It's very dangerous. Most likely, your VI will never stop until the computer is out of memory. Replace the 'equal' by ' greater than or equal to "and you should be OK.

As you know the number of iterations in advance, you must use a loop FOR, see how far you get. In addition, your shift register must probably be initialized.

(Of course, it is also 'ramp model' If you want a canned solution. )

Tags: NI Software

Similar Questions

Maybe you are looking for