Hello John,
Thank you for your help.
I tried your zip file and I could build it in VS2022. But, the size of exe file bult was 0 byte. I don't know the reason why.
So,I copied the files "stdafx.h", "targetver.h" and "stdafx.cpp" to my VS2022 project folder , then I could build it sucessfully.
When it starts running, it outputs error message "Count must be integer multiple of packet size for Continuous mode.".
So, I push Enter key, it outputs text "146". Next, I push Enter key again, it outputs the message "Completed...press any key to exit".
When it runs, I applied a voltage of about 4V DC only to CH0.
How can I avoid this error?
Best Regards,
Hammer