Academic Hardware Products (myDAQ, myRIO)

cancel
Showing results for 
Search instead for 
Did you mean: 

myRIO sampling rate

Solved!
Go to solution

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.

Download All
0 Kudos
Message 11 of 14
(3,444 Views)

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.

0 Kudos
Message 12 of 14
(3,437 Views)

Again the file, the last had a bad conexion.

Message 13 of 14
(3,432 Views)

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:

 

PC.png

 

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:

 

No PC.png

 

Can you help me? any idea?

0 Kudos
Message 14 of 14
(3,429 Views)