Generate Pulse FAQs

NI Vision Builder

Communicate

Generate Pulse FAQs

Q: When does the pulse occur?

Single pulses are software triggered and output every time the Generate Pulse step is executed and the Single Pulse Settings are TRUE. Continuous pulses, or pulse trains, are hardware-timed asynchronous pulses. If the pulse is a Triggered Pulse, the pulse begins when there is an edge of the correct polarity on the specified trigger line. Continuous pulses are not reconfigured when the Generate Pulse step executes unless the settings for the specified trigger line are different than the current settings for the trigger line.

Q: Why do I not see the pulses from the Generate Pulse step?

If you are using single pulse mode and the Generate Pulse step is being executed faster than the specified Delay and Width, the pulse is being reset every time the step executes so you never see the active portion of the pulse. If you are in continuous pulse mode, any triggers that arrive while the pulse is being output are ignored. The next trigger after the pulse finishes will be used.

Q: Why does pulse generation continue after I close the inspection?

Pulse generation continues indefinitely until you specify for it to stop. To stop pulse generation, add an Generate Pulse step to the inspection with the Action control set to Stop Pulse Generation. To stop pulse generation when an inspection closes, add an Generate Pulse step to the Inspection Cleanup state to stop any pulses that were configured in the Inspection Setup state. Select View»View Complete Inspection Setup to access the Inspection Setup and Inspection Cleanup states for an inspection.