DAQFactory very slow and dropping data

Questions on UARTs, and serial communication
breckjensen
Posts: 1
Joined: Fri Oct 27, 2017 8:03 am

DAQFactory very slow and dropping data

Postby breckjensen » Mon Oct 30, 2017 1:48 pm

Hi,
We're having an issue with DAQFactory where the UI becomes very sluggish and serial data is being dropped. This is how we've configured DAQFactory for our test:
We're reading data from two devices - a LabJack and serial input data. We're sampling 19 analog LabJackUD channels and 100 serial channels. Each channel has a history of 500,000 points. The serial telemetry data is output by our micro at a 1Hz rate and we're using the following protocol script to push the serial parameters to the channel table:

if (strIn == Chr(13))
private string datain = ReadUntil(13)
private string head = Left(datain,6)
if(head == "+telem")

private string data = Parse(datain, 1, ":")

private string items = parse(data, -1, ",")

private numEntries = NumRows(items)

// Go through each one and pull off the value
for (Private.index = 0, index < numEntries, index++)
Channel.AddValue(strDevice, 1, "Telemetry", index, StrToDouble(items[index]))
endfor
endif
endif
We've defined a total of 8 pages where each page has at least one graph in it and numerous Variable Value display UI element. We are also logging all channel data to a file. When we first start running, all UI elements are being updated and DAQFactory is somewhat responsive, but as our test continues to run DAQFactory starts dropping serial data and becomes very sluggish. A restart every hours or so appears to fix the data dropping issue, but is certainly not ideal since our tests last days. What are we doing wrong, or are we exceeding the capabilities of DAQFactory?

I didn't find the right solution from the internet.

References:
http://support.azeotech.com/index.php?/ ... ping-data/

video landing page

basicchip
Posts: 759
Joined: Fri Oct 19, 2012 2:39 am
Location: Lake Tahoe, CA
Contact:

Re: DAQFactory very slow and dropping data

Postby basicchip » Mon Oct 30, 2017 3:02 pm

Not sure what this has to do with Coridium, are you gathering data with our devices? In general you could use other serial programs to capture data to look for anomalies.


Return to “Serial Communication”

Who is online

Users browsing this forum: No registered users and 1 guest