First Script
SECTION ReadProperty
TEST #1 ReadProperty AI1 present value
SEND (
DA = 192.168.10.74:47808
PDU = Confirmed-Request
Service = ReadProperty
Object = 0, AI, 1
Property = 1, present-value
)
EXPECT (
SA = 192.168.10.74:47808
PDU = ComplexAck
Service = ReadProperty
Object = 0, AI, 1
Property = 1, present-value
OpenTag 3
Real = -273.14999
CloseTag 3
)
Improved
;-------------------------------------------------------------------------------
; Read BACnet property datatypes to verify the decoder
;--------------------------------------------------------------------------------
;--------------------------------------------------------------------------------
SETUP
INCLUDE "config.vts"
; Specify the name of the device to be tested (as defined by VTS Names dialog)
IUT_ADDR = "IUT"
;--------------------------------------------------------------------------------
SECTION ReadProperty
TEST #1 ReadProperty AI1 present value
SEND (
DA = IUT_ADDR
PDU = Confirmed-Request
Service = ReadProperty
Object = 0, AI, 1
Property = 1, Present-Value
)
EXPECT (
SA = IUT_ADDR
PDU = ComplexAck
Service = ReadProperty
Object = 0, AI, 1
Property = 1, Present-Value
OpenTag 3
Real <= -273
CloseTag 3
)