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,013 Views)
Why not put them in separate loops?
Message 2 of 7
(2,990 Views)

Probably.

 

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

Message 3 of 7
(2,980 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,961 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,956 Views)
I'm using myDAQ
0 Kudos
Message 6 of 7
(2,940 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,928 Views)