DIAdem

cancel
Showing results for 
Search instead for 
Did you mean: 

[Script/DAC] Get DAC block name

Hi,

Is there any way to get the name of a DAC block in script based on its number?

Background: I want to get the name of the system clock block that provides the system clock signal to another block.

To my knowledge there's only a variable that provides a block number of the system clock block (not its name).

 

Example: 

 

'open any bock that has a system clock signal connected to its system input
Call DACObjOpen("Speichern1")
    'get the number of the block that provides the clock signal to the previously opened block:
    ClockSignalBlockNumber = BlSysSourceBl(1,1)
    ClockSignalBlockName = ??? 'how can I get the name of the clock signal block ("Takt1") now based on its number?
Call DACObjClose("Speichern1")

 

christianp1_0-1721052928741.png

 

Best regards

Christian

0 Kudos
Message 1 of 1
(152 Views)