LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Error 20061 regarding angular velocity measurement in continuous mode with buffered counter

Hello guys, I posted a question about Angular velocity measurement in continuous mode with NI-9401 card a while ago in the following link:

 

http://forums.ni.com/t5/Multifunction-DAQ/Angular-velocity-measurement-in-continuous-mode-with-NI-94...

 

I stated that " I have a ni cdaq-9178 chassis and SIX NI-9215 and ONE  NI-9401 and ONE NI-9237 cards. I want to measure angular velocity in continuous mode with NI-9401 card. In addition I need to measure 6 currents and 6 voltages and one force signal and synchronize all of the measurements together with the same data points and sampling rate. Now, my main question is about measuring the angular velocity in continuous mode with NI-9401 card. " I recieved the following links as suggested links for my problem :

 

https://decibel.ni.com/content/docs/DOC-6834

 

https://decibel.ni.com/content/docs/DOC-11869

 

I already used both of them.The second one works fine without error but since I have to synchronize it with different other tasks with the same sampling rate and data points, it is not useable. I tried to use Align & resample blocks and interpolation methods with it, but it was not very useful in this case because regardless of the way I do it, in that configuration, I can only get one sample at once from encoder and there is not guarantee that I can have the actual synchronized data.

But the first file looks better in terms of ability to define my desired sampling rate and samples to read. About it, my only problem is that I have to delete one of the encoder tasks. I did so, and as I stated above, I have to synchronize some voltage and current  and force tasks.  I kept the voltage task there. when I run the file by using highlight exceution, I receive the Error 20061, stating that frequency must be <= sampling rate/2. I cannot fix it by any selection of frequency & sampling rate. Would you please have a look at that to see what is the possible casue? I am already puzzeled.

Just want to mention that the first attachment is the current file I am struggling with and the attachment is a screen capture of a subVI that creates the 20061 Error for me.

Thanks. 

 

 

 

Download All
0 Kudos
Message 1 of 1
(3,052 Views)