The following code shown below is for a humidity sensor attached to a myrio.
I was wondering how could I save this data onboard the myrio, as a text document, saving the y axis with a time stamp. I know I can invoke a node from the front panel of the chart, using a "to excel", but that alone will not let me control the file directory of the path.
As you can seen i've done some experimenting with the file path of the rio, but still don't have it quite down. If anyone can help me out thanks!
I believe myRIO should works the same as typical CompactRIO when comes to data logging in the real-time target.
Could you try using the c:\<filename>.txt as the file path and see if there's any file in the myRIO using the address (ftp://<ip address>).
You don't need to write to text file using the chart. You can write to text file in myRIO similar to how you normally perform write a text file operation to the computer.
You need to convert the result data (from the output terminal of the Multiple function) to string format before writing to the text file.
If you want to include the time stamp into the text file, you can use Get Date/Time in Seconds function and convert to string before concatenate with the data (in string).
I don't think that your chart even has any time stamp data on the x-axis, although the x-axis is labelled as time.
Sorry it's samples. I am still getting use to labview/myrio.
If I am logging data to a chart, does the chart automatically save onboard the rio(my project will not be connected to a home computer). I am trying to figure out the best way to save the data when not connected to a computer.
I am unsure of the file path when not connected as a data logging device.
Sorry if I seem confusing still getting use to the rio and labview.
I know that you're waiting on ongeelim to respond back but I also wanted to make you aware that you may have more luck finding an answer quicker if you direct your question to the correct forum path -->Academic Hardware Products (ELVIS, myDAQ, myRIO).
If you're logging data to a chart in LabVIEW on your computer or on myRIO, nothing is saved to a file. You must save to a file separately the same way that ongeelim described in the previous post.
I have problem to save analog data by using NI myRIO. I can't save the analog data obtained. Anyone can help me to solve this problem because I'm still new user NI myRIO.
I want save the data on my pc. But, the data does not save when I run the program. You can refer the VI program below. Is it because the file path name for myrio is not same as the file path name PC?