To download NI software, including the products shown below, visit ni.com/downloads.
Overview
This VI shows how to write and read text file as appended using LabVIEW
Description
The program consists of a state machine, where it first writes the number of samples that the user indicates, random numbers are generated between 0 and 10, which are stored, then goes to the next state where the information is obtained from the file , The samples are plotted and the number of elements in the file is obtained as well as the average value.
Requirements
Software:
Steps to Implement or Execute Code
1. Select how many element do you want to write.
2. Run VI.
3. Notice that every time application run, elements inside report is increasing by "Numbers to Write."
Additional Information or Resources
**This document has been updated to meet the current required format for the NI Code Exchange.**
Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.
Por favor incluya una captura de pantalla en todos ejemplos.
Gracias!
Gracias por subir este codigo a la Comunidad! Cuando tengas tiempo, por favor haga las siguientes cambios:
1. Anadir una foto del block diagram para darnos idea como funciona su codigo
2. Cambiar el nombre del archivoadjunto a incluir la version de LabVIEW ("_lvXX.vi")
3. Cambiar el titulo del documento para que no sea una pregunta (queremos que aparezca en una forma)
Otra vez, gracias por incluyendo este codigo en la Comunidad!!!