Comments (6)
I am running that example as I type this response. I can confirm it does work. I am running the latest version of daqhats software.
To launch the app using the terminal from the web_server folder, I enter:
python3 ./web_server.py
Please try that.
Also the last line of the terminal screen shows the IP address you should used.
from daqhats.
Thank you very much for the reply, even I have all the most updated versions, or at least I think so. However, when running:
python3 ./web_server.py
The RPi returns:
Traceback (most recent call last): File "./web_server.py", line 25, in <module> from dash import Dash ModuleNotFoundError: No module named 'dash'
from daqhats.
According to the traceback, you do not have dash installed.
open a terminal and enter
pip install dash
also, launching your browser and surfing to http://IP_ADRESS:8080
did not work for me, and is not in the instructions provided with the example.
you are to navigate to the http://<host>:8080
where you replace <host>\ with the IP address shown on the terminal when you launch web_server.py (for an example please see my last).
from daqhats.
Hi, sorry for not having answered before. Of course, before running the commands I have already installed Dash with pip install dash
but running python3 ./web_server.py
it returns the error reported above. While simply with ./web_server.py
it does start up but nothing loads at http://:8080.
Yeah, I meant: http://:8080 the one printed in the terminal.
Maybe is that I'm surfing to it from another pc and not directly from the RPi as you? It seems weird since I would like to access to it from remote...
from daqhats.
Since you are using Python 3, did you install DASH with pip3:
pip3 install dash
please try that.
from daqhats.
Thank you very much, it worked!
Have a nice day
from daqhats.
Related Issues (20)
- Can't select address of the stacked devices HOT 5
- mcc172 continuous acquisition HOT 1
- mcc118 hangs on a_in_scan_start and then returns HatError -3 HOT 1
- Support Ubuntu Server 20.04 LTS for raspberry pi 4B+ HOT 1
- Support MCC 172 and MyPI setup HOT 2
- MCC152 Default DIO state should be High-Z, not pull-up HOT 13
- Reading more DAQ HATs than are Present
- sample rate issue HOT 10
- document buffer layout when sampling 1 or both channels HOT 2
- MCC134 ADC Init - confusing code HOT 8
- MCC152 interrupt callback registration failed due to missing permission for GPIO modification/access HOT 2
- Is the MCU programable via Atmel ICE HOT 2
- MCC 172 Can't open device, after X successful reads HOT 4
- Issues when downloading with Docker HOT 2
- MCC 172 DAQ HAT cannot be detected HOT 1
- MCC 172 Recording HOT 2
- MCC172 examples C data_logger HOT 5
- phantom voltage spikes in buffer mcc118 HOT 2
- I can not save data to log file when using 2 mcc172 with 4 sensor HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from daqhats.