02-22-2007 08:27 AM
02-26-2007 10:52 AM
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
02-28-2007 09:45 AM
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
02-28-2007 11:14 AM
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
10-23-2008 03:39 AM