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: 

Simple PWM Generation

The PWM was running good when I haven't add in the temperature reading block diagram. After adding that in, the PWM signal becomes very slow. Is it because the device itself is sampling 1 point at a time for both reading and writing which then slows the system down?

 

http://forums.ni.com/ni/attachments/ni/170/880111/1/1.jpg

 

http://forums.ni.com/ni/attachments/ni/170/880111/2/2.jpg

Download All
0 Kudos
Message 1 of 7
(3,015 Views)
Why not put them in separate loops?
Message 2 of 7
(2,992 Views)

Probably.

 

Try wiring the Stop control into the Stop? terminal of the express VI.

Message 3 of 7
(2,982 Views)
I tried wiring stop control and it didn't work. Putting them into seperate loops is working but I'm expected to use just 1 loop
0 Kudos
Message 4 of 7
(2,963 Views)
What DAQ device. Single point read or write is slow. If you have a hardware timed device, you should be using that.
0 Kudos
Message 5 of 7
(2,958 Views)
I'm using myDAQ
0 Kudos
Message 6 of 7
(2,942 Views)
With software timed digital, it's a pretty poor choice for pwm. You might also want to try LabVIEW functions instead of the formula node.
0 Kudos
Message 7 of 7
(2,930 Views)