Based upon a screen test, I assume that histograms and bargraphs can not be use in the same screen? I tried to take CPU_usage_bargraph screen and add a histogram on line 4. The histogram displays fine, but the bargraph does not display correctly. The code:
[pre]
rows=4
cols=20
[from00]
from="cc2_perfmon.ini"
sec="perf#"
opt01="id=@01"
opt02="full_name=\Processor(_Total)\% Processor Time"
opt03="precision=0"
opt04="multiplier=1"
[from01]
from="cc2_hbar.ini"
sec="bar#"
opt01="id=@02"
opt02="options=2"
opt03="length=20"
opt04="start_type=2"
opt05="start=0"
opt06="pos_type=1"
opt07="pos=@01"
opt08="end_type=2"
opt09="end=100"
opt10="full_char_num=0"
opt11="full_line1=63"
opt12="full_line2=63"
opt13="full_line3=63"
opt14="full_line4=63"
opt15="full_line5=63"
opt16="full_line6=63"
opt17="full_line7=63"
opt18="full_line8=63"
opt19="empty_char_num=1"
opt20="empty_line1=0"
opt21="empty_line2=42"
opt22="empty_line3=0"
opt23="empty_line4=0"
opt24="empty_line5=0"
opt25="empty_line6=0"
opt26="empty_line7=42"
opt27="empty_line8=0"
opt28="int_char_num=2"
[from02]
from="cc2_histogram.ini"
sec="graph#"
opt01="id_data=@01"
opt02="width=20"
opt03="height=2"
opt04="id3=@"
opt05="id2=@"
opt06="id1=@05"
opt07="id0=@06"
opt08="scroll_speed=1500"
opt09="graph_min=0"
opt10="graph_max=100"
opt11=id_gmin=@"
opt12="id_gmax=@"
[screen]
screen_name="jc_CPU Usage Bargraph-Histogram"
options=0
alt_delay=5000
[r00]
options=5
[r00-i00]
length=11
options=0
string="CPU"
[r00-i01]
id=3206762360
[r00-i02]
length=4
options=1
string=" MHz"
[r01]
options=5
[r01-i00]
length=15
options=0
string="Usage: "
[r01-i01]
id=@01
options=1
length=3
[r01-i02]
string="%"
[r02]
options=0
[r02-i00]
id=@02
[r03]
options=0
[r03-i00]
id=@06
Perhaps just a syntax error, but feedback would be appreciated.
Jim
[pre]
rows=4
cols=20
[from00]
from="cc2_perfmon.ini"
sec="perf#"
opt01="id=@01"
opt02="full_name=\Processor(_Total)\% Processor Time"
opt03="precision=0"
opt04="multiplier=1"
[from01]
from="cc2_hbar.ini"
sec="bar#"
opt01="id=@02"
opt02="options=2"
opt03="length=20"
opt04="start_type=2"
opt05="start=0"
opt06="pos_type=1"
opt07="pos=@01"
opt08="end_type=2"
opt09="end=100"
opt10="full_char_num=0"
opt11="full_line1=63"
opt12="full_line2=63"
opt13="full_line3=63"
opt14="full_line4=63"
opt15="full_line5=63"
opt16="full_line6=63"
opt17="full_line7=63"
opt18="full_line8=63"
opt19="empty_char_num=1"
opt20="empty_line1=0"
opt21="empty_line2=42"
opt22="empty_line3=0"
opt23="empty_line4=0"
opt24="empty_line5=0"
opt25="empty_line6=0"
opt26="empty_line7=42"
opt27="empty_line8=0"
opt28="int_char_num=2"
[from02]
from="cc2_histogram.ini"
sec="graph#"
opt01="id_data=@01"
opt02="width=20"
opt03="height=2"
opt04="id3=@"
opt05="id2=@"
opt06="id1=@05"
opt07="id0=@06"
opt08="scroll_speed=1500"
opt09="graph_min=0"
opt10="graph_max=100"
opt11=id_gmin=@"
opt12="id_gmax=@"
[screen]
screen_name="jc_CPU Usage Bargraph-Histogram"
options=0
alt_delay=5000
[r00]
options=5
[r00-i00]
length=11
options=0
string="CPU"
[r00-i01]
id=3206762360
[r00-i02]
length=4
options=1
string=" MHz"
[r01]
options=5
[r01-i00]
length=15
options=0
string="Usage: "
[r01-i01]
id=@01
options=1
length=3
[r01-i02]
string="%"
[r02]
options=0
[r02-i00]
id=@02
[r03]
options=0
[r03-i00]
id=@06
Perhaps just a syntax error, but feedback would be appreciated.
Jim
Looking for additional LCD resources? Check out our LCD blog for the latest developments in LCD technology.