Real-Time Measurement and Control

cancel
Showing results for 
Search instead for 
Did you mean: 

Fixed point to Dynamic data

Hi

I am using cRIO Module.

I am taking input from one of the cRIO's Analog Input Channels, on the fpga target 

And then importing these values to RT module for signal processing.

However when i am connecting one of the imported channels to a filter,it shows an error stating " the source is fixed point number and the sink is dynamic data type"

How to carry out this conversion?

 

0 Kudos
Message 1 of 10
(3,790 Views)

You don't.  Use one of the actual Filter VIs instead of one of the Express VIs.  Look in the Signal Processing->Filters palette.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 2 of 10
(3,789 Views)

How do you get down from an elephant?

Jim
You're entirely bonkers. But I'll tell you a secret. All the best people are. ~ Alice
For he does not know what will happen; So who can tell him when it will occur? Eccl. 8:7

0 Kudos
Message 3 of 10
(3,776 Views)

what do you mean?

If someone asks for help, you help him JIM.

 

0 Kudos
Message 4 of 10
(3,759 Views)

@Crossrulz, 

i also need to use tone measurement which isnt available

 

0 Kudos
Message 5 of 10
(3,758 Views)

And, 

only point by point filter works..

how is it different from normal filter?

 

0 Kudos
Message 6 of 10
(3,755 Views)

@Bgmnt wrote:

And, 

only point by point filter works..

how is it different from normal filter?

 


You would actually be having the same issue with the dynamic data version since you only have a single point.

 

Need more information here: What is your sample rate?  How are you transfering the data from the FPGA to the RT?  Code could especially be useful here.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 7 of 10
(3,747 Views)

Hi,

I havent really set up the sampling rate anywhere but my signal belongs to 0- 20 Hz.

I am sending the data using FIFO

 

0 Kudos
Message 8 of 10
(3,737 Views)

@Bgmnt wrote:

Hi,

I havent really set up the sampling rate anywhere but my signal belongs to 0- 20 Hz.

I am sending the data using FIFO


Sampling rate will be determined by your FPGA loop rate.

 

Another thought here: you should probably do your filtering in the FPGA.  It can handle the math a lot better than the Real-Time and it would help avoid some of this confusion.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 9 of 10
(3,734 Views)

tone measurement isnt available in fpga toolbox

 

0 Kudos
Message 10 of 10
(3,708 Views)