LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Example of Level Application

I have currently doing a project for college. It consists of 2 tanks and an Ultrasonic Level Probe in 1 tank. I want to be able to control the Level from 1st tank to the 2nd tank via a DAQ in Labview. Does anyone have a program for this or know where i will get this.
I am only new to LAbview and dont know where to start to program this.
 
Your help would be appreciated.
B
0 Kudos
Message 1 of 5
(4,273 Views)

Hello,

What you are trying to achieve should be relatively simple within LabVIEW depending on the type of measurement that your probe will return. Is it a straightforward voltage or numeric then you should be able to use simple DAQmx tasks to do this. I would recommend using the examples within LabVIEW by navigating to Help > Find Examples and go to Hardware Input & Output >  DAQmx > Analouge Measurement or Analouge Generation. Within these folders are different techniques on acquiring and generating analouge signals.

Its likely that you will acquire your signal for tank 1, perform some analysis or computation then generate a signal for the second tank's level, is this correct? If you are simply measuring the level of the 2 tanks then this will only require Analouge Measurement.

If you become stuck then post back with your LabVIEW and DAQ versions aswell as your hardware information.

Regards,

Tom
NIUK

0 Kudos
Message 2 of 5
(4,240 Views)

Tom,

Thanks for your Post and helping me out.

My basic Application is 1 Level probe with a 4-20mA output.This will  then be my Input to the DAQ. I can get my variable signal onto Labview and see it changing. My only problem is actually building the Labview Program to Show a Tank Filling and Emptying. Also I would like to control a pump when the Level becomes to low or High. ( Can you have PID control without a NI Toolkit. ). I would like to give Start/ Stop commands to the Output of the DAQ to Switch the Pump on/Off with respect to the 4-20mA.

I hope you understand,

I am using Labview 8.20 with s DAQ NI-USB-6008 

I appreciate your help.

Regards & Thanks

Brendan

0 Kudos
Message 3 of 5
(4,220 Views)

Hello Brendan,

The best way to illustrate a tank is to use the 'Tank' control on the 'Modern' subpallette. As far as implementing a PID like algorithm without purchasing the PID toolkit goes, there are base LabVIEW mathematics VIs such as Integral, Differentiate etc that you can use to create your own algorithm. But to achieve what you want you may only need a simple analysis and computation for the output from the tank level reading. For example if the tank is x liters too full then pump for y second etc.

Hope this helps.

Tom
NIUK

 

0 Kudos
Message 4 of 5
(4,207 Views)
send me a Example of Level control Application vi program
0 Kudos
Message 5 of 5
(3,980 Views)