The program should find your SQM device and the data adquisition.will start (if it's night-time).
The program should find your SQM device and the data adquisition will start (if it's night-time).
In some systems, where python3 is the default version of python, you need to specify python2 as the interpreter to use. This is done usually running it as:
```
python2 -m pysqm
```
or
```
python2.7 -m pysqm
```
Note: running the setup.py script is neither tested nor required. The program is currently being redesigned as a normal python package, but at present no setup is required.
Note: running the setup.py script is neither tested nor required. The program is currently being redesigned as a normal python package, but at present no setup is required.
...
@@ -65,22 +53,27 @@ After that, the program begins data acdquisition. In each iteration, it checks w
...
@@ -65,22 +53,27 @@ After that, the program begins data acdquisition. In each iteration, it checks w
Each N measurements, the main program calls a plotting function to generate a graphical representation of the current nightly data.
Each N measurements, the main program calls a plotting function to generate a graphical representation of the current nightly data.
### PySQM known issues
### PySQM known issues
Non-ASCII characters are not supported in the config.py file. Please, avoid using 'ñ', accented vowels, etc.
Non-ASCII characters are not supported in the config.py file. Please, avoid using 'ñ', accented vowels, etc.
In headless systems, such as the Raspberry PI, if you run the program without X, you may suffer from the following fatal error when the program tries to generate the plot:
In headless systems, such as the Raspberry PI, if you run the program without X, you may suffer from the following fatal error when the program tries to generate the plot:
> This application failed to start because it could not find or load the Qt platform plugin “xcb”.