PZ-TIO Manual
Version 1.01
© 2022 XIA LLC
41
11 Software Information
The PZ-TIO software consists of a number of C routines located in /var/www. They include
the API functions listed in section 4, plus a number of support code files for reading
parameters from the settings file or utilities for I2C I/O. All code is provided as open
source; users are free to modify and expand the functions. XIA appreciates feedback and
new ideas.
Experienced programmers will find it relatively straightforward to understand the code (we
hope). Below we point out a number of concepts for general guidance
11.1.1 File structure
1.
C and H files
Besides the C programs listed in section 4,
the files “PixieNetCommon.c/h” include I2C
subroutines, functions to read temperature,
and a function to write status registers to file
or standard output (for webpages). The files
“PixieNetConfig.cpp/h” include the
definitions of the parameters in the settings
file. PixieNetDefs.h defines global constants.
2.
HTML, JS and JPG files
These files are the webpages, or contain the
scripts and pictures for the webpages (tables
and plots).
3.
webopspasswords
is a test file containing the password for the
operation through the webpages, not
currently implemented
4.
makefile
defines the compile options for the C
programs. Type
make
to compile.
5.
RS.csv
output of the status registers
6.
CGI files
Executable for webpage
7.
[no extension]
Executables for command line