LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Vertical scroll bars update?

Rely on the SW to "ignore" different things is not that good, isn't it? Smiley Wink
Using LV8.0
--------------------------------------------------------------------
Don't be afraid to rate a good answer... 😉
--------------------------------------------------------------------
0 Kudos
Message 11 of 25
(1,785 Views)
Ok guys I have one more part that I am currently trying to figure out. I also have a text box that is displaying spam from a serial port that I am monitoring/testing. The last part was pretty simple. This one seems a little more involved. I can see on the property node of the text box where you would set the vertical scroll box position but is there a property I can read that tells the program when the box is ready to be scrolled?
0 Kudos
Message 12 of 25
(1,756 Views)


@Dennis Knutson wrote:
It's ignored.



No, it's not.  Not in 8.0, anyway. 

Error 1077 occurred at Property Node (arg 1) in
Vertical_Scroll_Bar_Update_mod.vi

Possible reason(s):

LabVIEW:  Invalid property value.

Property Name:
Index Values


It seems that it converts -12 to 4294967284.  Darn wraparound!

Message Edited by jasonhill on 12-01-2005 09:06 AM

0 Kudos
Message 13 of 25
(1,773 Views)
STRIKE!!! Smiley Very HappySmiley Very Happy
Using LV8.0
--------------------------------------------------------------------
Don't be afraid to rate a good answer... 😉
--------------------------------------------------------------------
0 Kudos
Message 14 of 25
(1,764 Views)
Damn, that's one feature in LV 8 I'm not too happy to see. Smiley Sad
0 Kudos
Message 15 of 25
(1,737 Views)
Can you read the NumRows property and compare it to the current index?
0 Kudos
Message 16 of 25
(1,735 Views)
Absolute value is your new best friend.

Crud. That wont work right either.  I don't like the "In Range? Coerce", because you have to specify an upper limit.  So many operations to get a proper select.  There does not seem to be an elegant solution.  Worse, upgrading from 7.x to 8.0 may cause buffer over-runs.  Robot tongue

Message Edited by jasonhill on 12-01-2005 09:27 AM

0 Kudos
Message 17 of 25
(1,736 Views)
There is not a numrows property for a text indicator that I can find anyway. If you know different let me know.
0 Kudos
Message 18 of 25
(1,726 Views)
I cannot think of any eligant way to do this.

If the lines are sufficeintly short, you could disable word wrap and count EOL and CRs. 

If there are no EOLs or CRs, you could just count characters.

If the spam is totally arbitrary.... ick.


0 Kudos
Message 19 of 25
(1,721 Views)
Well, you could specify +Infinity for the upper limit.
0 Kudos
Message 20 of 25
(1,719 Views)