05-21-2010 03:21 PM
Hi, I'm using LabView RT on a PXI target, and ran into a problem. My target vi has multiple loops, only one of which is high priority. It acquires data and writes to an RT FIFO. Is there any way I can read this data in more than one of the other loops? That is, I want to read but not remove the data in those loops, kind of like Preview Queue Element works for queues - is there an RT FIFO equivalent?
Thanks in advance!
05-25-2010 06:59 PM
Hi drmase13,
Would it be possible to combine your low priority loops so that you could use an RT FIFO? That seems to be the most effective way of doing this. Could you post your code so that I can get a better idea of what is happening?
Thanks!
Chris S.
05-28-2010 07:24 AM
Hi Chris,
Sorry for the delayed response. I want to avoid combining my low priority loops into one. One of those loops is much more important than the others, so I'm planning to read the main RT FIFO there, and have it generate other RT FIFOs for use in the other less important loops.
Perhaps multiple RT FIFO readers isn't possible without making them shared resources and ultimately defeating their purpose?
Thanks,
Don
06-01-2010 02:15 PM
Don,
If it is not possible to combine them into one loop and use a state machine to execute your lower priority tasks then I think you could do it the way you suggested. In order to reduce your resource usage, try to combine the lowest priority loops so you limit your RT FIFOs usage.
If I understand your last question correctly, the RT FIFO readers will not be using shared resources as they will each be a seperate instance.
Cheers,
Chris