serial protocol of UDB 1200 sygnal generator
[UDB-1200-serial] / README
1 UBD 1200 serial portocol
2
3 57600 8n1
4
5 Imput commands terminated by LF
6
7 You can replace leading zeros with spaces, but it's important to send correct number of chars!
8
9
10 # model
11 a
12 UDB1210S
13
14 # set duty cycle
15 bd49
16
17 bd00
18 bd99
19
20 # frequency
21 bf   100000
22 ok
23
24 bf        0
25 bf100000000
26
27 # amplitude
28 ba000
29 ba255
30
31 # duty cycle
32 bd00
33 bd99
34
35 # decimal point
36 bu-1
37 bu0
38 bu1 - bu9
39
40 # wave
41 bw0     sine
42 bw1     triangle
43 bw2     square
44
45 # save
46 bs0
47 bs9
48
49 # load
50 bl0
51 bl9
52
53 # time
54 bt00
55 bt99
56
57 # sweep
58 br0     stop
59 br1     start
60
61
62
63
64
65 FUNC
66
67 # amplitude
68 ca
69 ca000000255
70
71 # ADC
72 cb
73 cb000000000
74 cb000001347     1.347V
75
76 # counter
77 cc
78 cc000005044
79
80 # duity
81 cd
82 cd000000050     50%
83
84 # external frequency
85 ce
86 ce000001000     1.000kHz
87
88 # return current frequency
89 cf
90 cf100000000     10000 kHz
91
92
93