beautypg.com

5. sdi-12 command codes – Campbell Scientific AVW200-series Vibrating Wire Interfaces User Manual

Page 60

background image

AVW200-series 2-Channel Vibrating Wire Spectrum Analyzer Modules

very next measurement will use the bbbb,eeee and vvvv values specified in the

extended command. The second and remaining measurements will revert back

to the settings specified via DevConfig.

An example of an extended command is: 0XVW450,5000,1! This command

will configure the next measurement with Begin Freq=450, End Freq = 5000

and 5Volt excitation. Following the extended command the “aM1!” command

will use the parameters set by the extended command.

TABLE 7-5 shows the specific SDI-12 Command Codes and their returned

values.

TABLE 7-5. SDI-12 Command Codes

SDI12 Measurement Command

Returned Values

aM!

(Measures both AVW200 Chan1 &

Chan2)

1) Chan1 Frequency

2) Chan1 Therm Resistance

3) Chan1 Signal Amplitude mV

RMS

4) Chan2 Freq

5) Chan2 Therm Resistance

6) Chan2 Signal Amplitude mV

RMS

aM1!

(Measures AVW200 Chan1)

1) Chan1 Freq

2) Chan1 Signal Amplitude mV

RMS

3) Chan1 Signal-to-Noise Ratio

4) Chan1 Noise Frequency

5) Chan1 Decay Ratio

6) Chan1 Therm Resistance

aM2!

(Measures AVW200 Chan2)

1) Chan2 Frequency

2) Chan2 Signal Amplitude mV

RMS

3) Chan2 Signal-to-Noise Ratio

4) Chan2 Noise Frequency

5) Chan2 Decay Ratio

6) Chan2 Therm Resistance

aV!

1) Battery Voltage

2) Trapcodes

3) WatchDog Counts

aXVWbbbb,eeee,v!

where:

bbbb = Begin Freq (100 < bbbb <

6.5K)

eeee = End Freq (100 < eeee < 6.5K)

v = Excite Voltage (1= 5v and 2 =

12v)

Returns "OK" if accepted

Returns "ERROR" if not accepted

52