From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
03-28-2019 09:57 PM
Hello
So i am currently working on code that will deal with more than one case structure functions (in total roughly four). Within the case structures, I will be dealing with RTDS and 2 pump meters. I need help with LabVIEW to interpret what I am trying to say and I am not sure of where to begin
1. If the user wishes RTD to measure temperature between 5-20 degrees, allow pump 1 only to pump. and allow max pump rate of pump meter to be 6litres per minute.
2. If the user wishes RTD to measure temperature between 36-46 degrees, allow pump 2 only to pump. and allow max pump rate of pump meter to be 6 litres per minute.
3. If the user wishes RTD to measure temperature between 20-36 degrees, allow both pump 1 and pump 2 to pump. and allow max pump rate of both pump meters pump meter to be 3 litres per minute respectively.
4. If RTD temperature is met, shut down both pump 1 and 2 respectively.
Cheers,
03-29-2019 01:20 AM - edited 03-29-2019 01:25 AM
HI suppaman,
I am not sure of where to begin
all you need is just one case structure with 4 3 cases. And an additional check for "temperature is met"…
(Depending on the kind of pumps (or their controllers) I would use a PID control loop to set the temperature. You can set the output range of the PID according to your requirements.)
I need help with LabVIEW
There is a Training section in the header of the LabVIEW board - check the courses offered there!
You also could attach your current VI to get more help on it.
Good advice: NEVER compare floating point values for equality!
03-29-2019 08:12 AM
Hello
Thank you for your reply. I was wondering if I can send a private message regarding my code with a bit more explanation I can give.
Cheers,
03-29-2019 08:18 AM
@suppaman wrote:
Hello
Thank you for your reply. I was wondering if I can send a private message regarding my code with a bit more explanation I can give.
Cheers,
Paraphrasing;
"A man does light a lamp and cover it with a basket."
When we share our insight in a public forum, our knowledge helps more than just one person.
Just my 2 cents,
Ben