﻿1
00:00:00,760 --> 00:00:06,660
OK so our last ladder is Ladder 9 that's labeled display.

2
00:00:07,050 --> 00:00:11,200
And this is going to be a very short and sweet lecture.

3
00:00:11,220 --> 00:00:12,690
So enjoy it.

4
00:00:12,690 --> 00:00:20,400
What we're doing here is we're looking at in the 7 9 and when we look at the description of that that's

5
00:00:20,400 --> 00:00:28,890
our heater C.V our heater control variable that is the output of our Ph.D. that's being sent to our

6
00:00:28,890 --> 00:00:31,440
heater to tell it how much to heat up.

7
00:00:31,500 --> 00:00:37,740
And we know there are Ph.D. outputs on a range of 0 to 16 383.

8
00:00:37,740 --> 00:00:46,020
However we would like to be able to show the operator on the h in my Exactly what percentage of heat

9
00:00:46,410 --> 00:00:48,270
the heater is generating.

10
00:00:48,300 --> 00:00:54,890
Is it at 100 percent of its output or is it at 50 percent of its output.

11
00:00:54,900 --> 00:01:04,560
So all we're doing here is we're rescaling RPI the C.V control variable from a scale of 0 to 16 383

12
00:01:04,650 --> 00:01:12,430
to a scale of 0 to 100 and we're saving that at a location in 710 which is an integer.

13
00:01:12,510 --> 00:01:17,830
And if we look that doesn't appear anywhere else in the program only here.

14
00:01:18,000 --> 00:01:24,600
And the reason for that is it's not for use in the program it's only for use on a display or like the

15
00:01:24,620 --> 00:01:27,370
HDMI or a host control system.

16
00:01:27,660 --> 00:01:36,450
So if we want to show on the HDMI how much of a percentage of the output of the heater are we currently

17
00:01:36,450 --> 00:01:44,760
using We're going to reference in 17 while the actual Ph.D. might be outputting and then sending a signal

18
00:01:44,760 --> 00:01:52,770
to the heater of twelve thousand five hundred forty two that number is really meaningless to an operator

19
00:01:53,010 --> 00:02:01,410
an operator is going to think in terms of 100 percent or 0 percent 50 percent 25 percent they can understand

20
00:02:01,410 --> 00:02:01,740
that.

21
00:02:01,770 --> 00:02:08,310
So we're going to give them something familiar We're going to scale that CV to zero to 100 and we're

22
00:02:08,310 --> 00:02:13,420
going to go ahead and put that in front of their faces so they know how hard their heater is working

23
00:02:13,430 --> 00:02:13,800
.


