LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with string control..

hi,

   Im using a string control to display some contents continously by reading from a file and displaying it. Its purpose is similar to a hyperterminal which will continously say which test is currently running. Now what happens is every time the data is appended it blinks i don want this to happen.  Can anyone help me in this issue.

 

 

Thanks

Jay

0 Kudos
Message 1 of 13
(3,675 Views)
Can you attch the vi you are working on?
0 Kudos
Message 2 of 13
(3,668 Views)

Hello... 🙂

 

Are you reading the same string again & again or something different each time...? Please explain with example like what you are reading each time from the file... 🙂

0 Kudos
Message 3 of 13
(3,638 Views)

hi,

   its an application wherein ill write the report of a test every time its done in a text file and print that text in a string control by reading from that file to give a hyper terminal feel in my application.

 

Regards

Jay

0 Kudos
Message 4 of 13
(3,622 Views)
i can't reproduce it. Can you provide some more details about the control you are using, the string you display (maybe a screenshot) and typical update rates? What exactly do you mean with "blinking"?
Best regards
chris

CL(A)Dly bending G-Force with LabVIEW

famous last words: "oh my god, it is full of stars!"
0 Kudos
Message 5 of 13
(3,605 Views)
I believe the "blinking" that the poster is referring to is the momentary flashing that seems to occur when the control is being redrawn due to the scrollbar position being programmatically moved. This is expected behavior (at least in my opinion). If you do not programmatically move the scrollbar to the end, then there is no "blinking".
Message Edited by smercurio_fc on 10-10-2008 09:25 AM
0 Kudos
Message 6 of 13
(3,603 Views)

 

This is the point: i tried it and there is no "blinking" of the text area, just the scrollbar has a slight flickering until the text area is full, after that all is perfectly smooth (LV 7.1, modern string indicator)

Best regards
chris

CL(A)Dly bending G-Force with LabVIEW

famous last words: "oh my god, it is full of stars!"
0 Kudos
Message 7 of 13
(3,598 Views)

I see it with this:

 

True, it's dependent on the update rate, but it's still visible even at a "slow" rate of 150 msec.

0 Kudos
Message 8 of 13
(3,593 Views)

try to place the LF in FRONT of the text..

 

That's what i did in my test. Then it seems to get better.

Best regards
chris

CL(A)Dly bending G-Force with LabVIEW

famous last words: "oh my god, it is full of stars!"
0 Kudos
Message 9 of 13
(3,589 Views)
Oh yes, and make sur eto first write the output an THEN to set the scroll position. See attachment.
Best regards
chris

CL(A)Dly bending G-Force with LabVIEW

famous last words: "oh my god, it is full of stars!"
0 Kudos
Message 10 of 13
(3,586 Views)