I'm trying to run multiple sensors (DHT11, PIR Motion sensor, and LDR) using Arduino UNO. I'm able to run the individual VI but I can't run all the sensors together. I want all the values to be updated together. When I run them together, don't get any value. I attached my VI below. Please help..
You are trying to open the same COM port (and Arduino) THREE TIMES!
Open the Arduino ONCE, configure it ONCE.
THEN enter your main loop.
Also remember that an Arduino cannot multitask so I don't think your parallel loops inside your main loop are going to work, unless LINX does some magic I don't know about.
This is how I would start. It is a very simple start and you can add more sophistication later. I do not have your vi's so I could not hook up the error out for most of the vi's. This will give you some idea of how to get started.