DIAdem-Hilfe

Command: DACObjDestroy

  • Aktualisiert2024-09-12
  • 2 Minute(n) Lesezeit

Display all  Hide all

Command: DACObjDestroy

Cancels access to a DAC object without adopting a configuration.

Call DACObjDestroy(DacObjName)

Input Parameters

DacObjName Specifies the name of a DAC object.

Example

The following example opens the dialog box of the Input01 DAC block. If the user clicks OK to close the dialog box, the DACObjClose command finishes the block configuration. If the user clicks Cancel to close the dialog box, the DACObjDestroy command ends the access to the block without adopting the changes to the settings.

VBScriptPython

 

Call DacObjOpen("Raumklima")
  Call DacObjDlg("") 
  Call SUDDlgShow(BlDlg,ResourceDrv & BlDlg)
If DlgState="IDOk" Then 
  Call DacObjClose(BlActName)
Else 
  Call DacObjDestroy(BlActName) 
End If

Related Topics

Command: BlCopy | Command: BlDel | Command: BlObjNew | Command: BlPinCableInit | Command: BlPinDel | Command: BlPinNew | Command: BlPinSigCountSet | Command: BlPinSigNameGen | Command: BlReplace | Command: DACObjClose | Command: DACObjDlg | Command: DACObjOpen | Command: DACObjPosSet | Command: DACObjRename | Command: DACObjWhere