From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

DIAdem

cancel
Showing results for 
Search instead for 
Did you mean: 

problems in timing with serial communication

During measurements with a serial communication the timing of the measurement is not correct (delayed about 5%). The displayed time (graph) is reduced about 25 % what means during a measurement period of 24 h the curve shows only 18 h.
0 Kudos
Message 1 of 4
(3,577 Views)
Wolf,

A couple of questions to better understand your scenario:
-Are you using GRAPH or VIEW?
-Are you getting your data from LabVIEW or are you acquiring from DIAdem?
-Have you checked the raw time values? do they look correct? (All the way to 24 h)

Alejandro del Castillo
NI
0 Kudos
Message 2 of 4
(3,577 Views)
Dear DIAdem-User,

the data acquisition via serial port doesn't work with the interrupt functionality but with polling. That means that DIAdem is waiting until your front end comes back with a value. So it is possible that there is an delay between the clock rate you set and the clock rate of the communication. But to verify this more exactly I need more detailed infos about the front end, the DAC scheme and the DIAdem you are working with.

I hope this will help a little bit.

Walter Rick
0 Kudos
Message 3 of 4
(3,577 Views)
Dear Wolf,

It might be caused by the powersave functions on your computer. There are workarounds for this problem and you find them in DIAdem Help. Search for "CPUTraffic" !

regards

Henrik
0 Kudos
Message 4 of 4
(3,577 Views)