Part Number: DLPNIRNANOEVM
I received the scan data from the Nano by bluetooth, and now I want to decode the data.What should I do next?
What are you looking to do with the data? The DLPNIIRNANOEVM is intended to be a flexible platform to enable a engineers to test and develop a variety of applications. Please check out our user's guide here and our product page with additional app notes and resources. If you have some specific question please let us know.
We are glad that we were able to resolve this issue, and will now proceed to close this thread.
If you have further questions related to this thread, you may click "Ask a related question" below. The newly created question will be automatically linked to this question.
In reply to Kyle Rakos:
I want to decode the scan data into the reference, reflectance and absorbance. I've read the user's guid, and I've found the DLP Spectrum Library routine which is dlp_scan_interpret(), but I don't quite understand the code, so hopefully I can get some help from you.
In reply to user6073130:
You after getting the whole scan data packet from the NIRScan Nano, you need to run the function "dlpspec_deserialize" to get the data in the "scanData" format. This datatype is defined in dlpspec_scan.h file. You can then use the raw values contained in the scanData structure for calculation. Thanks & Regards,
In reply to Hirak Biswas:
Yes, I found this function, but I can't understand and migrate it well. Could you provide me a separate demo of decoding function by C.
We have DLP Spectrum Library which you can use to serialize and deserialize. We have two example application source code available (the TIVA Software on NIRScan Nano HW and NIRScanNano GUI for windows) using the DLP Spectrum Library, which you can refer to for more usage related information. Thanks & Regards,
There is some confusion about the function dlpspec_scan_interpret(const void *pBuf, const size_t bufSize,scanResults *pResults). The function has three variables. According to my understanding, pBuf is serialized scan data, bufSize is the length of data, and pResults is the output data of the function, namely the decoded data.Now I have the scan data as follows:
So my question to you is, is pBuf an array or a struct as an input to a function?
Thanks & Regards,
It is the pointer to the serialized scan data blob you get from the NIRScan Nano bluetooth. Thanks & Regards,
I want to know how does it work to convert wavelengths to digital quantities?Or how to convert digital quantities into wavelengths? For example, how is the wavelength of 61-b8-00-00-f9-c4-00-00 calculated?
All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.