LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

ptBypt Deriv Giving Very Small Value

Hello,

 

In trying to calculate a derivative in a vi deployed on a RTOS for cRIO, I am trying to use the ptBypt deriv vi.

However, I think I must be using it incorrectly although from all the examples I've seen things look correct. I am getting an extremely small value output on the order of e-6 through e-9. 

 

I wrote a small test .vi to show what I mean. When I calculate the deriv manually using backward difference method I get a result I expect (360 deg/s or 180 deg/s based on how fast the loop is actually running). 

 

I assume I'm making some basic mistake but I can't figure it out. Considering just going the manual route for my RT.vi...

 

Thanks in advance. Attached vi is LV 2015. 

0 Kudos
Message 1 of 1
(960 Views)