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: 

pulsed waveform

Solved!
Go to solution

Sorry, just a quick question:

I have written a code to generate a stair case, so the user enter the start-stop-step values.

What is a fast solution to make a zero step between each step of the stair case?

that is for example 0 - 0.2 - 0 - 0.4 - 0 - 0.6 etc....

sorry if the question is too trivial...thank you. G.

0 Kudos
Message 1 of 3
(2,763 Views)
Solution
Accepted by topic author gould

One way which comes to mind it to use your step generator on odd numbered steps and insert the zero on the even numbered steps. Quotient and remainder and a case structure will do it.

 

Lynn

 

 

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

yes, it works!! 🙂

thn you....G.

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