I have created a RT FIFO like the figure below.
When I want to write to FIFO I get the following error.
Solved! Go to Solution.
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
RT FIFO is created with a data type of "fix-piont" but the error says that it is "double," that's confusing.
Please post the VI for further analysis....
Norbert
Please find attached the VI.
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
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.
I connected a 1D array of fixed-point type to configure the RT FIFO and the problem solved.
If the data you want to put into the FIFO is an array, the default datatype must be array as well:
Norbert
That's right.