Real-Time Measurement and Control

cancel
Showing results for 
Search instead for 
Did you mean: 

FIFO data type

In my application vi of FIFO, I found 'data ' it accepted (FIFO.Write) is an array. It should be defined by FPGA configuration, however, in FPGA vi, I found 'element' from FIFO is just one number and it seems sending all the element from the array given in application vi sequently.

 

I just want to send one number to this FIFO. How can I change the type of 'data' (FIFO.Write) to be a number, not an array?

 

Another question, 3 modules are running simultaneously in my application, each of them has its own 'interrupt' in FPGA configuration VI. Do thoses 'interrupts' slow down their works?

 

Any comment or suggestion?

 

Thanks a lot.

 

 

0 Kudos
Message 1 of 2
(3,127 Views)

Hi

 

I ain't 'gonna rack me brains'.Smiley Tongue

it would help if you provided  screen dump or png shot.

 

here goes anyway: usually one populates the FIFO (1023 elements on FPGA ) with module data using a for loop. So the more channels tied to the FIFO the quicker it will be filled.( NOT necessary to FILL completely). IF FIFO data is not written to RT buffer then 'old data can  be overwritten.

 

You cannot change the type of data to be a number as logically the data is a number. You mean change the format?

 

Interrpts by nature if 'set do slow the cycle loop. However you can also enable the function to ignore the interupt acknowledge.

 

Remember  a picture paints a thousand wordsSmiley Happy

 

xseadog

0 Kudos
Message 2 of 2
(3,120 Views)