Please don't insert camera photos!!! (you can can just select all on the diagram and paste into microsoft paint!)
a query that I put in case 1 but because it doesn't recognize the values and I get all zero
Please attach the VI. We cannot debug pictures.
You made several mistakes: