Jump to content

As of July 17, 2015, the LabJack forums here at forums.labjack.com are shut down. New registrations, topics, and replies are disabled. All forums are in a read-only state for archive purposes.

Please visit our current forums at labjack.com/forums to view and make new posts. To post on the current forums, use your labjack.com login account. Your old LabJack forums login credentials have been retired. There are no longer separate logins for labjack.com and LabJack forums.


Photo

Simultaneous PWM output at different Frequencies possible?


  • Please log in to reply
1 reply to this topic

#1 Kennorcross

Kennorcross
  • Members
  • 2 posts

Posted 05 June 2014 - 08:02 AM

After looking at some of the example VIs, I see that it's possible to enable multiple PWM outputs (i.e. U6 4-PWM.vi), but is it  possible to output 2 different frequencies simultaneously - say 10Hz on FIO0, and 50Hz on FIO1?



#2 LabJack Support

LabJack Support
  • Admin
  • 8677 posts

Posted 05 June 2014 - 08:45 AM

The U6 only has 1 clock available for the timers, so all PWM16 outputs will be at the same frequency.  All PWM8 outputs will be at the same frequency, and that frequency will be 256x the PWM16 frequency.  With the Frequency Output mode you can adjust frequency somewhat using the timer value, but duty-cycle is fixed at 50% in that mode.

 

On the T7 you can use Clock1 & Clock2 to produce PWM at 2 different frequencies:

 

http://labjack.com/s...ef-clock-source




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users