05-16-2010 08:54 PM
05-17-2010 02:56 AM
What seems to be a common problem? That your graph is blinking? or that it does not update as you wish?
Well a graph is simply a indicater which represents the data you write into it at a certain time.
So you decide what your graph is doing. If there is something wrong you might need to be a bit more specific.
Btw, your samplerate is enough if you just want to have the correct frequency of the signal. If you need to get the correct shape you will need to use a 10 times higher samplerate then the highest frequency your signal can have.
Christian
05-17-2010 06:03 PM
05-18-2010 01:34 AM
Nyquist says, that if you want to get the correct frequency of a signal, you need to acquire 2 times faster then the highest possible frequency in the signal. Christian says, that if you want to acquire the correct shape, you need to be at least 10 times higher.
And regarding your blinking graph, again it only represents the data you write to it. Maybe you should post the VI.
Christian
05-18-2010 02:22 AM
05-18-2010 04:17 AM
Well, I saw your VI, but I don't have the hardware installed and don't have the time to setup a system and test this right now, sorry for that.
And when disabling certain parts of your VI to run it on my system with just one DAQ card installed I don't see any data, though a sinewave generator is connected and I see data with other VIs.
So I don't see blinking, nor anything else when running your VI.
At first sight the structure seems to be ok. But you don't check for DAQmx erros in the procuder loop and it's not necessary to have shiftregisters for the task handles.
So back to the zeros. Do you see zeros in your tdms file?
Christian