CRBasic Example 1: Measuring Settling Time
DataTable
(Settle,True,100)
Sample
(20,PT(),IEEE4)
EndTable
BeginProg
Scan
(1,Sec,3,0)
BrFull
(PT(1), 1,mV200,1,Vx1,1,2500,True,True, 100,15000,1.0,0)
BrFull
(PT(2), 1,mV200,1,Vx1,1,2500,True,True, 200,15000,1.0,0)
BrFull
(PT(3), 1,mV200,1,Vx1,1,2500,True,True, 300,15000,1.0,0)
BrFull
(PT(4), 1,mV200,1,Vx1,1,2500,True,True, 400,15000,1.0,0)
BrFull
(PT(5), 1,mV200,1,Vx1,1,2500,True,True, 500,15000,1.0,0)
BrFull
(PT(6), 1,mV200,1,Vx1,1,2500,True,True, 600,15000,1.0,0)
BrFull
(PT(7), 1,mV200,1,Vx1,1,2500,True,True, 700,15000,1.0,0)
BrFull
(PT(8), 1,mV200,1,Vx1,1,2500,True,True, 800,15000,1.0,0)
BrFull
(PT(9), 1,mV200,1,Vx1,1,2500,True,True, 900,15000,1.0,0)
BrFull
(PT(10),1,mV200,1,Vx1,1,2500,True,True,1000,15000,1.0,0)
BrFull
(PT(11),1,mV200,1,Vx1,1,2500,True,True,1100,15000,1.0,0)
BrFull
(PT(12),1,mV200,1,Vx1,1,2500,True,True,1200,15000,1.0,0)
BrFull
(PT(13),1,mV200,1,Vx1,1,2500,True,True,1300,15000,1.0,0)
BrFull
(PT(14),1,mV200,1,Vx1,1,2500,True,True,1400,15000,1.0,0)
BrFull
(PT(15),1,mV200,1,Vx1,1,2500,True,True,1500,15000,1.0,0)
BrFull
(PT(16),1,mV200,1,Vx1,1,2500,True,True,1600,15000,1.0,0)
BrFull
(PT(17),1,mV200,1,Vx1,1,2500,True,True,1700,15000,1.0,0)
BrFull
(PT(18),1,mV200,1,Vx1,1,2500,True,True,1800,15000,1.0,0)
BrFull
(PT(19),1,mV200,1,Vx1,1,2500,True,True,1900,15000,1.0,0)
BrFull
(PT(20),1,mV200,1,Vx1,1,2500,True,True,2000,15000,1.0,0)
CallTable
Settle
NextScan
EndProg
The first six measurements are shown in the following table:
Table 6-1: Example data from Measuring Settling Time Program
Timestamp
Record
Number
PT(1)
Smp
PT(2)
Smp
PT(3)
Smp
PT(4)
Smp
PT(5)
Smp
PT(6)
Smp
8/3/2017 23:34
0
0.03638599 0.03901386 0.04022673 0.04042887 0.04103531 0.04123745
8/3/2017 23:34
1
0.03658813 0.03921601 0.04002459 0.04042887 0.04103531
0.0414396
8/3/2017 23:34
2
0.03638599 0.03941815 0.04002459 0.04063102 0.04042887 0.04123745
8/3/2017 23:34
3
0.03658813 0.03941815 0.03982244 0.04042887 0.04103531 0.04103531
8/3/2017 23:34
4
0.03679027 0.03921601 0.04022673 0.04063102 0.04063102 0.04083316
Each trace in the following image contains all twenty
PT()
mV/V values (left axis) for a given
record number and an average value showing the measurements as percent of final reading
6. Measurements
55
Summary of Contents for CR1000X
Page 1: ...Revision 02 21 2019 Copyright 2000 2019 Campbell Scientific ...
Page 2: ......
Page 4: ......
Page 6: ......
Page 8: ......
Page 16: ...Appendix A Glossary 176 Appendix B Index 214 Table of Contents viii ...
Page 192: ......