Discusiones sobre Productos NI

cancelar
Mostrando los resultados de 
Buscar en lugar de 
Quiere decir: 

Ayuda Maquina de Estados, sobre escribir time stamp labview

Hola Comunidad, estoy buscando de su ayuda soy nuevo LabView, el problema es que quiero hacer una maquina de estados donde hay un periodo 1 controlado por fechas donde prende y apaga calefactor el cual lo estoy simulando con un led. 

 

Pero también estoy ocupando un periodo 2 donde se guarde fecha y hora momentáneamente, ya que necesito que cuando acabe periodo 1, el periodo 2 sobre escriba el periodo 1 y deje libre periodo 2 para agregar otro periodo...

Y en caso de que no este activo ninguno de los periodo se active el Stop en un lapso de 5 minutos.

 

Anexo VI versión 18

 

Gracias de antemano comunidad

0 kudos
Mensaje 1 de 3
1.162 Vistas

Hi Alfgr,

 


@Alfgr75 wrote:

Hello Community, I am looking for your help I am a new LabView, the problem is that I want to make a status machine where there is a period 1 controlled by dates where the heater turns on and off which I am simulating with a led.

 

But I am also occupying a period 2 where the date and time is saved momentarily, since I need that when period 1 ends, period 2 overwrites period 1 and leaves period 2 free to add another period ...

And in the event that none of the periods is active, the Stop is activated within 5 minutes.


Please write your questions in English. Or use the Spanish regional community to ask in Spanish. (Edit: Someone else moved your thread into this regional board…)

To learn LabVIEW you should take the "Training resources" as offered in the header of the LabVIEW board!

 

Do you want to create a state machine?

Why don't you start with the state machine example project coming with LabVIEW?

Then why do you use a sequence frame? Your VI may look like this:

 

Right now there is nothing in your VI according to your description. No "saved momentarily", no "period2 overwrites period1"…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 kudos
Mensaje 2 de 3
1.136 Vistas

Thanks for the suggestion of the community in Spanish, I will pay attention ...
As for not finishing period 2, it is because I do not know how to make period 2 replace period 1 at the end of period 1,
I only find that it is saved in a string but how to make it rewrite in period 1 marked in the appended image ...
I would appreciate your help in explaining to me if there is any way I could do this task or there is no way that the time stamp 1 can be rewritten.

Best regards

0 kudos
Mensaje 3 de 3
1.095 Vistas