06-08-2024 02:59 PM - edited 06-08-2024 03:03 PM
Hola a todos,
Estoy haciendo una interfaz gráfica en LabVIEW que simule la medición y el control de la energía consumida por las luces de una cancha, mostrando en tiempo real las lecturas de voltaje y corriente. Hasta ahora ya avance que puedo apagar y prender mis leds dependiendo de la hora, con un interruptor o con un sensor de oscuridad, pero ahora estoy atorada en cómo hacer una condición de que si están prendidos o apagados me muestre la potencia en un indicador. Lo que quiero es poder ajustar el valor del voltaje con un dial, pero que la potencia dependa de cuántas luces están apagadas
06-08-2024 06:32 PM - edited 06-08-2024 06:32 PM
@ishiiwachu wrote:(translated by google)
Hello everyone,
I am making a graphical interface in LabVIEW that simulates the measurement and control of the energy consumed by the lights of a court, showing the voltage and current readings in real time. So far I have seen that I can turn my LEDs on and off depending on the time, with a switch or with a darkness sensor, but now I am stuck on how to make a condition that if they are on or off it shows me the power on an indicator. What I want is to be able to adjust the voltage value with a dial, but have the power depend on how many lights are off
We cannot help by looking at a microscopic blurry picture. All we can see that there is no toplevel loop, way (way!!!) too many local variables, many glaring race conditions, and mostly disconnected terminals.
Attach your VI (save for previous, 2020 or below) and explain exactly how it is to be used and what you expect it to do. Also make sure that all controls have reasonable default values.