项目

一般

简介

倾斜传感器demo.txt

杜 小栋, 2022-11-14 17:18

 
1

    
2
[root@OM-A6-T300:NandFlash]# ./omDemo1 4884 21 0 0 0 RS485-1:9600,n,8,1
3
VIDIOC_QUERYCAPno captureno streamingMemTotal:         248284 kB
4
MemFree:          203780 kB
5
MemAvailable:     219916 kB
6
Buffers:               0 kB
7
!!!MemVsz 0: 4876 KB
8
SIGRTMAX-1= 63
9
SerManager new: aa4710
10
!!!MemVsz change: 128 KB
11
!!!MemVsz change: 4916 KB
12
!!!MemVsz change: 1248 KB
13

    
14
SMxxx: Type=4884  Addr=21  Port=0  Tag1=0  Ext1=0
15

    
16
SerDef=RS485-1:9600,n,8,1 Type=4884
17
CSMModbus::UpdLoad  d=2  50ms  tout=300  DataByte=0
18
testSM SM=aa73a8
19
CSerCom InitCom: aa7788  1
20
CSerCom UpdParams: ComPort: RS485-1, 0, 0
21
CSerCom::Open: /dev/RS485-1,9600,8,N,0
22
set serial done+!
23
RS485-1:9600,n,8,1[100001] open ok!
24
VIDIOC_QUERYCAPno captureno streamingMemTotal:         248284 kB
25
MemFree:          203472 kB
26
MemAvailable:     219608 kB
27
Buffers:               0 kB
28
start SMxxx->DataGet ...
29
regs1
30
regs2
31
regs3
32
0=2
33
SEND: 15 03 00 00 00 02 C7 1F
34
RECV: 15 03 04 FF 8C 00 3C 5F DC
35
ircv=9
36
SMModbus.cpp SetDate2Sec_Vals 1104 ssec=regs3 iFunc=3 idat=3 icnt=2 ireg=0
37
regs4
38
t=4884  iaddr=21  iext=0
39
40001=-116
40
40002=60
41
brief=X▒▒: -1.2 ,Y▒▒: 0.6
42
testSM-0001 17:16:03  RS485-1:9600,n,8,1
43
regs1
44
regs2
45
regs3
46
0=2
47
SEND: 15 03 00 00 00 02 C7 1F
48
RECV: 15 03 04 FF 8D 00 3C 0E 1C
49
ircv=9
50
SMModbus.cpp SetDate2Sec_Vals 1104 ssec=regs3 iFunc=3 idat=3 icnt=2 ireg=0
51
regs4
52
t=4884  iaddr=21  iext=0
53
40001=-115
54
40002=60
55
brief=X▒▒: -1.2 ,Y▒▒: 0.6