cancel
Showing results for 
Search instead for 
Did you mean: 

RT FIFO error

SOLVED
Cashany
Member
Solved!

RT FIFO error

Message contains an image

I have created a RT FIFO like the figure below. 

When I want to write to FIFO I get the following error. 

 

fxp.png

10 REPLIES 10
Norbert_B
Proven Zealot

Re: RT FIFO error

You have read the error message?

It clearly states the reason for the broken wire: Datatype mismatch.

 

What bothers me is that the error message you inserted talks about "1-D array" as source AND sink. I would expect your FIFO to be the sink, and it is configured as scalar fixed point (if you connected the Create FIFO correct)

 

Norbert

Norbert
----------------------------------------------------------------------------------------------------
CEO: What exactly is stopping us from doing this?
Expert: Geometry
Marketing Manager: Just ignore it.
Cashany
Member

Re: RT FIFO error

RT FIFO is created with a data type of "fix-piont" but the error says that it is "double," that's confusing. 

Norbert_B
Proven Zealot

Re: RT FIFO error

Please post the VI for further analysis....

 

Norbert

Norbert
----------------------------------------------------------------------------------------------------
CEO: What exactly is stopping us from doing this?
Expert: Geometry
Marketing Manager: Just ignore it.
Cashany
Member

Re: RT FIFO error

Message contains an attachment

Please find attached the VI. 

Norbert_B
Proven Zealot

Re: RT FIFO error

As i don't have your bitfile available, i cannot see the original datatype you want to put into the FIFO.

But it seems to me that it is an array as you get that value from "Decimate 1-D array" and you also put that value into a waveform as 'Y' (meaning: The data array!).

 

Also, the constant you are using for initialization of the FIFO is scalar fixed point set to "adapt to entered data". I would expect you to define the configuration of the fixed point number beforehand (configuration in "Data Type" tab).

 

hope this helps,

Norbert

Norbert
----------------------------------------------------------------------------------------------------
CEO: What exactly is stopping us from doing this?
Expert: Geometry
Marketing Manager: Just ignore it.
Cashany
Member

Re: RT FIFO error

Yes, the data to be input to RT FIFO is 1D array of fixed-point type. 

 

The problem is still there. 

I think I need to play around with the RT FIFO to solve this. 

Cashany
Member

Re: RT FIFO error

Message contains an image

I connected a 1D array of fixed-point type to configure the RT FIFO and the problem solved. 

 

fxp.png

Norbert_B
Proven Zealot

Re: RT FIFO error

Message contains an image

If the data you want to put into the FIFO is an array, the default datatype must be array as well:

FIFO array fixed point.PNG

 

Norbert

Norbert
----------------------------------------------------------------------------------------------------
CEO: What exactly is stopping us from doing this?
Expert: Geometry
Marketing Manager: Just ignore it.
Highlighted
Cashany
Member

Re: RT FIFO error

That's right.