08-12-2019 02:23 PM
The VI acquires data in I16 format, instead of DBL using the NI poly fetch VI. This enables me to collect data at a high rate (1.25GS/Sec) and also stream it to the disk without running into bottlenecks. However, the collected data is later analyzed and the values need to be precise (single/double).
Therefore, what's the best way to get precision decimal data in this scenario? That is to collect data in I16 format and write data as DBL ? My consumer loop Queue is initiated as I16, is it possible to convert the values before I write them to the TDMS ? Since this is a precise measurement setup, the requirement is that the data should be in decimal format.
08-16-2019 01:36 AM
If your application and PC permits, you can convert the I16 data into DBL on your consumer loop before saving it to the TDMS file, but it would consume a lot of memory during your measurement.
During the measurement, you can intermittently save the data as I16 on a TDMS file, and after the measurement, you can reopen the file you just made and convert the I16 ADC data to real voltage.
The conversion method is described below.
https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z0000019OxsSAE&l=en-US