LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

PWM Generation

Good morning;
I come here splliciter for help from you.
I am currently on an internship and I have to create an interface for an bench of brushless pumps.
For the interface must be able to drive in PWM the pump following a profile of PWM informed by the user. The profile includes different values of PWM and durations of each value.
This while I run into a difficulty.
When the user presses the pause button of the interface, one must be able to stop the sends of the pwm values to the last value sent and the retuff of this button one must continue to send the pwm values to the last value sent but this for the the duration of the so-called value.
I manage to effectively stop the profile at the last value of pwm at the support of the pause button but at the relashment I can not send the same value during the rest. The value of sending it for a random time between 0 and the duration set in the profile.
Please take notice of my problem and I am open to any proposal. Thank you

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

You should start by spending some time on straightening wires and cleaning up.

 

Bugs hide in messy code.

 

If you want to read the values of those references, use the "value" property.

After cleanup.PNG

0 Kudos
Message 2 of 3
(2,212 Views)
 
thanks for the advice
0 Kudos
Message 3 of 3
(1,934 Views)