LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Help With a water treatment System

Hi,

 

I am completely new to Labview and have been trying to teach myself, as part of a project we have to develop a water treatment system, that includes a dosing tank, a supply tank, Flouride and Ph levels,

 

The front panel of the server VI should contain the following elements.

  • Indicators
    • Power on/off
    • Supply Tank outlet pump on/off
    • Supply Tank inlet pump on/off
    • Supply tank level
    • Dosing Tank level
    • pH – current value and running average, graph average,
    • Fluoride – current value and running average, graph average

 

  • Controls
    • Power on (Start Button)
    • Power Off
    • pH setpoints
    • Fluoride setpoints

I have attached my VI so far, if anyone could point me in the right direction that would be very helpful.

 

 

0 Kudos
Message 1 of 5
(666 Views)

Hi ccassidy,

 


@ccassidy85 wrote:

as part of a project we have to develop a water treatment system, that includes a dosing tank, a supply tank, Flouride and Ph levels,

The front panel of the server VI should contain the following elements.

  • Indicators

 

  • Controls

I have attached my VI so far, if anyone could point me in the right direction that would be very helpful.


Unfortunately I cannot open your VI because of the LabVIEW version you use, but your requirements clearly describe which frontpanel elements you need to place on the frontpanel. I guess you were able to design the frontpanel!?

 

Now all you need to do is to implement the logic (aka algorithm) behind those frontpanel elements - and you didn't supply any information on that algorithm so far…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 5
(593 Views)

Assuming you're on the same course as this guy:
https://forums.ni.com/t5/LabVIEW/pump-tank-control/td-p/4346952

You guys seem to love sequence structures, is there a reason for that? Is it something you've been taught to do? 

Replace your sequence with a state machine

0 Kudos
Message 3 of 5
(578 Views)

Yeah,

 

All we have been taught is sequence structures, haven't touched on state machines at all, not sure if we will at all. I have made a few changes since last night, this is my current VI now.

0 Kudos
Message 4 of 5
(575 Views)

@ccassidy85 wrote:

All we have been taught is sequence structures, haven't touched on state machines at all, not sure if we will at all. I have made a few changes since last night, this is my current VI now.


Please do "save for previous" and select LabVIEW 2020 or below before attaching. Many cannot open Vis in newer versions.

 

Sequence structures are very rarely needed and should not be taught to beginners at all. Execution order should primarily determined by dataflow alone.

0 Kudos
Message 5 of 5
(563 Views)