04-26-2007 11:41 PM
04-27-2007 07:35 AM
Hello,
Thanks all for the responses. The full range of my measurement was definitely +/-5 V. I did use the examples of dealing with TDMS files to try and help me, but the TDMS reader pulls a magic calibration number out of the file and I don't know where it came from (i.e. how it got into the TDMS file, or how to access it online when I first acquire and need to scale my data).
Ton wrote:
"I think you use a M-series card. In M-series card if you ask for the unscaled data, you'll get the unscaled uncalibrated data. After that DAQmx applies a up to 5 order polynomial to get the correct data.
Unscaled data is not calibrated with M Series, while unscaled data for E Series is calibrated."
Yes, I am using an M Series card. Do you know how I can access this polynomial online to scale my data immediately after it is returned to me by DAQmx Read? (This is making me long for my old E series card!)
Thanks again all,
Frenk
04-27-2007 07:51 AM
04-27-2007 08:08 AM
04-27-2007 09:26 AM
04-27-2007 02:25 PM
Thank you so much. My problem is now solved.
For other readers:
The code to obtain the scaling parameters is from the example Cont Acq&Graph Voltage - Write Unscaled Data to File (TDMS).vi, which contains a subVI called Cont Acq&Graph Voltage - Set File Info (TDMS).vi, which shows how to get the scaling coefficients.
How to use them is obtained from the example Cont Acq&Graph Voltage - Graph Unscaled Data from File (TDMS).vi, which contains a subVI called Graph Acquired Data - Unscaled to Scaled (TDMS).vi, which shows how to use them.
Really appreciate all the support. Thank you.
Best Regards,
Frenk