LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Project related to DAQ assistant

Can someone help check through my VI file? My project is to create a VI file for calibration and indication purpose with 3 sensors. Generally, this project is to design a water tap, with infrared sensor for automatic water dispense, angular displacement sensor to manipulate temperature (25-60degree celsius), and temperature sensor in the valve to detect temperature. Indicator involves knob adjusting temperature, temperature indicator, infrared detection, and if the temperature is higher than 60, no water is dispense (indicator). I am a beginner in LabVIEW and could really use some help.

0 Kudos
Message 1 of 6
(2,755 Views)

Your "concept of operation" of this VI doesn't make sense. When run, the VI will immediately go to the case for the selected tab (assuming your VI wasn't broken as now because the case labels don't match your tab control). Then, when the user hits "stop" on that page, the VI will also stop. You would need a while loop surrounding your code so it continues to run until the user wants to exit the application.

 

Except for the "calibration" measurement, Displacement, Temperature or Angle, all your code is apparently identical. This should be a hint that you could probably reuse one case and just pass in the measurement you want.

 

But before I can move forward, please give details of how this VI will be used (use cases).

0 Kudos
Message 2 of 6
(2,749 Views)

Hi BillMe

 

This is a self learning project given by seniors in my campus. Each of us has to pick one title and present it. This is because our campus are not teaching about LabVIEW and will be needing to do another project with the help of LabVIEW.

 

I just remove the case structure and combine 3 of the tab together, and this is the editted file

0 Kudos
Message 3 of 6
(2,735 Views)

Actually, your code is now worse than before. I would strongly recommend you learn how to create a subVI (subroutine/function) and start by making three of them, one for each measurement type. If you don't know how to create a subVI you can look at the LabVIEW tutorials on the N.I. website.

 

And you still have a "Merge Signals" with no input!  Maybe you can explain your project and what it is you are going to present.

0 Kudos
Message 4 of 6
(2,726 Views)

The input of my merge signal would be a DAQ assistant which i dont have it in my current version of LabVIEW, just tried to create 3 sub VI but it seems kind of messy.

 

My project would be using the DAQ assistant, to calibrate the value of voltage of 3 different type of sensor, LM35, potentiometer and an angular displacement sensor. And indicate when a reading is not in range, the water will not come out, for example i have set 20mm-100mm and an indicator is there to show that there will be water flow, not sure whether i am doing it right or not. 

0 Kudos
Message 5 of 6
(2,712 Views)

Forgot to attach these

0 Kudos
Message 6 of 6
(2,706 Views)