This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Kaiqi Yang,
Your post is very hard to read without the normal formatting. But I recognize some of my handwriting in your post.
What is your question?
Have you started with the original example code to confirm that it will work? That is the best way to get your code working: start from the working example and make changes slowly to reach your final goal. That way you can know which change introduces a problem. When you change everything at once, it is more difficult to debug.
Regards,
RandyP