⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 removelistelmt.vts

📁 BacNet ScriptsExamples(英文的)。用于数据采集。
💻 VTS
字号:
  ; Testing Support for Executing the BACnet RemoveListElmt Service
  ; Version 1.0
  ;
  ; This test script writes a whole array.
  ;

  ;--------------------------------------------------------------

SETUP BACnet RemoveListElmt Service Execution

  ;--------------------------------------------------------------
  ;
  ; Setting up the hardware parameters for the VTS computer
  ; and the IUT.
  ;

  ;
  ; the network parameter for the VTS computer
  ;
  NET_1 = 1, ETHERNET, 0
  --- The network which connects the VTS computer to the IUT.
  --- Adjust the parameters as needed to reflect the actual
  --- physical environment. The first value represents the 
  --- physical network number, the second value the physical 
  --- network type and the third value the physical port.

  NET_X = 5,ETHERNET
  --- A virtual network to simulate requests from a remote network.

  ;
  ; parameters for the implementation under test (IUT).

  ;
  IUT_MAC = 0040ae000f9c
  --- The physical Ethernet address of the IUT accessed
  --- from network 1.

  DEVICE_ID = 254
  --- The device object instance number for the IUT.
  

SECTION Testing the execution of the RemoveListElmt service

  TEST #1a
  --- Add an element to a non-list property

  DEPENDENCIES none

  REFERENCE Clause 15.7

  SEND (
    NETWORK = NET_1
    DESTINATION = IUT_MAC
    DER = TRUE
    PDU = Confirmed-Request
    Service = RemoveListElement
    Object = 0, Device, DEVICE_ID
    Property = 1, Object-Name
    OpenTag 3
      Unsigned = 1
    CloseTag 3
    )

  EXPECT (
    NETWORK = NET_1
    DER = FALSE
    PDU = Error
    ERROR-CHOICE = RemoveListElement
    OpenTag 0
      ENUMERATED = 5                	-- class = services
      ENUMERATED = 22			            -- code = property is not a list
    CloseTag 0
    UNSIGNED = 1, 0
    )

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -