HyQuest Solutions Pty. Ltd.
Current Meter Counter – Model: PVD200
© Copyright
- 20 - Issue 1.03 August 2018
Appendix A Capturing a Spin Test
The spin test function allows the user to perform a simple spin test of the meter. The
PVD200 ou tputs a character string represen ting the meter cou nt and elapse t ime. Whenever
the ‘spin test’ measurement begins, the PVD200 will output through the serial data port a
character string at every contact closure. This character string is of the following format:
nxxx,tttt[cr][lf]
n = preamble for indicating contact closure data
xxx = number of meter contact closures, transmitted in decimal
(i.e. 001, 002, 003, etc)
, = delimiter
tttt = counts of elapse time measured as 0.00666 second counts
(150 Hz), transmitted in HEX ASCII (i.e. 0-9,A-F)
[cr] = carriage return (ASCII ‘0D’)
[lf] = line feed (ASCII ‘0A’)
At the end of the spin test, the PVD200 sends a final data string that displays the total number
of counts and total time all shown in decimal notation. This format makes it easy to copy the
final total number of counts and total elapse time information onto a form. Total time is
given in seconds and displays the time to a tenth of a second. The format is shown below.
dxxx,ttt.t[cr][lf]
d = preamble for indicating spin measurement data in decimal
xxx = number of meter contact closures, transmitted in decimal
(i.e. 001, 002, 003, etc)
, = delimiter
ttt.t = total seconds of elapse time displayed to a tenth of a second
[cr] = carriage return (ASCII ‘0D’)
[lf] = line feed (ASCII ‘0A’)
Shown below is an example of both formats, as they would be displayed using the
HyperTerminal program.
N Perform ‘Spin Tes t’
n000,0000 First contact closure
n001,0013
n002,0027
n003,003A
.
.
.
n162,427A
n163,4607 Final contact closure
n163,4736 Data string whe n “Stop Spin” executed
d163,121.4 Final meter counts and time (in seconds)
A PVD200 initialization completed