07-10-2016 06:18 PM
Great that the program had helepd you.
I have created a seperate program to write to 1D array and 2D array.
You may try this program first to ensure that TDMS function is working properly.
This will write the tdms data into tmp folder of myRIO under the file name "test_tdms_write".
You may replace the tmp:\ folder with u:\ to store the data into usb flash drive connected to it.
Once tested, you have to integrate this program into your actual program.
Take note that TDMS open and close functions should be outside the inner while loop.
Let me know if you have any more issues.
07-11-2016 08:26 AM - edited 07-11-2016 08:29 AM
Good day friend,
I will prove your idea, right now I am doing this with the Write Measurement VI and the TDMS file is created, but the problem is that the data isn't saved, like if the FIFO don't work. With the USB conexion the program is ok, save the data without errors in a TDMS file, the problem is in the standalone application, the FPGA and the RT work but the data is not saved, the TDMS file is created but the data don't appear.
Here is my code, if you want to see.
07-11-2016 09:36 AM - edited 07-11-2016 09:37 AM
Again the file, the last had a bad conexion.
07-11-2016 10:15 AM
Hey dud, I tried with your idea and don't work, the TDMS file is created too but the data isn't saved.
Look, if I run the program with the pc (conexion usb), the file is created and the data is saved, I know because the size of the files increase:
But with the standalone application, the program run, the files are created, but the data is not saved, I know that because the size of the file don't increase:
Can you help me? any idea?