Hello,
I am creating a small program to control a NIRscan Nano DLP for my internship and I have some problems with the configuration of my DLP. I am programming in python based on the project github.com/.../NIRScan_Nano_Python.
So I have a question: in what form should I configure my scanner? In the user guide it says we fill 124 bytes (size of the uScanConfig structure?) plus 2 bytes for index and size.
I also looked up the structure when I request the current configuration (with the NNO_CMD_SCAN_CFG_READ command), but my structure size is 159 bytes and the user guide says we should have 124 bytes.
Moreover, when I ask for the current configuration (I tested with a configuration with a section and a repeat), it returns me at the same time the data of the other configurations that I have saved, even if it is deleted.
So I can't figure out how to build the command to configure the device.
Could someone give me an example structure or something else to help me? I looked at the structure of the configuration buffers (uScanConfig) in the source code but I couldn't get unstuck even with that.
raw data :
by converting into characters :