Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

TextBox insert/append mode

Hello All,

 

I am trying to write a simple ASCII text Terminal  Program with Labview.

 

The Problem is:

Each time i write to the TextBox, the previous Text gets overwritten.

 

What i Want is:

Text is appended into the TextBox and you can Scroll with your ScrollBar.

 

anyone has an example for that simple terminal functionallity?

 

Cheers!!

0 Kudos
Message 1 of 4
(3,790 Views)

You posted to the instrument control board and this really belongs to the LabVIEW board.

 

All that you need to do is use a shift register and a concantanate string function.

 

Message Edited by Dennis Knutson on 09-02-2008 07:40 AM
0 Kudos
Message 2 of 4
(3,781 Views)

Perfect! Thanks.

 

Did the loop - job.  now the string gets bigger... and bigger....  and disappears at the bottom end of the screen.

The TextBox is not defaulting to autoscroll and keeps the first screenfull of data.

 

So where do we go from now?

 

There should be a sample vi for an ASCII Terminal Text Window!

0 Kudos
Message 3 of 4
(3,776 Views)
Autoscroll is not an option that you can default to. You have to program it. Create a property node of the text box and use Text>Scroll Position. You can use some arbitrary number to write. Make sure you update the property node only when you do a read and not continuously.
0 Kudos
Message 4 of 4
(3,774 Views)