LabVIEW Idea Exchange

About LabVIEW Idea Exchange

Have a LabVIEW Idea?

  1. Browse by label or search in the LabVIEW 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!
  2. If your idea has not been submitted click Post New Idea to submit a product idea to the LabVIEW Idea Exchange. Be sure to submit a separate post for each idea.
  3. Watch as the community gives your idea kudos and adds their input.
  4. As NI R&D considers the idea, they will change the idea status.
  5. Give kudos to other ideas that you would like to see in a future version of LabVIEW!
cancel
Showing results for 
Search instead for 
Did you mean: 
Mark_Yedinak

Add a property to String indicators to limit the amount of data in the indicator

Status: Declined

Any idea that has received less than 6 kudos within 6 years after posting will be automatically declined.

Along with this idea it would be useful if we could set a maximum string size for string indicators. We can programmatically do this now but looking at the string length every time new data is appended to the string indicator's value however it would be convenient if we could simply set a maximum string length and have LabVIEW limit the size for us. Conceptually this can be thought of as similar to a lossy queue. As new data is appended old data will be deleted. The string indicator would never get larger than the set maximum. This would be useful for log or status type indicators on applications that are running for very long periods.



Mark Yedinak
Certified LabVIEW Architect
LabVIEW Champion

"Does anyone know where the love of God goes when the waves turn the minutes to hours?"
Wreck of the Edmund Fitzgerald - Gordon Lightfoot
2 Comments
tst
Knight of NI Knight of NI
Knight of NI

I don't think this is something which is correct to add to the string control, at least not for this use case. The reason is that today you can't append to a string - you have to get the data in the string and then rewrite all the data along with the new data. If that's the use case, then it might as well be done using a subVI or an XControl.


___________________
Try to take over the world!
Darren
Proven Zealot
Status changed to: Declined

Any idea that has received less than 6 kudos within 6 years after posting will be automatically declined.

DNatt, NI