From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Stepping up input in intervals

Hello, I'm currently trying to step the frequency in intervals, i.e for the first 10 cycles I want the frequency to be [1,2,3,...,10] this was easily implemented using a shift register. But after the 10 cycles I want the step to be increased by 10, so the output with be [10,20,...100], and then [100,200,...,1000] etc.  

 

Appreciate any help.

 

Regards Andreas

0 Kudos
Message 1 of 3
(2,369 Views)

Use two shift registers.   One that stores the current value.  One that stores the current step interval.  Every 10 cycles, multiply the step interval by 10 and put that into the shift register.

0 Kudos
Message 2 of 3
(2,350 Views)

No shift registers 😃

stepF.png

0 Kudos
Message 3 of 3
(2,331 Views)