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

U6 DAC pulse output problem


  • Please log in to reply
1 reply to this topic

#1 Kennorcross

Kennorcross
  • Members
  • 2 posts

Posted 04 April 2014 - 08:15 AM

I have the U6, and I'm using a slightly modified version of the “U3 DAC Function Geneator.vi” example  to create/control a simple square wave output (either 10Hz @ 20% duty cycle, or  50Hz @ 22%  duty cycle).

 

At 10 Hz, everything looks fine, but at 50 Hz, the resulting output from the U6 seems a bit unstable – variations in duty cycle and about a +/- 2Hz shift in frequency.

 

Is this due to the limitations of the U6 itself, or could it be attributed to a timing issue in labVIEW?

Attached Thumbnails

  • Square_wave_generator.jpg
  • 50Hz_22pctDC_test1.jpg
  • 50Hz_22pctDC_test2.jpg


#2 LabJack Support

LabJack Support
  • Admin
  • 8677 posts

Posted 04 April 2014 - 12:14 PM

In your block diagram I can see that you are trying to update the U3 every 2ms.  That is not impossible, but down in the realm of jitter for command-response calls:

 

http://labjack.com/s...users-guide/3.1

 

The Waveform Generation app note has good info also:

 

http://labjack.com/s...form-generation




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users