12-04-2007 11:18 AM
12-05-2007 05:24 AM
12-05-2007 04:44 PM
Hello,
Wilfried is right, you will be able to use the read binary file function to automate this conversion process. However, if you are still interested in doing it manually or are just curious about the offset, please refer to the Knowledge Base linked below. It explains the offset you are seeing and how to get the proper scale multiplier and scale offset.
AE KB 3BFEJ95L: How Can I Convert Binary Data From a Data Acquisition Read to Scaled Data?
12-06-2007 10:11 AM
12-06-2007 04:07 PM
Hello,
Cont Acq&Graph Voltage-To File (Binary).vi and Graph Acquired Binary Data.vi paired together are the DAQmx version of the Traditional example from the Knowledge Base. These examples are located in the Example Finder inside of LabView. In addition, the issue of data not matching up is due to the lack of scaling coefficients and does not relate to utilization of the full resolution of the card. Please try the examples listed above. Are you still getting an offset with these examples?
12-07-2007 10:32 AM
I do not think the problem is with an "offset" as I described above I have my conversion above. This number should work. I do not see that number I need somewhere...where do I get it? Perhaps I am missing somethign here. My conversion should work, I want someone to explain the difference to me.
Thank you.
12-07-2007 11:08 AM - edited 12-07-2007 11:10 AM
Hello,
The conversion you have posted above (the first post of the forum) just takes into account the scale multiplier from the equation listed below. This equation is from the Knowledge Base linked in the third post. Your post states you have a ~ 8-9% offset. This scale offset can be determined by running the example finder examples. The example titled Cont Acq&Graph Voltage-To File (Binary).vi contains a function titled Create Header. This function will take in the task information and return the scaling information I believe you need.
Scaled Data = (scale multiplier * Binary Data) + scale offset