YSI Data Scout Advanced User Manual
Page 73

YSI Incorporated
Data Scout Advanced
69
(#x)D0
'
(#x)XR+22
Wait PrvRspSec
(#x)
(#x)D0
(#x)XR+23
Wait PrvRspSec
(#x)
(#x)D0
(#x)L
'
(#x)XT+5
Wait PrvRspSec
(#x)
(#x)D0
'
LOOP2 2
'
(#x)XT+0
Wait PrvRspSec
(#x)
(#x)D0
'
AddTo x 1
LOOP1
Wait 0
When the Script (Command) file above is executed, it generates the following Log file. This Log file example was created when the
Execute Script window had all possible options enabled thus the file is quite long.
-- DSAdv 'Execute Script' Log File, for script: C:\YSI\DSAdv\Cmd-Log\SdiROTest.cmd
-- DSADV has made available the following 1 Transducer:
--- Xducer #1: VS2-012345 (Vintage Tank) Fmw.Ver=1.1 Hdw.Ver=1.0 Range=15 psi D.O.M=021225 CX=1
-- On SDI-12 Network: Com Port=1 Baud Rate=19200
-- Script started on: 07-23-2006 at 14:31:04 Using DSAdv Version: 1.4.8
Lin<0001>:
' Simple Test Script for SDI-12 Xducer #1
Cmd<0002>: Set n NumXdcrs
' Set Variable N to Constant 'Number-of-Xducers' (=1)
Cmd<0003>: Wait 0
' Relative timestamp (sec.) : 000.001644
Cmd<0004>: Set x 1
' Set Variable X to value 1
Cmd<0005>: DO LOOP1
' Begin Loop1 (1 in 1 times)
Lin<0006>: '
Cmd<0007>: (#x)
' Expanded Cmd: 0I (Read Xducer ID String)
Rsp<0007>: _0I!013-YSI---SV2---1.0-012345-1.1__
'
Rsp
Data(>!):
1=
2-n=
Lin<0008>: '
Cmd<0009>: (#x)XT+0
' Expanded Cmd: 0XT+0 (Add Add'l.Averaging Time)+(SR)
Rsp<0009>: _0XT+0!00011__0__
' Rsp Data(>!): 1=
Cmd<0010>: Wait PrvRspSec
' Waiting for 1 seconds
Rsp<0010>: Wait began at 14:31:05 and ended at 14:31:06
Cmd<0011>: (#x)
' Expanded Cmd: 0 (Read SR=Service Request)
Rsp<0011>: 0__
' Rsp Data(>!): 1=
Cmd<0012>: (#x)D0
' Expanded Cmd: 0D0 (Read Data)
Rsp<0012>: _0D0!0+1__
' Rsp Data(>!): 1=
Cmd<0013>: DO LOOP2
' Begin Loop2
Lin<0014>: '
Cmd<0015>: (#x)U OPEN
' Expanded Cmd: 0U OPEN (Unlock Xducer)