当前位置:网站首页>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 !
边栏推荐
- Physical experiment simulation
- Analysis of FLV packaging
- DOM operation -- get elements and nodes
- Solve the error: could not find 'xxxtest‘
- Wechat sports field reservation of the finished works of the applet graduation project (7) mid-term inspection report
- Use pytest + allure to show the chart results (3)
- Canvas record
- The file in scanpy1.9.1 cannot be read in scanpy1.7.2. The problem is solved
- Ctfshow misc introduction
- Backtracking to solve combinatorial problems
猜你喜欢

Riotboard development board series notes (4) -- using Vpu hardware decoding

MySQL common function summary, very practical, often encountered in interviews

Publish the project online and don't want to open a port

Technical experts from large factories: Thoughts on cloud nativity and software supply chain security

List title of force buckle summary

How to take the mold for the picture of 1.54 inch TFT st7789 LCD screen

Study notes of filebeat

Mark down learning
![[jailhouse article] scheduling policies and system software architectures for mixed criticality](/img/cc/874f8436991fdeb3a0e87e526c1753.png)
[jailhouse article] scheduling policies and system software architectures for mixed criticality

Banana pie bpi-m5 toss record (2) -- compile u-boot
随机推荐
Beginners must see the markdown User Guide
Dynamic programming -- Digital DP
"Introduction to interface testing" punch in to learn day09: Micro service interface: how to use mock to solve chaotic call relationships
The file in scanpy1.9.1 cannot be read in scanpy1.7.2. The problem is solved
hello csdn
JS construct binary tree
Conceptual distinction between Po, Bo, VO, dto and POJO
Flink's study notes
Riotboard development board series notes (6) -- buildreoot building system image
Concurrent programming day01
Interview question -- event cycle
Riotboard development board series notes (V) -- porting u-boot
Execution methods with static code blocks and child and parent classes
If there is a segment in the encryption field, are you "bronze" or "King"?
List.stream common operations
Tp5.1 login configuration method of whether to login public functions (complete login case)
Wechat sports field reservation of the finished works of the applet graduation project (5) assignment
It7259q-13, it7259ex-24 feature wearable devices
Arduino IDE for raspberry PI Pico development firmware localization installation tutorial
Mark down learning