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.


stream long data


  • Please log in to reply
1 reply to this topic

#1 shva

  • Members
  • 1 posts

Posted 31 December 2013 - 08:55 PM

I want to stream with 50kHz sampling rate for 500k points ( or 10s). I have a U6 pro unit, and I was trying to start from the example Python script from https://github.com/l...s/streamTest.py. This script was written for 5kHz sampling rate, and everything worked fine at first. However, once I changed the sampling rate to 50kHz, I got error messages like "Error: 40;", and then it complained some packets were missing. Could anyone help on this problem? Thanks!

#2 LabJack Support

LabJack Support
  • Admin
  • 8677 posts

Posted 02 January 2014 - 01:26 PM

When configuring stream mode with streamConfig make sure NumChannels * ScanFrequency (sample rate) is 50K or under. The maximum stream sample rate is about 50K. If that isn't the issue, please provide the parameters you are passing to streamConfig and the full exceptions when the errors occur.


If your computer is having trouble collecting data at that speed consider a "USB high-high" connection or increasing priority on the streaming process as described here:



Also tagged with one or more of these keywords: u6

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users