LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Timing of three different PWM trains

Hello all,

I am trying to time three different software timed pwm trains so that two begin immediately after the first pulse stops.  Right now they all work sequentially.

Thanks so much for your help.

Zach

Download All
0 Kudos
Message 1 of 2
(2,072 Views)

You need to make your subVI reentrant.  Go to its VI properties, execution tab, and choose the preallocated clone reentrant radio button.

 

Each time the subVI executes, it blocks execution of itself in the other loops, since it is not currently reentrant.  This leads to the serial behavior you are seeing.

0 Kudos
Message 2 of 2
(2,015 Views)