LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Establecer parametros de tiempo de ejecucion en labview!

Saludos Amigos.. Bueno.. Yo realmente estoy un poco nuevo en esto del Laview... Y puesto no se como usar las herrmientas de tiempo en laview.. y bueno.. Por decirles.. Yo lo que quiero  establecer un tiempo de ejecución del Programa.. Es decir.. Al darle Run.. O mejor dicho al poner a ejecutar el codigo.. Quiero establecer un lapso de duración de ejecución del programa.. Ese Lapso yo lo ingresare como parámetro y una vez finalizado ese lapso el programa automaticamente se tiene que detener.. y pues me gustaria establecer ese lapso en horas.. Espero me puedan ayudar...

 

 

Otras de las cosas que me gustaria saber es como establer el tiempo de muestreo de la aplicacion.. Les explico, lo que yo estoy haciendo es una aplicacion que recibe señales de producción (Barriles/Dia) de petroleo y gas.. Esa señal se recibe desde un Plc's Basado en control Logic.. A esa señal yo le quiero aplicar unos parametros matematicos a fin de determinar si cumple o no un criterio de convergencia.. Es decir si la produccion es optima y esta dentro de lo que se desea que se produzca.. Me explico..? Bueno.. se divide en diversas pruebas basandose en el Elemento que se desea estudiar, ya sea Petroleo o Gas.. A los dos se les aplica la misma formula matematica.. La formula Matematica se basa en el estudio de producción o mejor dicho la medicion instantánea de produccion del flujo de petroleo o gas durante un tiempo determinado, es decir durante una muestra determinada.. Por eso es lo del tiempo de Ejecucion de La prueba, porq el numero de muestras tomada durante ese tiempo de ejecución sera sumado entre si y formara parte de la formula matematica. 

 

Bueno, una vez determinado la medicion instantanea, se sumara con el promedio calculado en el periodo anternor y se multiplicara por el numero total de muestras tomada durante  la ejecucion de la prueba q a su vez estara restado menos 1 y todo esto sera dividido entre el numero total de muestras.. Esta es la parte matematica solo para el criterio de convergencia del petroleo.. 

 

Bueno.. Entonces.. Una vez indicado cuanto durara la prueba en general, debo seleccionar si lo que voy a estudiar sera petroleo o gas, a su vez tengo que indicar si sera con convergencia (Con la formula matemática) o no.. A su vez tengo q establecer un tiempo de observación para el elemento seleccionado (Petroleo o Gas)...  y bueno no se si me entiendes.. El punto es, con que herramienta del Labview y de que forma puedo establecer esos tiempos.. Estoy totalmente nuevo, lo que he aprendido lo he aprendido leyendo manuales, introductorios y de foro en foro.. No tengo a nadie aquí que me asista.. De ante Mano muchas gracias a todos..!! 

 

Espero me puedan ayudar..

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

hi!

I don't speak spanish at all.... but if the problem is to compute the execution time of a Vi

give a look at this fresh nugget:

 

http://forums.ni.com/ni/board/message?board.id=170&message.id=501103#M501103

 

and to this help page:

 

Profiling VI Execution Time and Memory Usage

 

Regards,

Marco

0 Kudos
Message 2 of 3
(2,953 Views)
Hello.... MarcoMauri.. I neither speak English but I have q to carry out that application.. Thank you for support of high rail.... Here I explain to you what I want to make.!!


Me what I want to establish a time of execution of the Program. That is to say.... When giving him/her he/she runs.... Or rather when putting to execute the code. I want to establish a lapse of duration of execution of the program. That Lapse I will enter it as parameter and once concluded that lapse the program automatically has to stop. and because I would like to establish that lapse in hours. Esperome can help....
 
 
Others of the things that I would like to know are as establer the time of sampling of the application. I explain to them, what I am making is an application that he/she receives signs of production (Barrels / Day) of petroleum and gas. That sign is received from a Based Plc's in control Logic. To that sign I want to apply him/her some mathematical parameters in order to determine if it completes or not a convergence approach. That is to say if the production is good and this inside what is wanted that he/she takes place. Do I explain to myself...? Good.... it is divided in diverse tests being either based on the Element that is wanted to study, Petroleum or Gas. A he/she makes them to them the formula mathematics of same of it applies of himself.... Mathematics formulates it it is based on the production study or rather the instantaneous mensuration of production of the flow of petroleum or gas during a certain time, that is to say during a certain sample. For that reason it is it of the time of Execution of The test, porq the I number of samples taken during that time of execution it will be added among if and it was part of mathematics it formulates it. 
 
Good, once certain the instantaneous mensuration, was added with the average calculated in the period anternor and he/she multiplied for the I number total of samples taken in turn during the execution of the test q it will be subtracted less 1 and all this will be divided among the I number total of samples. This is the mathematical alone part for the approach of convergence of the petroleum. 
 
Good.... Then.... Once suitable as much as the test lasted in general, I should select if what I will study will be petroleum or gas, in turn I have to indicate if it will be with convergence (With mathematics it formulates it) or nr.. In turn I have q to establish a time of observation for the selected (Petroleum or Gas) element...  You of not of good of and me if you understand.... The point is, with which tool of Labview and that it forms I can establish those times. I am completely new, what I have learned the I have learned reading manuals, introductory and of forum in forum. I don't have a here of anybody me that attends.... Pay thank you of many of anything that...!! 
 
Esperome can help....
0 Kudos
Message 3 of 3
(2,941 Views)