01-24-2025 11:15 AM
Hello,
I am having a problem with saving the data I am collecting to a file. I am using a cRIO controller and there are no measurement file functions available. I have looked into FIFO and shared variables but cannot find any information about saving to a file and everything I have tried only results in errors. Please let me know a simple process to save this data. Thank you!
Solved! Go to Solution.
01-24-2025 11:30 AM
All you show us is a picture with a pile of wires and terminals. Is this running on the RT system? Where does the chart get displayed? Where does the UI run? Where do you want to save?
01-24-2025 11:36 AM
Hi tpendleton,
@tpendleton18 wrote:
I am using a cRIO controller and there are no measurement file functions available.
This is wrong.
There are (measurement) file functions available on cRIO RT (Realtime)!
@tpendleton18 wrote:
everything I have tried only results in errors.
What have you tried?
Which errors did you get?
Do you know you can create files inside the cRIO file system?
Do you know your cRIO CANNOT access the filesystem of your Windows computer?
Did you understand the example projects for cRIO/RT, explaining how to transfer data between cRIO and host computer?
01-24-2025 12:07 PM
Hello,
Here is the entire project and files I have for the LabVIEW. I am using the FPGA module, and there are no report generation or measurement file functions available. I may have incorrectly explained that in my first post. I do not really know what to do in this scenario, as usually I can just use the measurement file function and easily export data to excel or csv. I am wondering if that is even possible using FPGA. Answering your questions, no I did not know that cRIO cannot access files and I have looked at examples from LabVIEW but I cannot even get them to run.
01-24-2025 12:19 PM
@tpendleton18 wrote:
Here is the entire project and files I have for the LabVIEW..
All I see is one file.
01-24-2025 12:25 PM
I cannot upload the project file.
This is the error I get.
01-24-2025 12:28 PM
put everything into a zip file, then attach that.
01-24-2025 12:29 PM
Here is the zip file.
01-24-2025 12:45 PM - edited 01-24-2025 12:46 PM
Hi tpendleton,
@tpendleton18 wrote:
I am using the FPGA module, and there are no report generation or measurement file functions available. I may have incorrectly explained that in my first post.
Well, you forgot to mention the FPGA part completely in your first post.
And yes: the FPGA cannot write any files, neither in cRIO nor on host computer…
I repeat my question from previous message:
Did you understand the example projects for cRIO/RT, explaining how to transfer data between cRIO and host computer?
And I ask specifically: Did you also understand the example projects for RT+FPGA? They explain how to transfer data from FPGA to cRIO to host computer!
01-24-2025 12:52 PM
Hello,
I did not understand the example projects in Labview. I am a beginner in LabVIEW and am developing this VI for a school project. For our project, we need to display the data using graphs (which does display data when the code is ran). I understand the basics of LabVIEW however FPGA is a whole new world for me. I have read through the developers guide for cRIO and have looked at other posts talking about DMA FIFO and other levels of communication but I either cannot get half of the functions they mention or errors arise. One of the errors I encountered in the FIFO was that when I went to write to the FIFO, it also needs to be read. However, I don't understand why that is a requirement for it. If there is ANY easy solution you can provide, please let me know.