Software Description
2015 Microchip Technology Inc.
DS50002376A-page 37
The power calculation using the V
POWER
Result registers value from
is
shown in
EQUATION 4-2:
POWER CALCULATION
4.3.3.1
CONFIGURATION SAVE AND LOAD
The
Calculations/File IO
tab contains controls, as shown in
, which save the
settings currently configured in the PAC1921 to allow quick reconfiguration at any time.
FIGURE 4-16:
Save/Load Section.
To save configuration settings, configure the PAC1921 as desired, then display the
Calculations/File IO
tab. The “FF Reg File Path” box defaults to where the GUI soft-
ware is installed. To change the location, type in a path, or click the folder icon to use
a Windows
®
system-based navigation aid to select the folder where the configuration
file will be saved. The file should be named with the
.txt
extension or similar text file
format. Once a file name and location have been chosen, click the
Save
switch, and
the file is saved.
The data is saved in two columns, separated by tabs. The first column is the register
address and the second column is the register data.
Once a file is saved, it can be recalled at any time by selecting the file in the “FF Reg
File Path” box and clicking the
Load
switch.
Click the
Chip Defaults
switch or press the <F6> function key on the keyboard to
reload register defaults on the PAC1921.
0.1V
1
1
-----------------
32V
1
----------
1023
----------------------------------
42
0.13138W
=
Where:
0.1V
=
Maximum V
SENSE
voltage
1
=
Value of R
SENSE
resistor
1
=
Digital current gain
32V/1
=
Maximum voltage
1023
=
10-bit FSR
42
=
Decimal value of V
POWER
Result Registers 1Dh and 1Eh
Note:
If a file with the same name already exists, the file will be overwritten
without warning and old data will be lost.