Yes, RT can be tricky w/memory management worries.
Your method uses local variables, another no-no in RT.
I am now using a case structure (tests value>10) in my communication loop (not time-critical) with two property nodes, format str=%.0f (true) and format str=%.1f (false)
But I am still interested in conditional formatting within the format specifier string. This practice is common in pgms like MS Excel, in which you can format font color based on value (black for positive, red for negative) directly in the specifier.
But I don't think this is available in LabVIEW. To where do we make suggestions for future program improvements?
__________________________________
Laine