From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
el 03-17-2017 12:39 PM
hola tengo un problema con un array, la cosa es que el array indicador esta en un while loop y lo que quiero es que conforme vallan las iteraciones sume el siguiente dato. ejemplo 1° iteracion = 1° dato, 2° iteracion = 1° dato + 2° dato, 3° iteracion = 1° dato + 2° dato + 3° dato ..... hasta llegar a un limite, todo esto para ponerlo en un wave form chart por favor ayudaaaa
el 03-17-2017 12:44 PM
hola tengo un problema con un array, la cosa es que el array indicador esta en un while loop y lo que quiero es que conforme vallan las iteraciones sume el siguiente dato. ejemplo 1° iteracion = 1° dato, 2° iteracion = 1° dato + 2° dato, 3° iteracion = 1° dato + 2° dato + 3° dato ..... hasta llegar a un limitey cada vez que haga una suma me mande el resultado , todo esto para ponerlo en un wave form chart para sacar el promedio graficamente por favor ayudaaaa
el 03-17-2017 12:48 PM
From Google Translate:
Hi I have a problem with an array, the thing is that the indicator array is in a while loop and what I want is that as they go through the iterations add the following data. Example 1st iteration = 1st data, 2nd iteration = 1st data + 2nd data, 3rd iteration = 1st data + 2nd data + 3rd data ..... until reaching a limit, all this for Put it on a wave form chart please help
Ok, now to the problem. The simple solution would be to use a chart, which keeps a history. Alternatively, you could use a shift register and Build Array to add your data and then use a Graph. This would be slower and a lot more memory intensive.
el 03-20-2017 05:41 PM
Saludos roger798,
Hay muchas maneras de hacer lo que buscas. Te recomiendo que jueges con los registros y utilizando puntas de prueba (Probes) y corriendo tu VI en Ejecución pausada (Highligh execution) verifiques los datos.
Revisa los ejemplos de LabVIEW si quieres aprender más de la funcionalidad.
Diego H
National Instruments