Applies To:
  • CitectSCADA 5.01

Dynamic objects cannot be accessed and controlled by display Cicode functions. 

CIT has confirmed this to be a problem in Citect for Windows versions 5.0 to 5.01. This problem has been fixed in version 5.10. All animation types will respond accordingly to the following display Cicode functions:
  • DspAnFree
  • DspAnGetPos
  • DspAnInfo
  • DspAnInRgn
  • DspAnMove
  • DspAnMoveRel
  • DspAnNew
  • DspAnNewRel
  • DspDel
  • DspDirty
  • DspGetAnBottom
  • DspGetAnCur
  • DspGetAnExtent
  • DspGetAnFromPoint
  • DspGetAnHeight
  • DspGetAnLeft
  • DspGetAnRight
  • DspGetAnTop
  • DspGetAnWidth
  • DspGetSlider
  • DspSetSlider
  • DspGetTip
  • DspSetTip
  • DspStatus

Note that object defined Cicode expressions take precedence over Cicode function calls. For example if you configure an object with dynamic movement and also attempt to move the object via a call to DspAnMoveRel the dynamic object movement will override the Cicode function call.