07-24-2016 05:35 AM
Hi,
I am working on my first project with a Linux RT, I have to say that the process is being a nightmare itself, I am documenting all the different errors and caveats that I am finding and videoing all of them to publish them here. However, I have found an error that I would very much like to get an explanation for.
Before you watch the video, please keep in mind that RTs are not my area of expertise, though I do not believe that I am actually doing something too crazy as I tried to keep the FPGA programming simple.
Instead of trying to explain the problem I recorded a video that shows it. I appreciate any answers as I cannot see why it is happening and it took me some time to reach the solution.
07-24-2016 01:19 PM
Hi
You didn't specified which LabVIEW version are you using.
I had problem with LV 2012 when I used Type Def as DMA then data didn't pass from FPGA to RT.
Work around was to disconnect Type Def control from their Type Def before FPGA compilation.
07-24-2016 01:23 PM
Thank you JCC,
The LabVIEW Version is 2015 SP1. I'll try what you mention and tell you if that works.
07-24-2016 01:37 PM
P.S.: there use to be problem with RT build. LabVIEW restart helped in that case. But it was problem in 2011/12.
07-24-2016 04:00 PM
JCC_(SK) escribió:
I had problem with LV 2012 when I used Type Def as DMA
Sorry,
What do you mean with DMA? Actually I did missunderstand your message before, my problem appears when I disconnect the Type defs from the controls, if I keep them as type defs the problem does not happen.
07-25-2016 09:40 AM
This probably belongs in a FPGA discussion forum not the LV Linux RT community forum. http://forums.ni.com/, it looks like the LabVIEW group includes FPGA (there's no separate FPGA group)
07-25-2016 09:57 AM
BradM escribió:
This probably belongs in a FPGA discussion forum not the LV Linux RT community forum.
It may had to, but I haven't seen this problem before in non Linux RTs, therefore I thought it could be related to the way the operative system was treating the FPGA reference.
07-25-2016 10:55 AM
I'm still not 100% sure what you're attempting to do with the FPGA ref typedef, but if it's to abstract away the notion of using different FPGA bitfiles with the same interface (controls, indicators, DMA, and IRQs of the same type and names), you should probably look into using the Dymanic FPGA Reference for passing around the FPGA session.