08-20-2009 08:37 PM
I need to display test output in a string indicator, I can see the test output
in a string indicator, but it just dumps all the text output at the end of test.
I want the text to scroll display as more is appended.
Basically I want to see the real time text output as soon as it is available.
I saw following reply from one of the similar topic.
If this is the way, can someone explain further?
Basically I do not how I can set this attribute mode for my string indicator!!
"If you want the text to scroll as more is
appended, use the string indicator attribute node to set the scroll
position"
Thanks,
Do
Solved! Go to Solution.
08-20-2009 08:44 PM
Attribute nodes are obsolete. What version of LabVIEW are you using?
Current versions of LabVIEW use property nodes and the property is Text.ScrollPostion. Set it to some large number. You could also simply reverse the string concantenation and place the last string at the beginning.
I'm assuming that you are building the string with a shift register. Your indicator should be inside the loop to display the text as it is acquired.
08-20-2009 11:08 PM
Hi,
I am using LabView 8.6.1.
So I think I understood most of your comments.
By the way, do I have use the shift register in order to display the text stream?
If not, what is the advantage of using shift register?
Again, thank you very much for your information.
Do
08-20-2009 11:13 PM
08-21-2009 11:27 AM
Hi Dennis,
My code got somewhat big, so do not think I can share with you.
Instead I created small testcase and attached to this post.
Basically I want to accomplish following things.
1. Every time I run the test, I want to see my text output stream to be updated as it come out.
2. The scroll bar always should stay with latest output which means it should stay at the bottom
of the indicator display.
3. If I have a nested For loop or Case, how do I propergate the text stream from nested loop to outter
so that I can display it as it comes out.
I hope you see my points.
Thank you in advance,
Do
08-21-2009 11:43 AM - edited 08-21-2009 11:44 AM
08-21-2009 12:24 PM
Hi Dennis,
This is exactly how I want to see the output on the display.
Thank you very much.
So basically for the nested loops I need to have a shift register linked between nested loops
and the string indicator should resides in lowest nested loop.
Is this correct observation?
Do
08-21-2009 12:31 PM
08-21-2009 12:57 PM
Dennis,
Sorry, but I do have one more question.
How do I link the shift register within subVI?
Thanks,
Do
08-21-2009 02:40 PM
Use a reference, action engine, global variable, shared variable, pop up the subVI and not worry about the main.
All valid and discussed in many other threads. Just do a search for 'subVI update main'.