01-03-2016 03:11 PM
Hi,
I am using LabVIEW 2015 and NI myRIO 1900 FPGA module.
I want to use Target scoped FIFOs to transfer data between two FPGA Target VIs.
Suppose I want to transfer data from this VI
to another VI
What I try to do is call 2nd VI from 1st VI so that 2nd VI will act as sub VI to 1st VI.
Both of them are compiling. FOr 2nd VI I have to use some dummy Write method just to compile.
I am not successful with this approach.
Can anyone please suggest some standard or sample way how this transfer can be achieved or give some resource where I can find details.
Thank you.
01-03-2016 05:16 PM
What do you have reading the "Target Scoped Test" FIFO? If it is not going anywhere, it is likely not being compiled. Or is that supposed to be a DMA FIFO that you are reading in the RT?
01-03-2016 05:29 PM
Yeah it is a DMA FIFO reading on the RT side just for the sake of observing. Wave form chart isnt working !
01-03-2016 08:10 PM
You should zip up your entire project and post that. Sounds like something is not configured correctly.
01-04-2016 02:54 PM
Hello
Here is my project below.
Please check the ticked vis
If possible please check my actual problem stated in this post.
Thank you.
01-11-2016 09:10 AM
Hello charansai,
what do you mean when you say " I am not successfull with this method"? Are you getting some error message or are you simply not reading the correct data in the RT target?
Please be more specific. Your code, at a forst sight, seems like it has to work. Please let me know what are you getting when you run your vis.
Kind regards.
01-11-2016 10:09 AM
Hey pep91,
Actually I could not see any data on RT side.
01-11-2016 10:18 AM
I took a more deep look to your code. Actually you don't need to call the vi "Target scoped 2" in the vi "Target scoped 1"; in the latter one, you just fill the FIFO, in the first one you just read it and fill the FIFO you have to pass to RT target.
You don't need flat sequences.
Try to do this changes, it should help you a lot (hopefully it should solve your problem).
Let me know.
Kind regards.
01-11-2016 10:33 AM
Hey thanks for your concern 🙂
If I don't call ''Target scoped 2'' in ''Target scoped 1'' vi, I have to insert Target scoped FIFO read method in order to compile it. So, I think I have to call it.
Anyway I will try the changes that you have suggested and come back.
Thank you.
01-11-2016 10:38 AM
Yes, you are right, my fault.
Try also to delete the part in "Target scoped 2" in which you write 0 in the FIFO. I don't think it is needed, and it could be the source of the error.