From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
07-18-2014 10:01 AM
Hello,
can anybody tell me if its possible to write into the same FIFO inside and outside of a sctl?
The Sctl runs an write data into the fifo till an external event stops the sctl.
Than i want to write some values in the same fifo, that makes sure that the data is on the position where the external trigger stopped the sctl.
After that is written, the sctl starts running again.... and so on.
Possible or not? Because i allways get an error from the compilier.
Thank you.
Greetings,
B.Buerkert
07-18-2014 10:20 AM - edited 07-18-2014 10:20 AM
The SCTL is what is limiting you. The SCTL needs exlusive rights to writing that FIFO or else it won't be able to run in a single cycle.
07-18-2014 10:28 AM
After thinking about this for a little bit, you may be able to turn off the Arbitration and get this to work. Go into the dialog where you setup the FIFO. Go to Interfaces. For the write, configure it to Never Aribitrate.
07-21-2014 03:09 AM
Hy,
i changed the arbitration to never, but i still get an error:
resource interfaces requestet from both inside and ouside the sctl...
Any other ideas? 😕
07-21-2014 12:20 PM
Is this a DMA FIFO, or is the FIFO internal to the FPGA? Sounds like you may need to restructure your code.
07-22-2014 01:09 AM
Hy,
it a targed scoped fifo 🙂