LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

A for-loop to iterate over ring

Solved!
Go to solution

@paul_a_cardinale wrote:

@maxnoder1995 wrote:

If your ring is strictly typedef'd, you could use Data Type Parsing to find the path to the typedef, then extract the strings and values from there.


Can you show me an example? I don't see how this can be done.


Here.

One very important caveat: If you make changes to a strict typedef of a ring, then apply those changes, by default, the changes will only be applied to controls and indicators, not to constants.  However there is an undocumented property of ring constants called "Act as Strict Typdef Constant" which, when set, will have applied changes propagate to that constant.  I have set that property to TRUE in the constant in "My Ring Item Iterator.vi".


I believe that if you change the data type of the typedef'd ring, the BD constants update as well.  e.g., changing from u16 to u32, applying, then changing back to u16 and applying.

Bill
CLD
(Mid-Level minion.)
My support system ensures that I don't look totally incompetent.
Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.
Humble author of the CLAD Nugget.
Message 11 of 11
(82 Views)