LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

VI llenado de dos tanques

Hola a todos, espero alguien me pueda ayudar con este VI es sobre el llenado de dos tanques. Uno de los tanques es una Cisterna y el otro es un tanque de menor tamaño que recibe el liquido que le envía la Cisterna. tengo dos problemas:

1. Que se realice el llenado de la cisterna en forma automática respetando el límite máximo marcado de llenado de la cisterna y una vez lleno la cisterna se active de forma automática el llenado del tanque pequeño hasta el límite máximo de llenado (por lógica con el respectivo decremento del nivel de la cisterna eso ya esta programado).

2. Hacer la descarga de forma manual del tanque (menor) al nivel que el usuario elija y que este se vuelva a llenar del líquido enviado de la cisterna de forma automática cuanta veces lo descargue el usuario. poniendo como condicional que el tanque pequeño ya no podrá ser llenado cuando se haya agotado el liquido de la cisterna. Ojala Alguien me pueda ayudar.

 

Agradeciendo de antemano su atención gracias.

 

ARR

 

0 Kudos
Message 1 of 2
(3,513 Views)

Hi Black,

 

either use the Spanish LabVIEW board or use English in the "standard" LabVIEW board…

 

1. That the filling of the tank is carried out automatically respecting the marked maximum limit of filling of the cistern and once filled the tank is activated automatically filling the small tank up to the maximum limit of filling (by logic with the Respective decrement of the level of the tank that is already programmed).

2. Manual discharge of the (lower) tank to the level that the user chooses and that it is refilled from the liquid sent from the cistern automatically as often as the user downloads it. Putting as conditional that the small tank can no longer be filled when the liquid of the tank has run out. I hope someone can help me.

 Suggestions:

- replace ALL local variables in your "valor inicial tanque" loop by wires! THINK DATAFLOW!

- remove those classical Rube-Goldbergs in the same loop: why do you need a select function which resembles nothing more than "IF TRUE THEN TRUE ELSE FALSE"???

- LabVIEW has a InRangeAndCoerce function in the comparison palette, I think you will need it badly…

- using the "ReInit to default" methods inside of a VI most often is a sign of bad VI design. Use shift registers to hold/store values and act on the wire as needed!

Best regards,
GerdW


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