LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

TDMS Data neither saved nor displayed

Hello

Please find  attached my project  FPGA vi and RT Vi

I am applying the following tutorial

http://www.ni.com/tutorial/11198/en/ 

I need to log the data on file and display it inthe same time

Somthing went wrong  with snippet 

Please check my VIs below.

And send me any help

Thanks

0 Kudos
Message 1 of 6
(2,866 Views)

Your channel names array is empty going into the TDMS write.  I suspect that is the problem.

 

Are you sure you are getting data into the RT VI?  Put an indicator or probe in there to be sure the data is coming through.

0 Kudos
Message 2 of 6
(2,858 Views)

Hello RavensFan

Thank you for your reply.

yes you right 

I modified my channel names

and I added an indicator to the data going ut from FIFO-READ

I hope that this is the right place to put the indicator you mean.

But it did not bring any data.

Which means there is anoher poit in the code.

Many Thanks in advance  

0 Kudos
Message 3 of 6
(2,830 Views)

The next question is are you sure your FPGA code is running?  If you start it from the front panel window, do you see it executing?

 

Put indicators on your loop iteration terminals "i" and  see if they keep incrementing.

 

You have a FIFO.Start node on your real-time code which is interesting to me.  It makes sense that it would be there.  But I'm looking at a project of mine where I used 3 FIFO's, and none of them use that node.

 

Another thing.  You have a Feedback node in there that checks for the FIFO to timeout and sets the "Overflow" indicator.  But you initialize that with a True constant, so the result of the OR will be true right away.  And you RT code will stop after one iteration.

0 Kudos
Message 4 of 6
(2,819 Views)

Hello RavenFan

 

Thank you fro yur reply

 

Re: TDMS Data neither saved nor displayed[ Edited ]

The next question is are you sure your FPGA code is running?  If you start it from the front panel window, do you see it executing?

 

Put indicators on your loop iteration terminals "i" and  see if they keep incrementing.

 

I put an indicator it was incremanting  but till 3 or 4 and reset again , I still do not why??? 

You have a FIFO.Start node on your real-time code which is interesting to me.  It makes sense that it would be there.  But I'm looking at a project of mine where I used 3 FIFO's, and none of them use that node.

By the way , I am following here the Getting Started  Tutorial   http://www.ni.com/tutorial/11198/en/ 

 

Another thing.  You have a Feedback node in there that checks for the FIFO to timeout and sets the "Overflow" indicator.  But you initialize that with a True constant, so the result of the OR will be true right away.  And you RT code will stop after one iteration.

I changed this to initializ to F, still neither displaying nor saving 

Plase do you have anther hint?

0 Kudos
Message 5 of 6
(2,776 Views)

I have no idea why your FPGA code would be starting.  Your inner For Loop should go 0 through 3.  But the outer while loop i should be conitnually getting larger.

 

If your FPGA is resetting and restarting, then I suspect a much larger problem.

0 Kudos
Message 6 of 6
(2,766 Views)