10-19-2022 08:25 AM
Bom dia, Boa tarde e Boa noite
Gostaria de um auxilio com meu programa, a ideia principal é entrar numa condição quando estiver uma determinada temperatura, realizando dentro dessas condições o controle de tensão e corrente do circuito dentro do LV, através de um DAQ uma fonte e uma carga (Já baixei os softwares necessários).
Meu maior problema está sendo na execução dos dados, eu achei que seria possível fazer uma comparação simultânea e amostragem dos dados para entrar nos while de controle de V e I, mas isso não foi possível, acredito que seja o LV que não realiza varias funções ao mesmo tempo (achismo de uma leiga) vou deixar meu code fixado, caso alguém consiga me dar um norte do que realizar, desde ja agradeço.
10-19-2022 12:59 PM - edited 10-19-2022 01:03 PM
Hi peron,
@Peronpamela wrote:
I would like some help with my program, the main idea is to enter a condition when it is a certain temperature, performing within these conditions the control of voltage and current of the circuit inside the LV, through a DAQ, a source and a load (I already downloaded the required software).
My biggest problem is in the execution of the data, I thought it would be possible to do a simultaneous comparison and sampling of the data to enter the control whiles of V and I, but that was not possible, I believe that it is the LV that does not perform several functions at the same time (a layman's guess) I'll leave my code fixed, in case anyone can give me a north of what to do, I thank you in advance.
Your biggest problem is to "THINK DATAFLOW!".
LabVIEW can easily execute several things in parallel, but you need to program with parallel execution in mind!
Right now there is no parallel execution as you have lots of data dependencies in your code. Btw. using sequences (nearly) never solves any executions problems…
On your VI: