03-21-2017 02:04 AM
Thank you.
I attached VI.
03-21-2017 02:08 AM
03-21-2017 02:20 AM
Thanks. I am not in that step. I have created a new RT project and after compiler FPGA vi it works and I can run the host VI which can see the plot of data but I don't know how to save this data after showing in the plot.
thanks
03-21-2017 02:23 AM - edited 03-21-2017 02:24 AM
Hi Asgar,
I don't know how to save this data after showing in the plot.
I repeat again: use file functions to save data to files!
As you asked for TDMS files: use TDMS file functions!
When you don't know how to use them: study the examples coming with LabVIEW!
Which of these steps do you have problems with?
03-21-2017 09:35 PM - edited 03-21-2017 09:36 PM
Thank you. I have error 61072 based on the attached files. I am using the hard driver memory for save the data, I think this error related to memory, is this true?
thanks
03-22-2017 01:50 AM
Hi Asgar,
I am using the hard driver memory for save the data, I think this error related to memory, is this true?
The error message is quite clear: don't fiddle with FIFO length!
Define the FIFO length once in the FPGA part of the project, then don't even try to change it dynamically later on! (Not unless you are REALLY sure what you are doing then!)
How is this error related to your problem of trying to write a data file?
03-22-2017 02:36 AM
Thank you. I am trying to get data from the waveform graph but I don't know how to do that. You said before that RIO doesn't have access to your PC's hard drive. It can only save files on its own drive! by then, I don't have SD card in my cRIO 9030, where the file should be saved? I can see the data in DIAdem View.
thanks
03-22-2017 02:54 AM - edited 03-22-2017 02:54 AM
Hi Asgar,
I am trying to get data from the waveform graph but I don't know how to do that.
THINK DATAFLOW: you want to save the data that is also plotted in the graph. Even these small semantic differences are important when you program this in LabVIEW!
Use file functions to save data to files! Did you examine the example VIs coming with LabVIEW?
I don't have SD card in my cRIO 9030, where the file should be saved?
The cRIO has it's own internal storage - or where do you think is the cRIO OS and your program stored? Usually cRIOs have a C: drive internally…
I can see the data in DIAdem View.
I don't know that "DIAdem View" tool, so how did you get the data from your cRIO to your PC running DIAdemView?
03-22-2017 02:59 AM
Thank you.
Did you examine the example VIs coming with LabVIEW?
Not yet!
where do you think is the cRIO OS and your program stored?
Maybe drive C
did you get the data from your cRIO to your PC running DIAdemView?
File attached.
03-22-2017 03:07 AM - edited 03-22-2017 03:08 AM
Hi Asgar,
Not yet!
Well, this should be one of the first steps when trying to learn new things in LabVIEW.
You want to learn those things, don't you?
File attached.
So you used a feature only available in the LabVIEW IDE, but not programmatically. Once your cRIO runs headless (what it is made for!) you will not even see the frontpanel of your VI!
Learn how to use file functions. Learn how to setup cRIO projects. Learn how to transfer data from cRIO RT to Win-PC. All those things are explained in example VIs, LabVIEW help, example projects, AppNotes on NIs website…