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.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Is it possible to write the same FIFO within a SCTL and outside?

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

0 Kudos
Message 1 of 6
(2,455 Views)

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.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 2 of 6
(2,450 Views)

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.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 3 of 6
(2,444 Views)

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? 😕

0 Kudos
Message 4 of 6
(2,403 Views)

Is this a DMA FIFO, or is the FIFO internal to the FPGA? Sounds like you may need to restructure your code.

0 Kudos
Message 5 of 6
(2,377 Views)

Hy,

it a targed scoped fifo 🙂

 

 

0 Kudos
Message 6 of 6
(2,363 Views)