Hello,
i am using a PCi-6033E series board to log data simultaneously from 8 analog input channels. Following a suggestion from Elton Wells, I am using the Win32 function "GetLocalTime" to obtain a time stamp for the logged samples. I am calling this function at the beginning of the "Acquire_data" subroutine. The scanrate is set to 2000 samples/sec and the No of scans to 100. With these settings, I would expect that the difference in time between any two subsequent samples should be 50 milliseconds. However, by examining the logged time stamps i have found out that the difference is sometimes 0 milliseconds, sometimes 50 milliseconds and sometimes 60 milliseconds as shown below. What is wrong? Does this happen because the multi
channel acquisition is performed through multiplexing on a PCI-6033E board?
Time Stamp Ch.1 Ch2. Ch.3
=================================
7:55:16:710 50.01 121.51 1.85
7:55:16:710 50.00 121.10 1.08
7:55:16:760 50.01 121.06 1.42
7:55:16:820 50.01 121.44 1.82
7:55:16:870 50.00 120.96 1.10
7:55:16:930 50.01 120.93 1.38
7:55:16:980 50.01 121.62 1.85
7:55:17:40 50.00 121.05 1.13
7:55:17:90 50.01 120.85 1.41
7:55:17:150 50.01 121.51 1.72
7:55:17:150 50.00 120.98 1.24
7:55:17:200 50.00 120.94 1.31
7:55:17:260 50.01 121.54 1.70
7:55:17:310 50.00 121.27 1.44
7:55:17:370 50.01 120.90 1.33