当前位置:网站首页>Use of stm32cubemonitor Part II - historical data storage and network access
Use of stm32cubemonitor Part II - historical data storage and network access
2022-07-25 02:59:00 【ASWaterbenben】
The previous article has briefly explained STM32CubeMonitor How to configure and test data through historical data diagram and instrument panel , So what we need to do this time is to turn the detected data into CSV File store , As a data record . And realize network access in LAN .
One 、 Historical data storage
CSV I believe you are not unfamiliar with the format , Its format is relatively simple , adopt “,” Split data units , And fill the data units into the table , It can be understood that my data is
A,B,C
Save as CSV After the format file, the file becomes a table , The content is
| A | B | C |
|---|
Today's main purpose is to save the data prototype of the detection interface to a CSV In file , And use matlab Compare the drawing with the previous monitoring map .
First of all, take out the original configuration and code module made last time , Don't read my first part of blog clearly
STM32CubeMonitor Use of the first part - Data drawing and instrument display
In fact, the content of this time is relatively simple , The main thing is to learn how to use the left storage bar file function 
Same as the picture in the previous issue , But in the output position file function , Let's talk about it here file Set the question of
- file name : You need to set the absolute location of the file , To point to the exact path of the file
- Behavior : Divided into additional 、 make carbon copies 、 Delete three , This is handled as needed
- Line feed and create directory need to be checked , If you have handled the file problem, you can ignore
- Encoding: The encoding type , Output is CSV Keep the default file
- name : Set function name , It is convenient for later revision and understanding
After setting, click the upper right corner to complete .
Remember to click on the... Above after setting DEPLOY Deployment , The save location I set is my desktop , So first test a few data 
The empty location in the upper right corner is the storage location of the data file , Not yet , Click START ACQUISITION Then you can start writing data , In the corresponding position of the desktop data.csv file 
Now I'll give you a data.csv Screenshot of the file 
The data is the data in the graph and the displayed data in the historical graph . Now the data is saved .
Two 、 Configure network access
But every time the dry goods are lost, there is suspicion of water articles , So I need to update a little STM32CubeMonitor Display interface problem .
STM32CubeMonitor Deployed interfaces are not simply deployed on their own software , It's about putting your own computer IP Address a port as the interface , It can be accessed through the browser in the LAN , If the LAN has transparent transmission function, it can also be accessed remotely .
Premise is : The detector must be equipped with STM32CubeMonitor Keep it open
Address format is :
http://xxx.xxx.xxx.xxx ( Their own IP Address ):1880/ui
Because I'm lazy , Don't bother to check your own IP 了 , So enter directly in the browser http://127.0.0.1:1880/ui, The open interface is as follows 
Compared with STM32CubeMonitor Configuration diagram of , The result is exactly the same .
To confirm whether it can be accessed by LAN , I connected my LAN with a tablet , Fill in my... According to the address format IP And access , The results are as follows :
Screenshots of tablets are successful , There is no reason to doubt the authenticity of this function .
Sum up , Just keep STM32CubeMonitor For open state , The monitoring interface can be shared in the LAN , Realize multi person collaborative monitoring .
STM32CubeMonitor The operation is relatively simple , The difficulty is that there is no tutorial , So it will be difficult to use at first , Next, I will continue to watch mood updates , Brothers and sisters in need praise, pay attention to the comments and go for a wave !
边栏推荐
- Sequence diagram of UML diagram series
- Go language path is relative, but relative Import paths are not supported in module mode
- Work arrangement of generator set
- Go common standard library -time
- 6.0 cancellation of member registration verification code
- JS foundation -- data
- The file in scanpy1.9.1 cannot be read in scanpy1.7.2. The problem is solved
- Actual combat in ThreadLocal project
- Nuscenes data set summary
- Riotboard development board series notes (VII) -- the use of framebuffer
猜你喜欢

Keil compile download error: no algorithm found for: 08000000h - 08001233h solution

Rotating frame target detection mmrotate v0.3.1 training hrsc2016 data set (II)

Dc-1-practice

How to use blender to make 360 degree panorama and panoramic video?

Learning record 12

Experiment 4 CTF practice

JS construct binary tree

On Calc optimization of calcite

Preliminary foundation JVM

Eslint error
随机推荐
JS written test question -- browser kernel
Wechat sports field reservation of the finished works of the applet graduation project (7) mid-term inspection report
Riotboard development board series notes (VII) -- the use of framebuffer
Solve ''_ Xsrf 'argument missing from post
Hyperchain hyperblockchain Shi Xingguo was interviewed by 36 krypton: the amount of customer cooperation consulting is doubling
Vulntarget vulnerability shooting range -vulntarget-b
Keras load history H5 format model error: attributeerror 'STR' object has no attribute 'decode‘
Keil compile download error: no algorithm found for: 08000000h - 08001233h solution
Visualization of correlation coefficient matrix
Daily three questions 7.16
JS written test questions -- random numbers, array de duplication
"Introduction to interface testing" punch in to learn day07: websocket interface: how to test a completely unfamiliar protocol interface?
Matlab draws radar chart (four lines of code)
Resolve the error: org.apache.ibatis.binding.bindingexception
【C】 Advanced knowledge of file operation
How to switch terminators in PostgreSQL?
Beginners must see the markdown User Guide
Define macros in makefile and pass them to source code
Unity refers to a variable in another class (its own instance)
JS written test question -- promise, setTimeout, task queue comprehensive question