sagha Posted November 13, 2018 Share Posted November 13, 2018 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. Link to comment Share on other sites More sharing options...
AzeoTech Posted November 15, 2018 Share Posted November 15, 2018 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. Link to comment Share on other sites More sharing options...
Martin Posted November 15, 2018 Share Posted November 15, 2018 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. Link to comment Share on other sites More sharing options...
robopp Posted November 16, 2018 Share Posted November 16, 2018 The LabJack is connected over USB Link to comment Share on other sites More sharing options...
AzeoTech Posted November 16, 2018 Share Posted November 16, 2018 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. Link to comment Share on other sites More sharing options...
robopp Posted November 17, 2018 Share Posted November 17, 2018 There’s no USB hub. It’s plugged directly into the desktop. Link to comment Share on other sites More sharing options...
AzeoTech Posted November 20, 2018 Share Posted November 20, 2018 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. Link to comment Share on other sites More sharing options...
Martin Posted November 20, 2018 Share Posted November 20, 2018 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. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.