‎02-28-2008 06:20 AM
‎02-29-2008 05:22 AM
DAQmxGetDeviceAttribute ("Dev1", DAQmx_Dev_AI_MaxSingleChanRate, &lMaxSmps, 0);‎03-02-2008 08:57 AM
‎03-03-2008 01:54 AM
Streaming to disk can be the bottleneck of your process, so if you do not want to keep in memory all your data (but with nowadays PCs you could do it without any real disadvantage even for 5 million samples) you may want to use faster functions than a loop with a lot of fprintf; additionally, the reltime column can be calculated after your acquisition has terminated. You could for example use ArrayToFile to save all data to disk in a single instruction appending data to existing ones; or fwrite ((char *)&data, sizeof(double) * numRead * numChannels, 1, fileHandle); but in my opinion you should really consider keeping all data in memory and save them after your process has terminated.
‎03-03-2008 05:58 AM
‎03-03-2008 09:55 AM
‎03-03-2008 10:16 AM
‎03-04-2008 03:40 AM