Hi,
I'm doing some developing via the source code of the GUI of NIRScan Nano. I'm trying to create a new scan mode via the GUI. Now I'm able to find the new scan mode in the scan configuration dialog.
But when I try to select the new scan mode. It occur the following error.
I tried to debug and work out the reason. I found in the function "static int NNO_GetAck(int isUART = 1)"(in the file "API.cpp") that the variable "pMsg->head.flags.resp" change from 0 to 1 during the codeline "ret_val = USB_Read(InputBuffer);", which may result in the error.
I wish to know why the error happen and how to solve the problem.
Looking forward to your reply.
Thanks in advance!