Beijer Electronics (formerly QSI Corporation)

Manufacturer of Mobile Data and Human Machine Interface Terminals.
It is currently Mon Nov 20, 2017 2:15 am

All times are UTC - 7 hours




Post new topic Reply to topic  [ 8 posts ] 
Author Message
PostPosted: Wed Jun 01, 2011 12:42 pm 
Offline

Joined: Mon Mar 21, 2011 2:40 pm
Posts: 22
I have been using TimescaleV2 as the time-axis label for TrendchartV2 on a Qterm-G72 and Qlarity 2.63. I am having trouble with how the labels are rendered under very spefic format settings and specific times when I use bdf or ttf fonts that are larger than 10pts. Under conditions listed below, the label seems to extend into a 2-line format, where much of is chopped.

When using
mm:ss format, problem when minutes in the 40's
mm format, problem when minutes in 20's or 40's, but not 21 and not 41
ss format, problem when seconds in 20's or 40's, but not 21 and not 41

The problems seems not to occur when displayAM/PM is true.

Please help (I would like very much to use larger fonts since small fonts are nearly unreadable in high-resoultion screen).


Attachments:
File comment: Attached workspace shows both rendering and jittering decimal placement problems
timescalerendering.qly [17.95 KiB]
Downloaded 139 times


Last edited by HmiBuilder on Wed Jun 01, 2011 2:53 pm, edited 1 time in total.
Top
 Profile  
 
PostPosted: Wed Jun 01, 2011 1:17 pm 
Offline
User avatar

Joined: Thu Mar 02, 2006 2:12 pm
Posts: 487
Location: Salt Lake City, Utah
Can you attach a sample workspace demonstrating this problem.

_________________
Ron L.

http://www.beijerelectronicsinc.com/


Top
 Profile  
 
PostPosted: Wed Jun 01, 2011 2:57 pm 
Offline

Joined: Mon Mar 21, 2011 2:40 pm
Posts: 22
Now attached to my original is workspace showing timescale rendering problem. NOTE: I have not tested to see if this occurs on the hardware display, only in simulation.

Also, the home page shows the jittering decimal point problem even when using BDF font. I also show that when using a suffix, the problem does not exist. I could work around the jittering by adding a suffix of " ", but it seems the object strips spaces at end before displaying. It does not strip leading spaces, as in the case of using " " as a prefix.


Top
 Profile  
 
PostPosted: Wed Jun 01, 2011 3:02 pm 
Offline
User avatar

Joined: Thu Mar 02, 2006 2:12 pm
Posts: 487
Location: Salt Lake City, Utah
For the jittering, you might see that reduced by using an "xjustify" of "hjustify_rightalign" instead of "hjustify_right".

_________________
Ron L.

http://www.beijerelectronicsinc.com/


Top
 Profile  
 
PostPosted: Wed Jun 01, 2011 3:10 pm 
Offline
User avatar

Joined: Thu Mar 02, 2006 2:12 pm
Posts: 487
Location: Salt Lake City, Utah
I'm having trouble reproducing the problem. Are you using Qlarity Foundry 2.63?

Attachment:
timescale_test.JPG
timescale_test.JPG [ 107.68 KiB | Viewed 1752 times ]

_________________
Ron L.

http://www.beijerelectronicsinc.com/


Top
 Profile  
 
PostPosted: Wed Jun 01, 2011 3:49 pm 
Offline

Joined: Mon Mar 21, 2011 2:40 pm
Posts: 22
Yes, Qlarity 2.63. Be sure to check while minutes (as opposed to seconds) are in the 40's if using mm:ss format. I had to sit there and adjust my PC clock on the fly to speed up testing. Or, use ss (seconds only) format and wait until 20's or 40's are reached.

Also, I have not tried or tested this in the Qterm-72G hardware.


Top
 Profile  
 
PostPosted: Thu Jun 02, 2011 9:43 am 
Offline
User avatar

Joined: Thu Mar 02, 2006 2:12 pm
Posts: 487
Location: Salt Lake City, Utah
I believe I've got that issue fixed. Do you want to try out the attached library? Create a backup copy of the old Basic.qlib and unzip the attached file replacing the existing Basic.qlib.

You can find Basic.qlib in the directory where you installed Qlarity Foundry.


Attachments:
File comment: Includes a post Qlarty 2.63 Basic.qlib file
Basic.zip [753.92 KiB]
Downloaded 141 times

_________________
Ron L.

http://www.beijerelectronicsinc.com/
Top
 Profile  
 
PostPosted: Thu Jun 02, 2011 12:01 pm 
Offline

Joined: Mon Mar 21, 2011 2:40 pm
Posts: 22
The fix worked great. Thank you.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 8 posts ] 

All times are UTC - 7 hours


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group