From 04:00 PM CDT – 08:00 PM CDT (09:00 PM UTC – 01:00 AM UTC) Tuesday, April 16, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

built a program of an automatic irrigation system with labview to make decision?

Hi everybody i'm a new user of labview i want to create a program that help me to acquire data using sensor (humidity and temperature) that can adjusting the operation of an automatic irrigation system of tomato and i want to help me please in creation of labview interface that can acquire data from these sensors (humidity:HIH-4000-001(between 60% and 80%) and temperature:Pt100(between(20°C and 25°C)) and thanks for help 

0 Kudos
Message 1 of 9
(4,549 Views)

Do you use a DAQ or serial.

I changed your vi so it's understandable, though I don't think it works like you intended

---

UnCertified LabVIEW Student
Mistakes are for learning, that's why suggestions are always welcome!
0 Kudos
Message 2 of 9
(4,543 Views)

thanks it's useful i'm using myDaq so i tnink that i will use daqmx and what's the code use to make decision and with what language and how i will integrate it ?

0 Kudos
Message 3 of 9
(4,523 Views)

Look at the example from NI I attached.

 

The first three subvi's need to be placed before you while loop, the read function in your while loop and the others behind as illustrated.

Don't forget to use index array over the data output, you are reading two signals!

Hope this will help, just ask if there are any problems.

 

Koen

---

UnCertified LabVIEW Student
Mistakes are for learning, that's why suggestions are always welcome!
Message 4 of 9
(4,513 Views)

thank you very much i tried so hard to get positif results but i need a program with language that i can integrate in labview to make these decisions automatically so please if you can elaborate me a program without ( if ) so i need to use maybe (loop) or other instruction i'm waiting for your help it will be so usefull for me and thanks in advance 🙂

0 Kudos
Message 5 of 9
(4,457 Views)

I included the DAQ function, you just have wire it to the indicator you like.

If there is any other problem just ask.

---

UnCertified LabVIEW Student
Mistakes are for learning, that's why suggestions are always welcome!
0 Kudos
Message 6 of 9
(4,445 Views)

LabVIEW seems like a sledgehammer to crack a nut for this task. A £20 Arduino and a £5 combined temp/humidity sensor would give you a much smaller/more elegant solution to this IMO. Bung in a £10 LCD and you have a gucci little unit.

0 Kudos
Message 7 of 9
(4,435 Views)

Hello every body i need help about the vi that i download in this conversation  it dosen't work with the sensor LM35 when i connect it to Ni mydaq i don't know where is the problem exactly because when i connect sensor and i use vi (just an example for demonstration) that read only the LM35 sensor it work perfectly please i just want to know why this vi dosen't work ? 

0 Kudos
Message 8 of 9
(4,157 Views)

Duplicate Post

 

Don't post the same question in multiple places.

0 Kudos
Message 9 of 9
(4,142 Views)