01-03-2024 12:20 PM
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,
I have attached my VI so far, if anyone could point me in the right direction that would be very helpful.
01-04-2024 07:57 AM
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…
01-04-2024 09:04 AM
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
01-04-2024 09:10 AM
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.
01-04-2024 10:20 AM
@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.