sagha

C1038 Timing lag error on LabJack channel

Recommended Posts

I'm getting a "C1038 Timing lag, data acquisition stalled." error on my LabJack channels. I have 4 LabJack channels configured as A to D and every few minutes, the C1038 error occurs. The DAQFactory project hangs (the cursor turns into the blue circle and then the project screen goes blank). I tried increasing my sampling time from 1 to 10 seconds and I am still seeing the same problem. I see the timing error on all four of my LabJack channels. The other channels in my project are the result of parsing a string read over UART that is received every 1 second.

I've attached a screenshot of the Command/Alert console and my channel configuration.

df_channels.png

df_error.png

Share this post


Link to post
Share on other sites

That is a bit odd. You aren't polling very fast at all.  I would start by double checking that you are running the latest LabJack UD drivers and firmware.  I'd also set the Timing of all 4 of my channels to the same.  There is no advantage of reading them at different timings unless you really need that, in which case I would consider setting the Avg? column and average 1 second reads down to whatever rate you want.

Share this post


Link to post
Share on other sites

I had loads of timing problems due to a wireless network.

You have not said how you are connected... Usb, ethernet, wireless?

If you are using a wireless connection anywhere I'd also check that.

 

Share this post


Link to post
Share on other sites

Following that same suggestion, I would make sure the LabJack is alone on the USB hub.  You might be getting interference from other USB devices, one of the many reasons I dislike USB connections.

Share this post


Link to post
Share on other sites

Alas, the desktop probably has a hub internally, so most any USB device could be interfering.   After updating,  I would contact LabJack support for some input as this is most likely on their side.  

Share this post


Link to post
Share on other sites

The other thing to consider is if the USB port is USB-2 or USB-3. USB-3 being the later standard and of course faster.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now