6 Software development
# Close the port so that other programs can use the SQM
$
port->close;
# Print the SQM result to the screen
printf("%s",
$
saw);
The above program prints a result like this:
r,-09.42m,0000005915Hz,0000000000c,0000000.000s, 027.0C
6.2 Pascal
The UDM program contains many examples of finding the SQM devices and reading data from them. It is open source
and written in Lazarus/FreePascal. The source files for UDM are available here:
unihedron.com/projects/darksky/cd/udm/ .
24
Unihedron SQM-LU-DL Operator’s Manual -
20220119
Summary of Contents for SQM-LU-DL
Page 2: ......
Page 17: ...17...
Page 19: ...Figure 4 1 Front and back of of unit Unihedron SQM LU DL Operator s Manual 20220119 19...