04-10-2008 04:08 AM
04-10-2008 05:10 AM
Hi,
1) DMA significantly enhances RIO hardware for applications such as buffered intelligent data acquisition, streaming digital communication devices, and in-vehicle data acquisition.
2) About passing data between Normal Priority and Time-critical loop the best way is to use RT FIFO or Shared Variable FIFO.
04-10-2008 07:43 AM
Hi BenjaminR,
thanx for you answer.
to 2.) But i think a Shared Var. (with or without FIFO) are very slowly. A Global Var. is much faster. Okay, with more problems, but faster.
I need a very fast data-transfer.
Anyway thanx!
JensG
04-10-2008 08:31 AM
Hi,
Using global variables in time-critical priority VIs in LabVIEW Real-Time can compromise determinism. A global variable is a shared resource. If one piece of code accesses a global variable, no other piece of code can access the global variable until the first piece releases the global variable. When you block the access of a time-critical VI to a global variable, forcing the time-critical VI to wait, you introduce jitter to the application and compromise the determinism of the application. You can avoid this behaviour by using a Functional Global, setting it to subroutine priority, and selecting the ‘Skip Subroutine Call if Busy’ option for it. With a Functional Global, the time-critical VI does not have to access the global if another section of code is already using the global. You avoid the delays caused by accessing standard global variables.