LabVIEW Real-Time Idea Exchange

About LabVIEW Real-Time Idea Exchange

Have a LabVIEW Real-Time Idea?

  1. Does your idea apply to LabVIEW in general? Get the best feedback by posting it on the original LabVIEW Idea Exchange.
  2. Browse by label or search in the LabVIEW Real-Time Idea Exchange to see if your idea has previously been submitted. If your idea exists be sure to vote for the idea by giving it kudos to indicate your approval!
  3. If your idea has not been submitted click New Idea to submit a product idea to the LabVIEW Real-Time Idea Exchange. Be sure to submit a separate post for each idea.
  4. Watch as the community gives your idea kudos and adds their input.
  5. As NI R&D considers the idea, they will change the idea status.
  6. Give kudos to other ideas that you would like to see in a future version of LabVIEW Real-Time!
cancel
Showing results for 
Search instead for 
Did you mean: 
jarcTek

Allow RT FIFOs to be of type LV Class

Status: New

It would be very useful that RT FIFOs could be of type lvclass as long as the class' private members are of static types (perform the same check that is done for clusters when you try to use them as the type for RT FIFOs).

Javier Ruiz - Partner at JKI
jki.net
vipm.io
2 Comments
jarcTek
Member

What would be the best alternative, with the current LV RT tools, that would allow me to keep determinism and class abstraction at the same time?

Javier Ruiz - Partner at JKI
jki.net
vipm.io
crossrulz
Knight of NI

The problem I see here is you have children in the mix.  Each child has their own private data, which means a different memory footprint than the parent.  And you can have different children all with their own different private data, meaning different memory footprint.  And heaven forbid you have a child have an array in its private data, but it is loaded dynamically so you cannot really check it.

 

Your best bet would probably to use a normal queue.  You can load it up with as many elements as you would ever expect and then dequeue all of those elements.  Now you have the memory mostly allocated, which will boot your determinism.


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