Diameter Monitoring in InfluxDB
For advanced data monitoring we pair Filament Maker TWO with Influx DB. This article details a helpful tip on how to monitor the filament diameter.
Our Filament Maker TWO no longer uses Devovision - instead your extrusion process is monitored through Influx. With the introduction of a new software some features you might be familiar with for the Filament Maker ONE look different. For instance, if you wish to monitor the diameter of the filament throughout extrusion you need to add this feature manually by following the steps outlined in this article.
Adding a Line in Influx for Diameter Monitoring
- Login into Influx
- Locate the graph showing the diameter of the filament (see screenshot below)
- Navigate to the upper right corner of this graph and click “Configure”.
- You should now see the screen shown below:
- On the left side of the screen you can see several tabs where you can select what you wish to display on the graph. A zoomed-in image of this is below:
- On the right hand on the screen you should navigate to the button “SCRIPT EDITOR” to change the view
- Now you will see the script that was created by Influx by using the checkboxes outlined in step 5. Click the + button (indicated by red box)
- You will need to create separate queries for each line you want to display. So, for instance if you want to display a line acting as the upper and the lower limit for the filament diameter you will have to create two queries.
- Once you create a new query, copy and paste the following script:
from (bucket: "FM2")
|> range(start: v.timeRangeStart, stop: v.timeRangeStop)
|> filter(fn: (r) => r["_measurement"] == "filament")
|> filter(fn: (r) => r["_field"] == "diameter")
|> filter(fn: (r) => r["view"] == "average")
|> map(fn: (r) => ({ r with _value: 1.70, _field: "max_threshold" }))
|> yield(name: "diameter_lower_range")
10. Change the value highlighted in red to the value you wish to display.
11. Click SUBMIT.
Now the lines should be visible in your diameter graph.
Want to learn more about the capabilities of Influx DB? Visit our dedicated page here.