how connect two sensors and send the data to labview?

Please help!!

I tried to connect two sensors to labview from Arduino Mega, but it doesn't work.
I need get the temperature and humidity from a DHT11 and get the distance with a Sr04. It works if I connect just one at time (With a VI for each), but if i connect both at the same time (in only one VI) the VI only works one time and show me an error.
I need to modify the Lifa_base or change the VI? how can i do that?

Thanks

Please do not cross-post. Other thread removed.

Hi
Can you please post your sketch, and a circuit diagram, either in CAD or a picture of a hand drawn circuit, in jpg, png or pdf format.
Also a picture of your project.

Thanks ..Tom... :slight_smile:

Just in case you haven't already tried, I think your questions about LIFA and LabVIEW code could best be answered here. Looks like they have a new upgrade "LINX" available that replaces LIFA, as well as discussion forums and example code.

Please don't hesitate to post additional info here as suggested by TomGeorge.

Am doing my project in irrigation field in which i want to use 7 moisture sensor(SBT4447) one humidity sensor and one temperature sensor(LM35). Am now having arduino mega 2560 board to connect sensors. Since am new with labview i could not able to know of interfacing all sensors to labview, and read all different sensors.. Based on the serial monitor values it should display whether soil is dry, moist and humid.So pls help me out if anyone knows..Can u give the code for arduino and Vi diagrams.