LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Need help with VI

Solved!
Go to solution

So basically I need to generatre a series of random numbers at a given user defined frequency and convert the generated data into customized string data, and then store the data to a file using low level file i/o function. The front panel should look like the picture in attached files. 

 

What ive done so far, I got the random number to be generated, and user defined frequency. and the I was able to write the generated data into a file. However, It only shows 1 value of the data. I need to have series of values. 

 

Front Panel.PNG is what the front panel should look like

Module is what ive done so far

and Resulting text file is what the text file should looked like (It doesnt have to have same numbers, just same format).

 

 

Download All
0 Kudos
Message 1 of 3
(2,704 Views)
Solution
Accepted by topic author Ali96

Move your creating of the file and writng the header to before the loop and close the file after the loop.  Then as you write inside of the loop, the data will just keep being added to the file.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 2 of 3
(2,676 Views)

Thank you that did the trick 🙂

0 Kudos
Message 3 of 3
(2,670 Views)